How nabilrfg12/reverse-engineer-anything works
REA is a local reverse-engineering toolkit exposed through MCP and a CLI. An agent or engineer submits a target and investigation request; REA routes analysis to suitable application workflows and optional providers, then returns findings with evidence and limitations. The map preserves documented target families and shows sampled runtime wiring where available. Many domain workflows and provider integrations are represented by their exact tree paths, but their internal calls were not sampled, so no implementation-level connections are inferred for them.
Main entry points: AnalysisProvider.ts Provider contract · EvidenceLedger.ts Investigation evidence · JavaScriptApplicationService.ts App analysis · main.ts MCP server
Components 23
User entry points
- MCP server
src/main.ts - CLI commands
src/cli.ts
Analysis workflows
- App analysis
src/application/javascript/JavaScriptApplicationService.ts - Artifact inspection
src/artifacts/inventory/ArtifactInventory.ts - Binary session
src/application/binary/SessionProviderRouter.ts - .NET analysis
src/application/managed/ManagedReconstructionService.ts - Android analysis
src/application/android/AndroidAnalysisService.ts - Apple analysis
src/application/apple/AppleApplicationService.ts - Firmware analysis
src/application/firmware/FirmwareAnalysisService.ts - EVM analysis
src/application/evm/EvmInterfaceService.ts
Runtime observation
- Browser observation
src/application/BrowserObservationService.ts - Browser scenarios
src/application/BrowserScenarioCaptureService.ts - Network captures
src/application/WebNetworkCaptureService.ts
Analysis providers
- Ghidra adapter
src/ghidra/GhidraProviderClient.ts - Hopper adapter
src/hopper/HopperClient.ts - IDA session
src/ida/IdaSessionClient.ts - Jadx session
src/android/JadxSession.ts
Evidence and domain
- Investigation evidence
src/application/investigation/EvidenceLedger.ts - Reconstruction coverage
src/application/ReconstructionCoverageService.ts - Provider contract
src/application/AnalysisProvider.ts
Other components
- Agent / user
- Chrome-family browser
- Hopper / Ghidra / IDA
Connections 22
- Agent / user → MCP server: requests analysis
README.md - Agent / user → CLI commands: runs workflows
README.md - MCP server → Binary session: creates session
src/main.ts - MCP server → App analysis: serves MCP tools
- CLI commands → App analysis: runs workflows
README.md - CLI commands → Artifact inspection: analyzes artifacts
- Binary session → Provider contract: routes operations
src/application/binary/SessionProviderRouter.ts - Provider contract → Ghidra adapter: adapter capability
src/ghidra/GhidraProviderClient.ts - Provider contract → Hopper adapter: adapter capability
src/hopper/HopperClient.ts - Provider contract → IDA session: adapter capability
src/ida/IdaSessionClient.ts - Provider contract → Jadx session: adapter capability
src/android/JadxSession.ts - Hopper / Ghidra / IDA → Ghidra adapter: provides analysis
README.md - Hopper / Ghidra / IDA → Hopper adapter: provides analysis
README.md - Hopper / Ghidra / IDA → IDA session: provides analysis
README.md - Chrome-family browser → Browser observation: supplies observations
README.md - Chrome-family browser → Browser scenarios: captures scenarios
- Browser observation → Investigation evidence: records findings
- App analysis → Investigation evidence: returns evidence
README.md - Binary session → Investigation evidence: returns findings
README.md - Reconstruction coverage → Investigation evidence: evaluates coverage
- Network captures → Investigation evidence: includes source locations
README.md - Artifact inspection → App analysis: supports app inspection