rea/tests/composition/analysis-sessions
Ariel Fikru Avicenna c86b09a109
feat(ghidra): admit 32-bit big-endian PowerPC ELF (#1747)
* feat(ghidra): admit 32-bit big-endian PowerPC ELF

Recognize EM_PPC as a provider-neutral `powerpc` family that keeps its ELF
class, byte order, type and flags, and admit ELF32 big-endian ET_EXEC through
a bounded Ghidra lane. ELF64, little-endian, relocatable/shared objects and
EF_PPC_EMB are refused with a specific reason; Hopper and IDA do not gain
PowerPC support, and Windows Ghidra P0 is unchanged.

Ghidra's ELF loader selects PowerPC:BE:32:e500:default for a plain EM_PPC
header, which misreads 750-family code. The lane binds
PowerPC:BE:32:default/default in the profile (language_selection
"admitted-lane-v1"), imports with it and checks the reported language. A
language set through REA_GHIDRA_LANGUAGE_ID still replaces the lane default.

Add a source-owned fixture, fixed-encoding probe, GNU readelf cross-check and
the optional `verify:ghidra:ppc` real-provider lane, plus docs/ghidra-ppc.md.

Refs #1741

* style(ghidra): format shared PowerPC profile integration

* fix(ghidra): preserve caller-selected PowerPC languages

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-10-14 06:35:55 +08:00
..
binarySession.test.ts fix(reverse): reconcile cleanup ownership and mutation diagnostics (#2799) 2026-10-14 04:47:34 +08:00
binarySessionCleanupRetry.test.ts test: classify filesystem and process workflows by boundary 2026-10-12 04:44:13 +08:00
compositeProvider.test.ts refactor: remove forwarding exports and redundant aliases 2026-10-09 22:46:09 +08:00
investigationRecords.test.ts refactor!: enforce canonical evidence and provider boundaries 2026-10-09 20:18:52 +08:00
managedApplicationGraph.test.ts fix(evidence): enforce managed identity and cancel bundle reads 2026-10-12 13:06:30 +08:00
mips-identity.test.ts feat(native): admit bounded MIPS ELF analysis through Ghidra (#1362) 2026-10-10 23:04:27 +08:00
powerpc-identity.test.ts feat(ghidra): admit 32-bit big-endian PowerPC ELF (#1747) 2026-10-14 06:35:55 +08:00
providerBinding.test.ts fix(session): attribute selected-provider capabilities to the resolved identity (#2013) 2026-10-12 10:36:28 +08:00