Skip to main content
These tools read debugger state without changing the inferior’s execution.

get_context

get_context returns either a broad quick snapshot or one focused view. Supported context_type values:
  • all
  • regs
  • stack
  • disasm
  • code
  • backtrace

get_memory

get_memory accepts a start address expression, byte count, and output format.

Address and format notes

  • use expressions like $rsp, $rip, or 0xdeadbeef
  • use format: "hex" for raw bytes
  • use format: "string" for x/s-style string output
  • use a named session so repeated reads stay attached to the same debugger state