> 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.
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