Files
tldr/pages.zh/common/radare2.md

28 lines
572 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# radare2
> 一套反向工程工具。
> 更多信息:<https://www.radare.org/r/docs.html>。
- 以写模式打开文件,而不解析文件格式头:
`radare2 -nw {{path/to/binary}}`
- 调试程序:
`radare2 -d {{path/to/binary}}`
- 在进入交互式CLI之前运行脚本
`radare2 -i {{path/to/script.r2}} {{path/to/binary}}`
- 在交互式CLI中显示任何命令的帮助文本
`> {{radare2_command}}?`
- 从交互式CLI运行shell命令
`> !{{shell_command}}`
- 将当前块的原始字节转储到文件:
`> pr > {{path/to/file.bin}}`