Share tagged readiness observations, retain partial provider facts, authenticate bridge identity, bound diagnostics, and preserve cancellation and lost-session reasons. Fail closed for unparsed MIPS ABI attributes and macOS saved Hopper databases without a script-capable bridge route. Reviewed fixes: #2010, #2108, #2513, #2695, #2731, #2771, #2828, #2867, #2868, #2870, #2880, #2919, #2945, #2961, #2981, #2998, #3000, #3002. Validation: 285 focused source/boundary tests passed. Real Ghidra, IDA, Linux Hopper, and Windows provider runs were not repeated. BREAKING CHANGE: MIPS targets with unresolved GNU ABI attributes and saved Hopper databases on macOS are refused rather than advertised as supported. |
||
|---|---|---|
| .. | ||
| 6502.cfg | ||
| 6502.s | ||
| README.md | ||
| ReaAnalyzerOptionsRegressionProbe.java | ||
| ReaFileOffsetSourceProbe.java | ||
| ReaNoReturnProbe.java | ||
| ReaSeedRegressionProbe.java | ||
| ReaSwitchEvidenceProbe.java | ||
| cross-format.c | ||
| dos-com-fixture.mjs | ||
| dos-mz-fixture.mjs | ||
| entry-aliases.c | ||
| inventory.c | ||
| large-results.c | ||
| mips-checks.d.mts | ||
| mips-checks.mjs | ||
| mips-checks.test.ts | ||
| mips-fixture.mjs | ||
| mips-probe.S | ||
| mips-relocatable-checks.d.mts | ||
| mips-relocatable-checks.mjs | ||
| mips-relocatable-checks.test.ts | ||
| mips16-recordless.ld | ||
| mips16-shared-fixture.mjs | ||
| mips16-shared.S | ||
| namespaces.c | ||
| no-return.c | ||
| ppc-checks.d.mts | ||
| ppc-checks.mjs | ||
| ppc-checks.test.ts | ||
| ppc-fixture.mjs | ||
| ppc-probe.S | ||
| psp-checks.test.ts | ||
| psp-fixture.d.mts | ||
| psp-fixture.mjs | ||
| relative-switch-signed.S | ||
| relative-switch.S | ||
| riscv-fixture.mjs | ||
| riscv-probe.S | ||
| switch-fixture.mjs | ||
README.md
Ghidra conformance corpus
These source-owned fixtures are compiled at verification time; generated binaries and Ghidra projects are never committed.
-
../c/riscv.candriscv-probe.Sproduce source-owned RV32/RV64 ELF images with double-float ABI declarations and an independently known instruction.npm run verify:ghidra:riscvexercises real CLI/MCP discovery, decompilation, output schemas, profile and snapshot identity, refusal diagnostics, immutable source bytes, and owned cleanup. It requires BYO Ghidra 12.1.4/JDK 21+ and RISC-V Clang/LLD/LLVM readelf;REA_RISCV_CLANG,REA_RISCV_LLDandREA_RISCV_READELFselect existing tool commands. -
inventory.cproduces separate x86-64 debug and stripped ELF executables. It covers imports, an externalputsfunction, linker thunks, source symbols, direct calls, a targetless callback call, two referenced strings, and a multi-block branch. -
entry-aliases.cpreserves secondary imported entry labels, a bare-hex alias, and an interior label. The native CLI/MCP lane verifies entry selection, annotation, interior-label rejection, and unchanged source bytes. -
cross-format.cis freestanding so the verifier can produce AArch64 ELF, x86-64 PE, and x86-64 Mach-O targets from the same semantics. It preserves an exported entry, direct and indirect calls, a volatile string reference, and a multi-block branch across loaders. -
no-return.candReaNoReturnProbe.javainject incorrect import flags into a real ELF or Mach-O analysis database, verify caller recovery, propagated flag repair and signature preservation, and retain genuine/unknown no-return calls and independently identified entries. Runnpm run build:cached, thennode scripts/verify-real-ghidra-noreturn.mjswith the Ghidra/JDK environment below on Linux or macOS x64/arm64. On Linux, use a procps-compatible process table that exposes REA's current process for owned cleanup. It also checks named limitations through the real read-only TCP bridge and provider Evidence projection; default Unix-socket transport, Windows, and the reported Amethyst artifact need separate verification. Fixture target code is never executed.
scripts/verify-real-ghidra.mjs uses cc, clang, and lld-link by default;
REA_CC, REA_CLANG, and REA_LLD_LINK can select alternate commands. The
verifier requires the verified bring-your-own Ghidra 12.1.4 installation through
GHIDRA_INSTALL_DIR and validates header classification before starting the
provider. Provider admission accepts the rest of the 12.1.x line; this lane does
not.
Conformance compares semantic facts: provider/profile identity, function classification, resolved call edges, typed references, strings/xrefs, and CFG topology. It only requires provider pseudocode and assembly to be non-empty, bounded, and address-bearing; it never compares their text with Hopper. The callback fixture also proves that an unresolved targetless flow is not silently promoted to a direct callee. Every target runs in a separate owned project and must leave no process, socket, project, or runtime root after close.
relative-switch-signed.S covers signed halfword offsets, the CBZ zero-entry
route, and selector biases of 0, 2 and 10 in the AArch64 jump-table lane. The
nonzero biases exercise overlapping and disjoint typed label/index ranges. REA
retains Ghidra's typed labels when the compared selector has an earlier register
definition; additional labels remain unknown until their relationship to the
typed switch selector can be proved. The oracle rejects extra numeric labels
and verifies each retained target against the source instruction immediate.