NAME¶
radare2 —
Advanced commandline
hexadecimal editor
SYNOPSIS¶
radare2 |
[-a
arch] [-b
bits] [-B
blocksize]
[-c cmd]
[-e k=v]
[-i file]
[-p
project]
[-P patch]
[-s addr]
[-dDwntLqv]
file |
DESCRIPTION¶
radare2 is a commandline hexadecimal editor.
"r2" is the alias program name for radare2.
This manpage is not updated yet. Feel free to contribute.
The options are:
- -a
arch
- force asm.arch (x86, ppc, arm, mips, bf, java, ...)
- -b
bits
- force asm.bits (16, 32, 64)
- -B
bsize
- Set block size
- -c
cmd
- Execute the given command before giving prompt
- -d
- Start in debugger mode
- -D
dbg.backend
- Enable debug mode. Set cfg.debug=true
- -e
k=v
- Set configuration eval variable key=value. For example -e
scr.color=false
- -f
- Blocksize = file size
- -i
file
- Run script file
- -l
plugfile
- Load given plugin file
- -L
- List supported IO plugins.
- -n
- Do not load r_bin information and ~/.radare2rc
- -q
- Quiet mode (no prompt)
- -p
prj
- Set project file
- -P
file
- Apply rapatch file and quit
- -s
addr
- Start seeking at this address
- -t
- Get binary information using a thread
- -v
- Show version information and exits.
- -w
- Open in write mode
- -h
- Show help message
- -H
- Show files and environment help
SHELL¶
Type '?' for help.
VISUAL¶
To enter visual mode use the 'V' command. Then press '?' for help.
DEBUGGER¶
In r2 the debugger commands are implemented under the 'd' command. Type 'd?' for
help.
ENVIRONMENT¶
These values can be used from scripts launched from inside radare ('!' command)
FILE path to the current working file
SEE ALSO¶
rahash2(1),
rafind2(1),
rabin2(1),
radiff2(1),
ranal2(1),
rasm2(1),
rax2(1),
ragg2(1),
rarun2(1),
AUTHORS¶
pancake <pancake@nopcode.org>, nibble <nibble@develsec.org>