RADARE2
https://github.com/radareorg/radare2
Launch
r2 myFile
Open myFile in Radare2.
Basis
aaa
Analyze and autoname functions.afl
Print all functions autodetected.
pdf @main
Print disassembly of main.
Print disassembly of the current function.
s myFunction
Change location.
Memory Content
px @rbp-0xc
Print content of the variable at rbp-0xc.
dr
Print registers.dr rip=address
Set the instruction that we want to execute next.
Move in Program Execution
ood
Run (& re-run) the program.
dc
Run the program until it hits the breakpoint.ds
Step to the next instruction.
Breakpoint
db address
Place a breakpoint.
Visual Mode
V!
Enter fancy mode.VV
Enter visual mode (with blocks).P
Change display mode.
TAB
Change selected box.
:dc
Run program.S
Step instructions.SHIFT + S
Step further.
