mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
47b4628bac
`inspect-macho` stored each `otool -l` row in a flat record, so a key printed more than once kept only its last value. A two-string LC_LINKER_OPTION lost `-framework` and kept `#2 Foundation`, and a multi-tool LC_BUILD_VERSION kept only its last tool, while the collection still claimed exhaustive coverage. Linker-option strings are now keyed by otool's own `string #n` label with the exact option text and must match the declared count. Any other repeated key is labeled `key #n` in print order. Dylib encoding checks read the parsed rows, so repeated `options` rows are still rejected. Fixes #4008 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>