mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 09:56:23 +00:00
* fix(macho): select arm64e.x1 slices of universal Mach-O files by exact subtype macOS 27 system binaries such as /bin/ls and /usr/bin/codesign hold x86_64, arm64e and arm64e.x1 slices. The caller's architecture selector counted arm64e.x1 as arm64e and had no value of its own for it, so inspect_native_initializers, inspect_go_binary, inspect_rust_binary and inspect_dwarf_units refused arm64e as matching several slices and rejected arm64e.x1 as an argument. Neither arm64e slice could be read. Name each arm64e subtype exactly, as lipo -thin and otool -arch do: arm64e reads only the arm64e slice and the new arm64e.x1 value only the arm64e.x1 slice. arm64 keeps reading its family's only slice. A refusal and the unread-slice limitation now offer arm64e.x1 where it selects one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(macho): record the advertised schemas that accept arm64e.x1 The architecture enum of inspect_native_initializers, inspect_go_binary, inspect_rust_binary and inspect_dwarf_units gained arm64e.x1, which changes their advertised input schemas. Commit the regenerated summaries so verify-advertised-schemas matches the catalog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(macho): check the selected DWARF slice subtype and document arm64e.x1 inspect_dwarf_units accepted a report whose CPU family matched the request, so an arm64e or arm64e.x1 request answered by the other arm64e slice still produced Evidence. Validate the report's selected_slice with machoSelectionAnswersArchitecture, as the initializer, Go and Rust readers do. The tool's architecture field, its CLI option and dwarf-units.md still described a CPU family and listed only x86, x86_64, arm and arm64. Name arm64e and arm64e.x1 and their exact-subtype rule there as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>