A simple ELF parser with no external dependencies.