How reverse-engineer-anything/rea-github works
REA is a local MCP reverse-engineering agent for Windows, with CLI/desktop entry points and documented hooks for native reverse-engineering tools and JavaScript/Electron/browser targets. The README outlines getting the package, running it, and pointing it at a local target. Source excerpts are placeholders, so internal dispatch and data flow cannot be verified; dashed links mark those uncertain connections.
Main entry points: agent/Pad.cpp Local MCP agent · cli/Pad.cpp CLI entry · js/Pad.cpp JavaScript path · native/Pad.cpp Native helpers
Components 22
Agent and entry points
- Local MCP agent
agent/Pad.cpp - Agent prompts
agent/Prompt.cpp - Agent skills
agent/Skill.cpp - Version pin
agent/Pin.h - CLI entry
cli/Pad.cpp - CLI setup
cli/Setup.cpp - JSON streaming
cli/Json.cpp - NPX support
cli/Npx.h
JavaScript targets
- JavaScript path
js/Pad.cpp - Electron handling
js/Electron.cpp - Browser WebMCP
js/Web.cpp - JS bundle support
js/Bundle.h
Native tool hooks
- Native helpers
native/Pad.cpp - Ghidra hook
native/Ghidra.cpp - Hopper hook
native/Hopper.h - IDA hook
native/Ida.cpp
Windows support
- Windows host
win/Host.cpp - Windows paths
win/Path.cpp - Windows support
win/Pad.cpp - Windows startup
win/Start.h
Other components
- Engineer
- Local target
Connections 23
- Engineer → CLI entry: runs CLI
README.md - Engineer → Local MCP agent: runs desktop
README.md - Engineer → Local target: selects target
README.md - CLI entry → Local MCP agent: starts agent
- Local MCP agent → Agent prompts: uses prompts
- Local MCP agent → Agent skills: uses skills
- Local MCP agent → Version pin: pins version
- CLI entry → CLI setup: configures
- CLI entry → JSON streaming: streams JSON
- CLI entry → NPX support: supports launch
- Local MCP agent → Local target: analyzes locally
- Local MCP agent → JavaScript path: supports JS path
- JavaScript path → Electron handling: handles Electron
- JavaScript path → Browser WebMCP: handles WebMCP
- JavaScript path → JS bundle support: supports bundles
- Local MCP agent → Native helpers: uses native helpers
- Native helpers → Ghidra hook: hooks Ghidra
- Native helpers → Hopper hook: hooks Hopper
- Native helpers → IDA hook: hooks IDA
- Local MCP agent → Windows host: runs on Windows
- Windows host → Windows paths: resolves paths
- Windows host → Windows support: uses support
- Windows host → Windows startup: starts runtime