--provider r2REA vs Radare2 & Cutter• AI Reverse Engineering Guide
Free and open-source Unix-like reverse engineering framework and Cutter GUI.
In AI-assisted reverse engineering with REA (rea-agents), Radare2 & Cutter is bridged via --provider r2 to allow Claude Code, Cursor, and Windsurf to extract symbol graphs, trace control flow, and decompile binaries headlessly via Model Context Protocol.
How REA Enhances Radare2 & Cutter with Autonomous AI Agents
Traditional reverse engineering in Radare2 & Cutter requires manual CFG graph navigation, manual symbol naming, and isolated local scripts without LLM code intelligence.
AI coding agents (Claude Code, Cursor) invoke Radare2 & Cutter headlessly via REA's Model Context Protocol (MCP), generating clean-room specifications and reconstructive code in seconds.
Multi-Platform Installation Recipes
brew install radare2sudo apt install radare2 -ywinget install radareorg.radare2rea doctor --provider r2Supported Platforms & Targets
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
Key Capabilities
CLI Usage Examples
Execute direct terminal analysis with --provider r2:
r2 -q -c 'aaa; afl' ./binary
rea analyze ./binary --provider r2