UNIX-like reverse engineering framework and command-line toolset
open sourceLGPL-3.0-onlyself-hostablefree
radare2 (r2) is a free reverse engineering framework of libraries, command-line tools and plugins. It started as a forensics hex editor and now disassembles, analyzes, emulates, debugs (locally or through remote gdb and WinDbg servers) and patches binaries for a very wide range of architectures and operating systems, and can view kernel memory. It is scripted with its embedded JavaScript interpreter or through r2pipe from any language, extended with packages from its r2pm package manager (decompilers such as r2ghidra and r2dec, Frida integration, AI plugins), and has an official Qt GUI, iaito. Mostly LGPL-3.0, with plugins under their own licences.
Ways to install
Package managers
Problems it solves
- disassemble and analyze a binary entirely from the terminal
- debug a program locally or attach to a remote gdb server while reverse engineering it
- patch bytes in an executable to change its behavior
- look inside binaries for odd architectures like AVR, MIPS or Game Boy
- script binary analysis from Python or JavaScript
- emulate code from a binary to see what it does without running it
- inspect an Android or iOS app's native code
- use a free forensics-minded hex editor on files and local hard drives
Features
- disassembly and analysis
- local and remote debugging (gdb, WinDbg)
- emulation (ESIL)
- binary patching
- hex editor
- embedded JavaScript scripting
- r2pipe for scripting from any language
- r2pm package manager for plugins
- official Qt GUI (iaito)
- decompiler plugins such as r2ghidra and r2dec
View 1 more
- dozens of architectures
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what radare2 does.
- IDA Pro A powerful disassembler, decompiler and debugger
- Binary Ninja Interactive decompiler, disassembler, debugger and binary analysis platform
- Ghidra A software reverse engineering (SRE) framework
- ImHex A hex editor for reverse engineers, programmers and people who value their retinas when working at 3 AM
- Frida A world-class dynamic instrumentation toolkit
