mirror of
https://github.com/morluto/rea
synced 2026-10-27 06:33:32 -04:00
2b2a5d0f26
inspect_macho passed the CPU-family spelling (`arm64e`) for every dotted lipo slice name to otool, nm, dwarfdump and vtool. That is right for the pointer-auth ABI version suffix (`arm64e.v1`), but `arm64e.x1` is a distinct subtype: on a universal x86_64 + arm64e.x1 executable otool failed with "does not contain architecture: arm64e" and the whole inspection failed. Strip only the `.v<N>` ABI version suffix and pass other variant names exactly. vtool has no spelling for a variant subtype, so skip it for such slices and report that build metadata comes from otool only. Fixes #3389 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>