kaitai_struct_formats icon indicating copy to clipboard operation
kaitai_struct_formats copied to clipboard

Mach-O: big endian binaries not supported

Open armijnhemel opened this issue 1 year ago • 1 comments

I am currently looking at a binary for a PowerPC ppc_7400 which is big endian.

The magic bytes in the file are: 0xFEEDFACE which according to mach_o.ksy means macho_be_x86 (despite it being PowerPC, and not x86, but that is nitpicking).

It seems that mach_o.ksy is only supporting little endian files though.

armijnhemel avatar May 01 '23 12:05 armijnhemel

Test files can be found inside the Apple file downloaded from:

https://www.dji.com/nl/downloads/softwares/dji-assistant-2-consumer-drones-series

armijnhemel avatar May 01 '23 12:05 armijnhemel