How harsh8-beep/reverse_enginnering_anything works
REA is a local reverse-engineering toolkit exposed through MCP and a CLI. Its principal workflow is an agent or terminal user requesting an investigation; REA routes the request to analysis capabilities and returns findings with evidence and limitations. The README documents analysis across native binaries, JavaScript/Electron apps, .NET assemblies, and websites. The graph combines those documented capabilities with source-index-supported modules; unsampled provider and subsystem wiring is intentionally not inferred.
Main entry points: ReverseEngineeringService.ts Reverse analysis · evidence.ts Evidence records · main.ts MCP server · reverseEngineeringCommands.ts CLI commands
Components 17
User entrypoints
- MCP server
src/main.ts - CLI commands
src/cli/reverseEngineeringCommands.ts - Tool registration
src/server/registerReverseEngineeringTools.ts
Analysis workflow
- Reverse analysis
src/application/reverse/ReverseEngineeringService.ts - Analysis context
src/application/AnalysisContextQueries.ts
Analysis engines
- JavaScript analysis
src/javascript/analysis/JavaScriptAnalysisWorker.ts - Browser observation
src/application/BrowserObservationService.ts - Browser scenarios
src/application/BrowserScenarioCaptureService.ts - Android analysis
src/android/JadxAnalysis.ts - Ghidra provider
src/ghidra/GhidraClient.ts - Hopper provider
src/hopper/HopperClient.ts - IDA provider
src/ida/IdaSessionClient.ts
Findings and evidence
- Evidence records
src/domain/evidence.ts - Error projection
src/domain/analysisErrorProjection.ts - Typed results
src/domain/result.ts
Other components
- Agent
- Terminal user
Connections 17
- Agent → MCP server: calls tools
README.md - Terminal user → CLI commands: runs commands
README.md - CLI commands → Reverse analysis: uses workflows
src/cli/reverseEngineeringCommands.ts - MCP server → Tool registration: serves tools
- Tool registration → Reverse analysis: invokes analysis
src/server/registerReverseEngineeringTools.ts - Reverse analysis → Typed results: returns results
src/application/reverse/ReverseEngineeringService.ts - Reverse analysis → Evidence records: produces findings
src/application/reverse/ReverseEngineeringService.ts - Reverse analysis → Ghidra provider: dispatches provider
- Reverse analysis → Hopper provider: dispatches provider
- Reverse analysis → IDA provider: dispatches provider
- Analysis context → Evidence records: queries findings
- JavaScript analysis → Evidence records: returns analysis
- Browser observation → Evidence records: returns observations
- Browser scenarios → Browser observation: captures behavior
- Android analysis → Evidence records: returns analysis
- Reverse analysis → Error projection: projects failures
- Error projection → Typed results: formats outcomes