Rarun2
Rarun2 is a tool allowing to setup a specified execution environment - redefine stdin/stdout, pipes, change the environment variables and other settings useful to craft the boundary conditions you need to run a binary for debugging.
It takes the text file in key=value format to specify the execution environment. Rarun2 can be used as both separate tool or as a part of radare2. To load the rarun2 profile in radare2 you need to use either -r
to load the profile from file or -R
to specify the directive from string.
The format of the profile is very simple. Note the most important keys - program
and arg*
One of the most common usage cases - redirect the output of debugged program in radare2. For this you need to use stdio
, stdout
, stdin
, input
, and a couple similar keys.
Here is the basic profile example:
最后更新于
这有帮助吗?