3 ms·
> it is very unlikely that your ELF/mach-O/PE/... is still valid with added junk at the end. I've written loaders for all of the executable formats you mentio
by dmitrygr 4y ago
> it is very unlikely that your ELF/mach-O/PE/... is still valid with added junk at the end.
I've written loaders for all of the executable formats you mentioned, and maybe a dozen more. I know of none where this would violate the strict interpretation of the word of the spec.
That being said, valid file != happy OS
- anyfoo 4y agoAgreed. As above: It may for example run, but not be accepted by other parts of the OS (as evidenced).