LinuxCommandLibrary

r2

TLDR

Open binary for analysis

$ r2 [binary]
copy
Open in write mode
$ r2 -w [binary]
copy
Open with analysis
$ r2 -A [binary]
copy
Debug mode
$ r2 -d [binary]
copy
Open remote file
$ r2 [gdb://host:port]
copy

SYNOPSIS

r2 [options] [file]

DESCRIPTION

r2 is radare2 reverse engineering framework. Binary analysis tool.
The tool disassembles and analyzes binaries. Advanced reverse engineering.
r2 analyzes binaries.

PARAMETERS

FILE

Binary file.
-A
Run analysis.
-w
Write mode.
-d
Debug mode.
-a ARCH
Architecture.
-b BITS
Bits (32/64).
-c CMD
Run command.

CAVEATS

Steep learning curve. Powerful but complex.

HISTORY

radare2 was created as a reverse engineering framework.

SEE ALSO

gdb(1), objdump(1), ida(1)

Copied to clipboard