Searched refs:EI_MAG0 (Results 1 – 11 of 11) 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
35 TEST_ASSERT((ident[EI_MAG0] == ELFMAG0) && (ident[EI_MAG1] == ELFMAG1) in elfhdr_get()42 ident[EI_MAG0], ident[EI_MAG1], ident[EI_MAG2], ident[EI_MAG3], in elfhdr_get()
151 if (memcmp(&elf->e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { in main()
246 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 || in parse_elf()
283 assert_eq(elf.ehdr->e_ident[EI_MAG0], ELFMAG0, "0x%x"); in init_elf()
334 #define EI_MAG0 0 /* e_ident[] indexes */ macro
307 if (ehdr.e_ident[EI_MAG0] != ELFMAG0 || in parse_elf()
323 if ((hdr->e_ident[EI_MAG0] != ELFMAG0) || in main()
355 [EI_MAG0] = ELFMAG0, in read_kcore_iter()
412 if ((hdr->e_ident[EI_MAG0] != ELFMAG0) || in parse_elf()