code only depends on elf magic number