2011-10-12 01:24:19 +00:00
|
|
|
.Dd Oct 11, 2011
|
2010-03-12 17:46:11 +00:00
|
|
|
.Dt RADARE2 1
|
2009-04-15 11:09:36 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm radare2
|
|
|
|
.Nd Advanced commandline hexadecimal editor
|
|
|
|
.Sh SYNOPSIS
|
2010-03-12 17:46:11 +00:00
|
|
|
.Nm radare2
|
2011-11-15 22:40:28 +00:00
|
|
|
.Op Fl a Ar arch
|
|
|
|
.Op Fl b Ar bits
|
|
|
|
.Op Fl B Ar blocksize
|
2011-10-07 01:10:44 +00:00
|
|
|
.Op Fl c Ar cmd
|
2011-10-12 01:24:19 +00:00
|
|
|
.Op Fl e Ar k=v
|
2011-12-02 02:43:08 +00:00
|
|
|
.Op Fl i Ar file
|
2011-10-12 01:24:19 +00:00
|
|
|
.Op Fl p Ar project
|
|
|
|
.Op Fl P Ar patch
|
|
|
|
.Op Fl s Ar addr
|
2011-12-02 02:43:08 +00:00
|
|
|
.Op Fl dDwntLqv
|
2010-03-12 17:46:11 +00:00
|
|
|
.Ar file
|
2009-04-15 11:09:36 +00:00
|
|
|
.Sh DESCRIPTION
|
2010-03-12 17:46:11 +00:00
|
|
|
radare2 is a commandline hexadecimal editor.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Pp
|
2010-03-12 17:46:11 +00:00
|
|
|
"r2" is the alias program name for radare2.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Pp
|
2010-03-12 17:46:11 +00:00
|
|
|
This manpage is not updated yet. Feel free to contribute.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Pp
|
2010-03-12 17:46:11 +00:00
|
|
|
The options are:
|
2009-04-15 11:09:36 +00:00
|
|
|
.Bl -tag -width Fl
|
2011-11-15 22:40:28 +00:00
|
|
|
.It Fl a Ar arch
|
|
|
|
force asm.arch (x86, ppc, arm, mips, bf, java, ...)
|
|
|
|
.It Fl b Ar bits
|
|
|
|
force asm.bits (16, 32, 64)
|
|
|
|
.It Fl B Ar bsize
|
2010-03-12 17:46:11 +00:00
|
|
|
Set block size
|
2011-10-07 01:10:44 +00:00
|
|
|
.It Fl c Ar cmd
|
|
|
|
Execute the given command before giving prompt
|
2010-03-12 17:46:11 +00:00
|
|
|
.It Fl d
|
2011-10-12 01:24:19 +00:00
|
|
|
Start in debugger mode
|
|
|
|
.It Fl D Ar dbg.backend
|
2011-10-07 01:10:44 +00:00
|
|
|
Enable debug mode. Set cfg.debug=true
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl e Ar k=v
|
|
|
|
Set configuration eval variable key=value. For example \-e scr.color=false
|
|
|
|
.It Fl f
|
|
|
|
Blocksize = file size
|
|
|
|
.It Fl i Ar file
|
|
|
|
Run script file
|
2011-10-12 01:24:19 +00:00
|
|
|
.It Fl l Ar plugfile
|
|
|
|
Load given plugin file
|
2010-03-12 17:46:11 +00:00
|
|
|
.It Fl L
|
2011-10-12 01:24:19 +00:00
|
|
|
List supported IO plugins.
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl n
|
|
|
|
Do not load r_bin information and ~/.radare2rc
|
|
|
|
.It Fl q
|
|
|
|
Quiet mode (no prompt)
|
|
|
|
.It Fl p Ar prj
|
|
|
|
Set project file
|
|
|
|
.It Fl P Ar file
|
|
|
|
Apply rapatch file and quit
|
|
|
|
.It Fl s Ar addr
|
|
|
|
Start seeking at this address
|
|
|
|
.It Fl t
|
|
|
|
Get binary information using a thread
|
|
|
|
.It Fl v
|
2009-04-15 11:09:36 +00:00
|
|
|
Show version information and exits.
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl w
|
|
|
|
Open in write mode
|
2009-04-15 11:09:36 +00:00
|
|
|
.It Fl h
|
|
|
|
Show help message
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl H
|
|
|
|
Show files and environment help
|
2009-04-15 11:09:36 +00:00
|
|
|
.El
|
|
|
|
.Sh SHELL
|
2010-03-12 17:46:11 +00:00
|
|
|
Type '?' for help.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Pp
|
|
|
|
.Sh VISUAL
|
2010-03-12 17:46:11 +00:00
|
|
|
To enter visual mode use the 'V' command. Then press '?' for help.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Sh DEBUGGER
|
2010-03-12 17:46:11 +00:00
|
|
|
In r2 the debugger commands are implemented under the 'd' command. Type 'd?' for help.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Sh ENVIRONMENT
|
2010-03-12 17:46:11 +00:00
|
|
|
These values can be used from scripts launched from inside radare ('!' command)
|
2009-04-15 11:09:36 +00:00
|
|
|
.Ar FILE
|
|
|
|
path to the current working file
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Pp
|
|
|
|
.Xr rahash2(1) ,
|
2010-06-18 15:52:30 +00:00
|
|
|
.Xr rafind2(1) ,
|
2009-04-15 11:09:36 +00:00
|
|
|
.Xr rabin2(1) ,
|
|
|
|
.Xr radiff2(1) ,
|
2010-10-27 20:17:55 +00:00
|
|
|
.Xr ranal2(1) ,
|
2009-04-15 11:09:36 +00:00
|
|
|
.Xr rasm2(1) ,
|
|
|
|
.Xr rax2(1) ,
|
2011-10-12 01:24:19 +00:00
|
|
|
.Xr ragg2(1) ,
|
|
|
|
.Xr rarun2(1) ,
|
2009-04-15 11:09:36 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
.Pp
|
2010-10-29 11:58:19 +00:00
|
|
|
pancake <pancake@nopcode.org>,
|
|
|
|
nibble <nibble@develsec.org>
|