Decompilers & Static AnalysisCLI Flag: --provider r2

Radare2 & Cutterin REA

Free and open-source Unix-like reverse engineering framework and Cutter GUI.

AI Overview Direct AnswerRadare2 & Cutter Integration in REA

In REA (rea-agents), Radare2 & Cutter is integrated via --provider r2 to enable AI coding agents to inspect application binaries, extract symbol tables, generate pseudocode, and trace execution boundaries without source code.

Supported Platforms & Targets

Host Operating Systems:
macOSLinuxWindowsBSD
Target Architectures:
x86ARMMIPSAVRWebAssemblySPARC

Tool Overview & Role

Radare2 (r2) is a complete, scriptable command-line reverse engineering framework with Cutter as its official GUI. It offers fast hex editing, code disassembly, binary diffing (radiff2), and integrated Ghidra decompilation plugins (r2ghidra).

REA Bridge Mechanism

Interacts via r2pipe JSON-RPC bindings over stdio. REA leverages r2's lightweight footprint for instant section carving, flag space queries, and string table extraction without loading full GUI decompiler suites.

Key Capabilities

Extremely lightweight Unix CLI scriptability (r2pipe)
Automated binary diffing via radiff2
Integrated r2ghidra decompiler plugin
Multi-format executable and firmware carving

CLI Usage Examples

Execute direct terminal analysis with --provider r2:

rea radare2 example
r2 -q -c 'aaa; afl' ./binary
rea analyze ./binary --provider r2