This is the ultimate package of reverse engineering tools. It can:
- Be a Disassembler
- Be a Debugger
- Be a Emulator
- Perform strings searches
- Parse ELF and PE headers
- Run Python scripts within it It is not a stable product unlike Ghidra, IDA or Binary Ninja. The GUI front-end is Cutter
Install
sudo pacman -S radare2
Quickstart
radare2 -AA ./file
Then run i? for help
q to exit out of menus
CTRL+C to exit out of prompts
Analyze
aaa
Recon
izz ~..view strings piped into lessafl- view all functionspxr @ rsp- print the stack from RSP → RBP
Debugger
db main- put break at maindb- view all breakpointss mainstep to main functione stack.size = 128- changing # bytes stack showsF7- step intoF8- step out
Views
v- disassembler viewV- hex editor viewV>p>p- debugger view with stack