Implement init rc script, similar to .gdbinit
This commit is contained in:
13
.debugusrc.js
Normal file
13
.debugusrc.js
Normal file
@@ -0,0 +1,13 @@
|
||||
log_inf("Loading init script for program ./test");
|
||||
log_err("Test error message");
|
||||
|
||||
var main_offset = "0x0000000000001135"; // objdump -d ./test
|
||||
|
||||
// Testing...
|
||||
print_file();
|
||||
print_dbg_pid();
|
||||
print_program_load_offset();
|
||||
mk_brk_addr(main_offset);
|
||||
list_brks();
|
||||
cont();
|
||||
|
||||
Reference in New Issue
Block a user