mirror of
https://github.com/morluto/rea.git
synced 2026-11-27 22:59:10 +00:00
* fix(ghidra)!: scope defect notes and state session limitations once Ghidra known-defect records filtered by version only, so every result on an x86-64 PE carried the AArch64 ghidra-10154 record and the clang ghidra-9996 record, including byte reads and string searches. Each record now declares the target architectures it can apply to. ghidraKnownProviderDefectLimitations keeps a record only when the target's architecture can match (an unknown architecture keeps it) and the operation can depend on jump-table or function-body recovery. Every native result also repeated the session's shared limitations: the analysis and checkpoint caveats, the address convention, the native decompiler note, the PDB state, and the build and defect records. Over nine MCP calls on a public x64 DLL they were about 54% of the bytes. The provider now names those entries in a new AnalysisExecution sessionLimitations field. It still keeps them in limitations, so a consumer that ignores the field loses nothing. The session owner decides delivery. The persistent MCP runtime selects reference mode: each result replaces the shared entries with one limitation naming a retained session-context Evidence, records it, and links it in evidence_links. Equal session facts link the same record, so repeated observations keep their Evidence. One-shot CLI sessions keep the entries inline. BREAKING CHANGE: in MCP sessions, Ghidra result Evidence no longer lists session-scoped limitations inline. It carries one reference limitation and links a retained session-limitations Evidence (operation health, parameters.facet session-limitations) in evidence_links. Read it with get_evidence_bundle. Defect records no longer appear on operations or architectures outside their declared scope. Fixes #14183 Fixes #14158 * test(ghidra): spread readonly defect limitations into the matcher * fix(ghidra): keep defect notes on byte searches and reuse sourced session Evidence search_bytes names the function containing each match, so a body truncated by a switch defect can leave that procedure null. It now keeps the applicable defect records. Reference mode links a session-context record from every result, and bindSessionEvidenceExecution refused to reuse any execution with sources, so the adapter rebuilt and rehashed the Evidence the session had already retained. Reuse now accepts an execution whose sources match the record's authenticated evidence_links, in order. A regression checks that an exported snapshot's bundle carries the linked context record, so a replay in another process can resolve the reference. * fix(decompile-all): write the full session limitations into exported directories In reference mode a result carries one reference to the session-context Evidence instead of the session limitations. decompile_all copied execution limitations into its function files, journal and index, but the directory writer never saves the linked record, so after the MCP process ended the known-defect, PDB and checkpoint caveats could not be recovered. decompile_all now reads through inlineLinkedSessionLimitations, which restores the referenced text from the linked context record owned by SessionLimitationContext, so the directory stays self-describing.
Documentation directory
Find an installation step, investigation guide, or contributor reference by task. The REA website has worked examples and product pages.
Getting started
- Installation and setup
- Supported targets and requirements
- Client configuration and troubleshooting
- CLI and Evidence
- Guided MCP prompts and completion
Desktop applications
- Desktop installation directories
- Desktop application capture
- Desktop application state
- Desktop application tasks
- Desktop application export
- Desktop build computer
- Desktop build witness
Agent environments
Native binaries
- Native binary investigation
- Go binary build metadata
- DWARF compile units
- Offline binary diagnostics
- ELF separate debug files
- ELF and Mach-O initializer functions
- ELF unwind function ranges
- Linux kernel build config
- Recorded crash evidence
- Windows Shell Link shortcuts
- Acquired NTFS metadata
- Binary hardening
- ELF note tables
- ELF dependency tables
- Linux kernel modules
- PE Authenticode certificate tables
- PE import and delay-load tables
- PE TLS callbacks and load configuration
- Match native functions across builds
- Rust binary dependency metadata
- Static CUDA and HIP code objects
JavaScript and Electron
- JavaScript Application Graph
- Cross-layer JavaScript application workflows
- JavaScript artifact reconstruction
- JavaScript source recovery
- Passive Node and Electron runtime observation
- JavaScript static/runtime reconciliation
- Electron file-page observation
- V8 code cache inspection
- Electron fuse state
- Static JavaScript route inventory
- Bun standalone executables
- Deno compile executables
- Node.js single executable applications
Browser and captured websites
- Website observation with CDP
- Browser scenario contract
- Website runtime source attribution
- Historical web network captures
- HTTP/3 capture lab
- Captured website source locations
- Captured website module relationships
- Captured website scripts and static JavaScript analysis
- Offline Playwright traces
Android applications
- Static Android APK analysis
- Apktool resource decoding
- ADB device inspection and acquisition
- Flutter build identification
- Android boot and vendor_boot images
- APK signature schemes
Apple applications
.NET assemblies
Firmware
- Firmware analysis
- Android OTA update payloads
- Flattened devicetree inspection
- ESP flash images
- ESP images
- U-Boot FIT images
- Intel HEX and S-record images
- UF2 and DfuSe images
- U-Boot legacy uImage containers
HarmonyOS packages
Packages and metadata
- Offline API contract inventory
- CycloneDX dependencies
- Maven POM and Gradle module metadata
- Release exposure
- Model file declarations
- Python packaged applications
- CPython pyc inspection
- Erlang BEAM files
- Godot PCK archives
- UnityFS AssetBundle archives
- iNES containers
- WeChat mini-program wxapkg archives
- GPU asset headers: DDS, GLB, KTX and KTX2
WebAssembly
EVM contracts
Databases and recorded packets
Process capture and instrumentation
Provider setup and formats
- Ghidra provider semantics
- DOS MZ and COM analysis with Ghidra
- Optional NativeAOT metadata recovery
- MIPS ELF analysis through Ghidra
- PSP static ELF analysis through Ghidra
- RISC-V ELF analysis through Ghidra
- Windows Ghidra P0
- Headerless raw-binary analysis with Ghidra
- IDA provider
- JEB instrumentation and analysis
- GameCube DOL analysis through Ghidra
- PowerPC ELF analysis through Ghidra
- Kuna provider
- Reverse-engineering tool integrations
Contracts and evidence
Development and verification
- Documentation ownership and authoring
- Settings and recovery
- REA limit inventory
- MCP tool design
- Testing REA
- Client and agent verification
- Reconstruction readiness conformance
- Releasing REA
- Testing lanes and provider verification
- Measure MCP catalog costs in Codex
- Static analysis in GitHub Actions
Release migrations
Signal recordings
Generated files and release records
| Path | Owner and update command |
|---|---|
public/product-catalog.json |
Ignored contract projection; npm run docs:generate |
verification/managed-conformance-*.json |
Ignored managed conformance projections; npm run evidence:generate |
error-contract.schema.json |
Tracked schema from contracts; npm run docs:error-schema |
user-visible-errors.csv |
Generated error code and category per domain and provider-owned error case; npm run docs:error-schema |
releases/<version>.contributions.json |
Durable release contribution record; follow the release guide |
Regenerate catalogs and Evidence projections from their canonical source.
Release records preserve the exact commit messages and references for each release.
Guides share authored images in assets/.