Scroll to navigation

RASM2(1) General Commands Manual RASM2(1)

NAMEΒΆ

rasm2 - radare2 assembler and disassembler tool This tool uses r_asm to assemble and disassemble files or hexpair strings. It supports a large list of architectures which can be listed using the -L flag. Set architecture plugin Set architecture bits Binary input/output (-l is mandatory for binary input) Select specific CPU (depends on -a arch) Output in C format Disassemble hexpair bytes. rasm2 -d 9090 Disassemble showing hexpair and opcode Use big endian (or swap endianness if used more than once) Read data from file instead of ARG. Specify input and/or output filters (att2intel, x86.pseudo, ...) Show usage help message. Input/Output length Ignore/skip N bytes from the beginning of the input buffer List supported asm plugins Offset of the opcode to assemble (default is 0) Select syntax output (intel, att) Describe opcode (whats op) Assemble opcode:
$ rasm2 -a x86 -b 32 'mov eax, 33' Disassemble opcode:
$ rasm2 -d 90 Written by pancake <pancake@nopcode.org> and nibble <nibble@develsec.org>.