1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 12:45:59 +02:00

radare2: add page (#3433)

This commit is contained in:
Patrick Kuehn 2019-10-23 02:20:35 +02:00 committed by Starbeamrainbowlabs
parent 6cce30d20a
commit ec7a7bb251

28
pages/common/radare2.md Normal file
View file

@ -0,0 +1,28 @@
# radare2
> A set of reverse engineering tools.
> More information: <https://radare.gitbooks.io/radare2book/>.
- Open a file in write mode without parsing the file format headers:
`radare2 -nw {{path/to/binary}}`
- Debug a program:
`radare2 -d {{path/to/binary}}`
- Run a script before entering the interactive CLI:
`radare2 -i {{path/to/script.r2}} {{path/to/binary}}`
- Show help text for any command in the interactive CLI:
`> {{radare2_command}}?`
- Run a shell command from the interactive CLI:
`> !{{shell_command}}`
- Dump raw bytes of current block to a file:
`> pr > {{path/to/file.bin}}`