Re:x86 finds its way into the iPhone
by dfox on Friday September 14, 2018 @02:18PM
(#17989504)
One thing that strikes me as highly weird is x86 code in ARM ELFs. It is usually the other way: code for some random embedded custom almost-RISC in ELFs claiming to be for i386 :)
[ Parent
| on HN ]
they're not standard ELF files, more likely they're using the ELF format just to have a list of "load address-size-data" stuff assembled with some custom linker script, and they did not bother to change it, probably because of integrity checks or sanity checks along the assembly line
would have been much more fun if they switched to PE format though, like they did with EFI/UEFI :D