Files
rea/tests/fixtures/native-macos/otool-load.md
morluto 108b5f9425 fix(native): reject ambiguous otool load-command framing
Validate Mach command counts, byte totals, scalar uniqueness, section counts, and build-tool counts before claiming exhaustive evidence. Preserve raw output in typed parsing failures and distinguish dylib commands from the dynamic loader. Correct inconsistent handcrafted fixtures and label their provenance.

Validation: 38 native tests, combined checks, and temporary-directory hygiene. Multiline dylib-name ambiguity was reproduced with the host Apple otool; regression workflows use captured output and injected command runners.
2026-10-12 05:24:29 +08:00

363 B

Representative native load-command fixture

otool-load.txt is a compact, handcrafted representative used by the native fixture runner. Its Mach header is made internally consistent with the five listed commands (296 command bytes); it is not a capture from a real binary. Use fixtures under native-macho-header/ or native-reexport/ for producer captures.