1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-29 22:35:29 +02:00
tldr/pages/common/radare2.md
Juri Dispan 0f0c9da99e
*: replace dead more information links (#11542)
* *: replace dead more informtion links

* dolt

* Apply suggestions from code review

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-19 22:07:13 +01:00

28 lines
606 B
Markdown

# radare2
> A set of reverse engineering tools.
> More information: <https://www.radare.org/r/docs.html>.
- 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}}`