if (elf_hdr->e_type != ET_EXEC) return -1;
if (elf_hdr->e_machine != EM_386) return -1;
if (elf_hdr->e_version != EV_CURRENT) return -1;
if (elf_hdr->e_type != ET_EXEC) return -1;
if (elf_hdr->e_machine != EM_386) return -1;
if (elf_hdr->e_version != EV_CURRENT) return -1;