Move printing functions to init script
This commit is contained in:
14
.debugusrc1.js
Normal file
14
.debugusrc1.js
Normal file
@@ -0,0 +1,14 @@
|
||||
// User script
|
||||
|
||||
log_inf("Loading user init script for program ./test");
|
||||
log_err("Test error message");
|
||||
|
||||
var main_offset = "0x0000000000001135"; // objdump -d ./test
|
||||
|
||||
// Testing...
|
||||
print_file();
|
||||
print_pid();
|
||||
print_program_load_offset();
|
||||
mk_brk_addr(main_offset);
|
||||
list_brks();
|
||||
cont();
|
||||
Reference in New Issue
Block a user