GNU Debugger (GDB)

From mylearnings
Revision as of 14:39, 7 July 2025 by Pristal (talk | contribs) (Created page with "* Find start address and end address of a function <pre> info line <Function Name> </pre> * To view the instruction at a specific address. <pre> x/i <Address> </pre> * Print string pointed by a register. <pre> x/s $rdi </pre> * Disassemble a specific range of address. <pre> disass <start address> <end address> </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • Find start address and end address of a function
info line <Function Name>
  • To view the instruction at a specific address.
x/i <Address>
  • Print string pointed by a register.
x/s $rdi
  • Disassemble a specific range of address.
disass <start address> <end address>