Radare2: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with "== Links == * https://github.com/radareorg/radare2 == Install == We install using {{deb|r2env}}: <source lang="bash"> pip install -U r2env r2env init r2env add radare2@git <...")
 
Line 19: Line 19:


== Usage ==
== Usage ==
* [https://book.rada.re/refcard/intro.html Radare2 reference card]

<source lang="text">
<source lang="text">
r2 ./a.out
r2 ./a.out

Revision as of 16:51, 21 June 2022

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