How mukeshcyarlagadda/rea works
REA is a local reverse-engineering product exposed through MCP and CLI workflows. The documented user journey is an agent or terminal request, target inspection through analysis tools, and findings returned with evidence and limitations. The graph preserves major analysis families visible in the README and source tree. Source excerpts are limited, so subsystem links not demonstrated by the README or SOURCE INDEX are omitted or marked unverified.
Main entry points: ReverseEngineeringService.ts Reverse analysis · main.ts MCP server · cli.ts CLI commands · registerReverseEngineeringTools.ts MCP tool registration
Components 20
Product entry
- MCP server
src/main.ts - CLI commands
src/cli.ts - MCP tool registration
src/server/registerReverseEngineeringTools.ts
Analysis workflow
- Reverse analysis
src/application/reverse/ReverseEngineeringService.ts - Evidence results
src/domain/evidence.ts - JavaScript analysis
src/javascript/analysis/JavaScriptAnalysisWorker.ts - Browser observation
src/application/BrowserObservationService.ts - Browser scenarios
src/application/BrowserScenarioCaptureService.ts
Analysis engines
- Ghidra
src/ghidra/GhidraClient.ts - Hopper
src/hopper/HopperClient.ts - IDA
src/ida/IdaSessionClient.ts - Cutter
src/cutter/CutterBridgeClient.ts - Debug sessions
src/gdb/GdbSessionManager.ts - Rizin sessions
src/rizin/RizinDebugSessionManager.ts
Specialized analysis
- Android analysis
src/android/JadxAnalysis.ts - SQLite inspection
src/sqlite/SqliteDatabaseInspection.ts - EVM analysis
src/evm/EvmoleInterfaceWorker.ts - Runtime instrumentation
src/frida/FridaInstrumentationManager.ts
Other components
- Agent
- Terminal user
Connections 19
- Agent → MCP server: requests analysis
README.md - Terminal user → CLI commands: runs workflows
README.md - MCP server → MCP tool registration: registers tools
- MCP tool registration → Reverse analysis: dispatches analysis
src/server/registerReverseEngineeringTools.ts - CLI commands → Reverse analysis: invokes workflows
- Reverse analysis → Evidence results: returns findings
src/application/reverse/ReverseEngineeringService.ts - Reverse analysis → Ghidra: uses provider
- Reverse analysis → Hopper: uses provider
- Reverse analysis → IDA: uses provider
- Reverse analysis → Cutter: uses provider
- Reverse analysis → JavaScript analysis: analyzes apps
- Reverse analysis → Browser observation: observes websites
- Reverse analysis → Browser scenarios: captures scenarios
- Reverse analysis → Debug sessions: supports debugging
- Reverse analysis → Rizin sessions: supports debugging
- Reverse analysis → Android analysis: inspects Android
- Reverse analysis → SQLite inspection: inspects databases
- Reverse analysis → EVM analysis: analyzes EVM
- Reverse analysis → Runtime instrumentation: instruments runtime