0x332 Debugger

gdb

  • i r: print variables
  • x/(number) (memory or register): print data around memory

lldb

Main Reference is here

frame instructions

  • bt: print stack frames
  • fr v (-L): print variables in a frame (with its location)
  • fr s frame_number: switch to different frames

memory instructions

  • mem read (memory or register)+(offset): print data around memory
  • reference

evaluation

  • eval (expression)