--engine capstoneREA vs Capstone & Keystone• AI Reverse Engineering Guide
Ultimate multi-architecture disassembly (Capstone) and assembler (Keystone) engine.
In AI-assisted reverse engineering with REA (rea-agents), Capstone & Keystone is bridged via --engine capstone 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 Capstone & Keystone with Autonomous AI Agents
Traditional reverse engineering in Capstone & Keystone requires manual CFG graph navigation, manual symbol naming, and isolated local scripts without LLM code intelligence.
AI coding agents (Claude Code, Cursor) invoke Capstone & Keystone headlessly via REA's Model Context Protocol (MCP), generating clean-room specifications and reconstructive code in seconds.
Multi-Platform Installation Recipes
pip install capstonebrew install capstonesudo apt install libcapstone-dev -yrea doctor --engine capstoneSupported Platforms & Targets
Tool Overview & Role
Capstone is the de-facto standard disassembly framework powering modern security tools, while Keystone compiles human-readable assembly instructions back into machine code. Together, they enable binary inspection, ROP gadget search, and real-time instruction patch verification.
REA Bridge Mechanism
Key Capabilities
CLI Usage Examples
Execute direct terminal analysis with --engine capstone:
rea disassemble ./shellcode.bin --arch x86_64 --syntax intel
keystone-asm -a arm64 "mov x0, #1; ret"