mirror of
https://github.com/morluto/rea.git
synced 2026-12-02 03:25:20 +00:00
* fix(native)!: resolve name and import selectors through one owner find_xrefs_to_name matched names exactly against list_names, while procedure_callers and procedure_references used each provider's own procedure lookup. One import selector therefore resolved differently per tool, and each tool failed on a different provider. Hopper also refused every target outside a procedure, so it could not answer incoming references to an import. - NativeSymbolSelection owns name resolution for find_xrefs_to_name, xrefs and the incoming procedure tools: exact name, then a provider-reported external import by imported or library-qualified name, then the provider's procedure lookup. CLI and MCP both run through it. - When a provider refuses a name for xrefs, procedure_callers or incoming procedure_references, REA resolves it once and asks again by address. - The Ghidra and Hopper bridges answer an explicit address outside every procedure (an import slot, imported name or data label) with its recorded references and their containing procedures. - XrefsAddressResolution is removed. BREAKING CHANGE: procedure_references.procedure may now identify an address outside every procedure, with classification null and an unavailable body. find_xrefs_to_name adds resolved_name and candidates, and resolves bare import names on Ghidra. Fixes #14160 Fixes #14184 * fix(native): order selector candidates by code point The domain ordering rule forbids localeCompare. * fix(native): retry only names outside every procedure and keep retry facts - Answer a refused name by address only when the provider observes that address outside every procedure. An interior label stays refused instead of selecting its containing procedure. - Return a retry's own failure unless it is another lookup miss. - Retain Hopper's native address-target reply as raw Evidence, with its target identity and caller completeness. * fix(native): retry at exact procedure entries and return containment failures - An import resolved to a procedure's exact entry, such as Ghidra's external function for kernel32.dll::VirtualAlloc, is answered by that address; only an address strictly inside a procedure keeps the refusal. - A containment lookup that fails for any reason other than the provider lacking it is returned with its facts instead of the name refusal. * test(ida): answer unknown names as Not found in the verifier fixture The verifier's fake IDA resolved every lookup_funcs query to main. With xrefs names now resolved by the shared selector owner, an unknown name such as not-an-address reaches the provider's procedure lookup, which the fake answered with main, so xrefs succeeded instead of the expected invalid_request. Real IDA answers an unknown name with "Not found"; the fixture now does too, and the verifier's contract is unchanged. * fix(native): keep provider ambiguity and declare the procedure-lookup fallback - The Ghidra bridge sends every matching entry of an ambiguous procedure selector as structured candidates. The projection carries them as the typed ambiguous-selector refusal, and the shared owner no longer treats an ambiguous lookup as a missing name, so find_xrefs_to_name returns the ambiguity with its candidates. - find_xrefs_to_name requires list_names or procedure_address, plus xrefs, so providers without a name inventory, such as IDA and Kuna, report it as available with the effects of the calls it makes. * fix(native): answer a provider-ambiguous name by its unique exact name Ghidra's procedure lookup matches leaf names, so a global work and ns::work make work ambiguous, while the shared owner resolves the exact name work. When the provider reports an ambiguity, the shared owner now retries only by a unique exact-name match and otherwise keeps the provider's ambiguity and candidates. * fix(native): resolve incoming procedure names through the shared owner first procedure_callers and incoming procedure_references asked the provider by name first, so Ghidra's leaf-name lookup could answer "work" with ns::work while find_xrefs_to_name selected the exact label work. These tools now resolve the name with the shared owner first and ask the provider by its address when that address is outside every procedure or a procedure's exact entry. A name the owner cannot resolve, or one inside a procedure, still goes to the provider's procedure lookup, which owns alias and thunk spellings. xrefs keeps provider-first resolution. * fix(native): retain snapshot replay for resolved symbol selectors
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/.