Searched refs:EI_MAG0 (Results 1 – 6 of 6) sorted by relevance
20 if (!(elf64->e_ident[EI_MAG0] == ELFMAG0 && in parse_elf64()56 if (!(elf32->e_ident[EI_MAG0] == ELFMAG0 && in parse_elf32()
117 #define EI_MAG0 0 /* e_ident[] indexes */ macro
151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
246 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 || in parse_elf()
284 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 || in parse_elf()
280 assert_eq(elf.ehdr->e_ident[EI_MAG0], ELFMAG0, "0x%x"); in init_elf()