Just having an odd error case, like out of memory, or file descriptors, means things that almost always works sometimes might not.
-
-
hmm, going further, makes me wonder about an OS which only had #! and flat-binaries (for stub-loaders). (ex: not even static ELF or a.out).
-
Defeats e.g. ASLR. Honestly a static ELF loader is ~150loc; add ~50 for PIE.
-
The flat stub could map real code with ASLR and unmap itself.
-
yes, and the flat stub could also be required to support loading to an arbitrary address. but, yes, not claiming ELF loading is hard...
-
FWIW: once also fit both PMode setup and a (limited) PE/COFF loader (+ the usual FAT stuff) into a 512B boot-sector. a lot is possible...
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.