fix(elf): admit Xtensa through canonical target contracts (#11178)

Admit ELF machine 94 as the canonical Xtensa family through Ghidra's header-selected import. Share generic-header exclusions between static target types and live CLI/MCP summaries, preserving ELF-only format constraints and other providers' decline paths.

Fixes #10765.
Adapted from #10774.

Co-authored-by: Josh <joshuakrishna21@gmail.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-11-15 22:09:41 +08:00
1 parent 104b1a35b4
commit 1995ab7fce
12 files changed
+109 -21

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ describe("executable header parsing", () => {
[elf(1, 1, 62), "elf", "x86_64"],
[elf(2, 2, 183), "elf", "arm64"],
[elf(1, 1, 164), "elf", "hexagon"],
[elf(1, 1, 94), "elf", "xtensa"],
[thinMach(0xfeedfacf, 0x0100000c), "mach-o", "arm64"],
[thinMach(0xcefaedfe, 0x01000007), "mach-o", "x86_64"],
[thinMach(0xcefaedfe, 0x0200000c), "mach-o", "arm64_32"],