--solver miasmREA vs Quarkslab Miasm• AI Reverse Engineering Guide
Quarkslab's Python reverse engineering framework for symbolic execution, JIT emulation, and CFG deobfuscation.
In AI-assisted reverse engineering with REA (rea-agents), Quarkslab Miasm is bridged via --solver miasm 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 Quarkslab Miasm with Autonomous AI Agents
Traditional reverse engineering in Quarkslab Miasm requires manual CFG graph navigation, manual symbol naming, and isolated local scripts without LLM code intelligence.
AI coding agents (Claude Code, Cursor) invoke Quarkslab Miasm headlessly via REA's Model Context Protocol (MCP), generating clean-room specifications and reconstructive code in seconds.
Multi-Platform Installation Recipes
pip install git+https://github.com/cea-sec/miasm.gitrea doctor --solver miasmSupported Platforms & Targets
Tool Overview & Role
Miasm is an open-source reverse engineering framework created by Fabrice DESCLAUX and Quarkslab. It lifts machine instructions into its own intermediate representation (Miasm IR), constructs clean Control Flow Graphs (CFGs), performs dynamic JIT compilation (GCC/LLVM), and executes symbolic simplification to defeat opaque predicates and control flow flattening.
REA Bridge Mechanism
Key Capabilities
CLI Usage Examples
Execute direct terminal analysis with --solver miasm:
python3 -m miasm.analysis.cfa ./obfuscated.bin
rea deobfuscate ./flattened.bin --engine miasm