ELF File Format
Discussions center on the ELF executable format, including parsing challenges, loaders, comparisons to formats like a.out and Mach-O, performance issues, and workarounds or criticisms.
Activity Over Time
Top Contributors
Keywords
Sample Comments
maybe it can be done with some unsafe magic parsing ELF files or something?
You probably don't realize that not every system is using ELF binaries....
Why is ELF so much slower and/or more memory hungry than a.out on Linux?
The problem here is actually ELF... not the language.
Could you elaborate on why you think the ELF format is insane?
How long has ELF been around? Won't static ELF binaries still run?
Why does it need to parse elf ?
This seems fairly trivial to fix by writing an ELF loader.
Canβt you just add binary data into a custom section of your ELF executable?
Haven't checked but I'm pretty sure the binutils just look for "magic numbers" (ie are the first four bytes "0x7F 'E' 'L' 'F'") and don't look at any filesystem information.