Debugging With Radare
Open and analyze program:
Adding breakpoints
Print function disassembly:
Add breakpoint with db <address>
and check the current breakpoints with db
:
Use dc
to run until the breakpoint:
Check registers
We can check the state of the registers using dr
:
References