Radare2

From miki
Jump to navigation Jump to search

Radare2 is a complete framework for reverse-engineering and analyzing binaries; composed of a set of small utilities that can be used together or independently from the command line.

Links

Install

We install using r2env:

pip install -U r2env
r2env init
r2env add radare2@git

To enable:

r2env shell
# ...
exit

Usage

r2 ./a.out
aaaaa         # Analyse
s sym.main
s sym.<TAB>   # to get list of symbols
v
q             # quit
V             # Enter visual mode
p/P           # Rotate
V             # See graph
hjkl          # navigate
+-            # Resize blocks
q             # quit
VV            # visual -> graph directly