Tag
#gdb
6pieces
- 01 ·
Getting started with GDB
Install GDB, build an example, and get a real breakpoint on the board in about five minutes.
- 02 ·
Basic config
The .gdbinit that makes stock GDB worth opening, the TUI, and why attaching to a running process fails on a hardened box.
- 03 ·
How debugging actually works
A breakpoint is one byte of your program overwritten with 0xcc. Here is the proof, and why the debugger hides it from you.
- 04 ·
Attaching to something already running
Reach into a process that is already running, read its state, change it, and let it carry on.
- 05 ·
Teaching GDB new commands
Turn the commands you keep retyping into commands of your own, first in GDB's own scripting and then in Python.
- 06 ·
Advanced config: pwndbg
pwn GDB's interface with one that shows you registers, disassembly, source and stack on every stop.