dbg
dbg.aftersyscall
Stop execution before the syscall is executed (see dcs) Default is truedbg.args
Set the args of the program to debugdbg.backend
Select the debugger backend Default is nativedbg.bep
Break on entrypoint Default is loaderdbg.bpinmaps
Force breakpoints to be inside a valid map Default is true-
dbg.bpinmaps
can be used to place breakpoints / see unmapped memory
-
dbg.bpsize
Size of software breakpoints Default is 8dbg.bpsysign
Ignore system breakpoints Default is falsedbg.btalgo
Select backtrace algorithm Default is fuzzy-
Set
dbg.btalgo
totrace
to trace calls for backtrace
-
dbg.btdepth
Depth of backtrace Default is 128dbg.clone
Stop execution if new thread is created Default is falsedbg.consbreak
SIGINT handle for attached processes Default is falsedbg.exe.path
Path to binary being debugged-
dbg.exe.path
Helpful for when debugging a remote binary. May help loading symbols properly. Need to specify the base address with-B
while loading with r2.
-
dbg.execs
Stop execution if new thread is created Default is falsedbg.exitkills
Kill process on exit Default is truedbg.follow
Follow program counter when pc > core->offset + dbg.follow Default is 32dbg.follow.child
Continue tracing the child process on fork. By default the parent process is traced Default is falsedbg.forks
Stop execution if fork() is done (see dbg.threads) Default is falsedbg.funcarg
Display arguments to function call in visual mode Default is false source-
To use
dbg.funcarg
, step into a call which inVpp
visual mode. asciinema
-
dbg.gdb.page_size
Page size on gdb target (useful for QEMU) Default is 0x00001000dbg.gdb.retries
Number of retries before gdb packet read times out Default is 10dbg.hwbp
Set HW or SW breakpoints Default is 0dbg.libs
If set stop when loading matching libnamedbg.malloc
Choose malloc structure parser Default is jemallocdbg.profile
Path to RRunProfile file-
🚀 Can use dgb.profile to pass multiple args to a debugged binary. asciinema
-
dbg.slow
Show stack and regs in visual mode in a slow but verbose mode Default is false-
Set
e dbg.slow=1
to get a more PEDA like visual debugging.Vpp
-
dbg.status
Set cmd.prompt to '.dr' or '.dr;drd;sr PC;pi 1;s-' Default is falsedbg.swstep
Force use of software steps (code analysis+breakpoint) Default is falsedbg.threads
Stop all threads when debugger breaks (see dbg.forks) Default is false- 🚀
dbg.trace
Trace program execution (see asm.trace) Default is false asciinema dbg.trace.inrange
While tracing, avoid following calls outside specified range Default is falsedbg.trace.libs
Trace library code too Default is truedbg.trace.tag
Trace tag Default is 0dbg.unlibs
If set stop when unloading matching libname
dbg.bpinmaps dbg.aftersyscall dbg.args dbg.backend dbg.bep dbg.bpinmaps dbg.bpsize dbg.bpsysign dbg.btalgo dbg.btdepth dbg.clone dbg.consbreak dbg.exe.path dbg.execs dbg.exitkills dbg.follow dbg.follow.child dbg.forks dbg.gdb.page_size dbg.gdb.retries dbg.hwbp dbg.libs dbg.malloc dbg.profile dbg.slow dbg.status dbg.swstep dbg.threads dbg.trace dbg.trace.inrange dbg.trace.libs dbg.trace.tag dbg.unlibs