Radare2: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
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 ==
== Links ==
* https://github.com/radareorg/radare2
* https://github.com/radareorg/radare2

Latest revision as of 16:52, 21 June 2022

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