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
{"tool":"get_context","arguments":{"context_type":"all","session_id":"chal-a"}}
{"tool":"get_context","arguments":{"context_type":"backtrace","session_id":"chal-a"}}

get_memory

get_memory accepts a start address expression, byte count, and output format.
{"tool":"get_memory","arguments":{"address":"$rsp","size":64,"format":"hex","session_id":"chal-a"}}

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