dbg

  • dbg.aftersyscall Stop execution before the syscall is executed (see dcs) Default is true
  • dbg.args Set the args of the program to debug
  • dbg.backend Select the debugger backend Default is native
  • dbg.bep Break on entrypoint Default is loader
  • dbg.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 8
  • dbg.bpsysign Ignore system breakpoints Default is false
  • dbg.btalgo Select backtrace algorithm Default is fuzzy
    • Set dbg.btalgo to trace to trace calls for backtrace

  • dbg.btdepth Depth of backtrace Default is 128
  • dbg.clone Stop execution if new thread is created Default is false
  • dbg.consbreak SIGINT handle for attached processes Default is false
  • dbg.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 false
  • dbg.exitkills Kill process on exit Default is true
  • dbg.follow Follow program counter when pc > core->offset + dbg.follow Default is 32
  • dbg.follow.child Continue tracing the child process on fork. By default the parent process is traced Default is false
  • dbg.forks Stop execution if fork() is done (see dbg.threads) Default is false
  • dbg.funcarg Display arguments to function call in visual mode Default is false source
    • To use dbg.funcarg, step into a call which in Vpp visual mode. asciinema

  • dbg.gdb.page_size Page size on gdb target (useful for QEMU) Default is 0x00001000
  • dbg.gdb.retries Number of retries before gdb packet read times out Default is 10
  • dbg.hwbp Set HW or SW breakpoints Default is 0
  • dbg.libs If set stop when loading matching libname
  • dbg.malloc Choose malloc structure parser Default is jemalloc
  • dbg.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 false
  • dbg.swstep Force use of software steps (code analysis+breakpoint) Default is false
  • dbg.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 false
  • dbg.trace.libs Trace library code too Default is true
  • dbg.trace.tag Trace tag Default is 0
  • dbg.unlibs If set stop when unloading matching libname