Two layout commands on the capture Mac
Left: rea inspect-binary-layout on ledger-x86_64-O1.o reaches the pwntools-elf provider, which answers capability_unavailable with category unsupported_provider because its profile supports Linux x64 only, and the command exits 1. Right: rea inspect-macho on ledger-arm64-O1 reaches the native-macos provider, which runs lipo, otool, nm, dyld_info, dwarfdump, and vtool, found through xcrun, and returns an Evidence record with 17 load commands and 4 segments, exit 0.
A · INSPECT-BINARY-LAYOUT
B · INSPECT-MACHO
rea inspect-binary-layout
fixtures/ledger-x86_64-O1.o
provider pwntools-elf
needs Linux x64 and REA_PWNTOOLS_PYTHON
capability_unavailable
unsupported_provider · exit 1
rea inspect-macho
fixtures/ledger-arm64-O1
otool nm dyld_info dwarfdump
and lipo, vtool, found through xcrun
Evidence ev_497834aa
17 load commands · 4 segments · exit 0