2010-03-12 17:46:11 +00:00
|
|
|
.Dd Mar 11, 2010
|
|
|
|
.Dt RASM2 1
|
2009-04-15 11:09:36 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2010-03-12 17:46:11 +00:00
|
|
|
.Nm rasm2
|
|
|
|
.Nd radare2 patch assembler and disassembler
|
2009-04-15 11:09:36 +00:00
|
|
|
.Sh SYNOPSIS
|
2010-03-12 17:46:11 +00:00
|
|
|
.Nm rasm2
|
2011-12-02 02:43:08 +00:00
|
|
|
.Op Fl dDfBCLev
|
|
|
|
.Op Fl F Ar in:out
|
|
|
|
.Op Fl o Ar offset
|
|
|
|
.Op Fl a Ar arch
|
|
|
|
.Op Fl b Ar bits
|
|
|
|
.Op Fl s Ar syntax
|
|
|
|
.Op Fl l Ar int
|
2010-03-12 17:46:11 +00:00
|
|
|
.Op ARG
|
2009-04-15 11:09:36 +00:00
|
|
|
.Sh DESCRIPTION
|
2010-03-12 17:46:11 +00:00
|
|
|
TODO: This manpage is incomplete.
|
2009-04-15 11:09:36 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -width Fl
|
2010-03-12 17:46:11 +00:00
|
|
|
.It Fl d
|
2011-12-02 02:43:08 +00:00
|
|
|
Disassemble hexpair bytes. rasm2 \-d 9090
|
|
|
|
.It Fl D
|
|
|
|
Disassemble showing hexpair and opcode
|
2010-03-12 17:46:11 +00:00
|
|
|
.It Fl f
|
|
|
|
Read data from file instead of ARG.
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl F Ar in:out
|
|
|
|
pecify input and/or output filters (att2intel, x86.pseudo, ...)
|
2010-03-12 17:46:11 +00:00
|
|
|
.It Fl o Ar offset
|
|
|
|
Offset of the opcode to assemble
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl a Ar arch
|
|
|
|
Set architecture plugin
|
|
|
|
.It Fl b Ar bits
|
|
|
|
Set architecture bits
|
|
|
|
.It Fl s Ar syntax
|
|
|
|
Select syntax output (intel, att)
|
|
|
|
.It Fl B
|
|
|
|
Binary input/output (-l is mandatory for binary input)
|
|
|
|
.It Fl l Ar int
|
|
|
|
Input/Output length
|
|
|
|
.It Fl C
|
|
|
|
Output in C format
|
|
|
|
.It Fl L
|
|
|
|
List supported asm plugins
|
2009-04-15 11:09:36 +00:00
|
|
|
.It Fl e
|
|
|
|
Use big endian
|
|
|
|
.It Fl h
|
2010-03-15 16:15:48 +00:00
|
|
|
.El
|
2009-04-15 11:09:36 +00:00
|
|
|
Show usage help message.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Pp
|
2010-03-12 17:46:11 +00:00
|
|
|
.Xr radare2(1) ,
|
2010-06-18 15:52:30 +00:00
|
|
|
.Xr rafind2(1) ,
|
2010-03-12 17:46:11 +00:00
|
|
|
.Xr rahash2(1) ,
|
|
|
|
.Xr rabin2(1) ,
|
2010-10-27 20:17:55 +00:00
|
|
|
.Xr ranal2(1) ,
|
2010-03-12 17:46:11 +00:00
|
|
|
.Xr radiff2(1) ,
|
2011-10-12 01:24:19 +00:00
|
|
|
.Xr ragg2(1) ,
|
|
|
|
.Xr rarun2(1) ,
|
2010-03-12 17:46:11 +00:00
|
|
|
.Xr rax2(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>
|