Lines Matching refs:e_ident
1222 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
1225 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1226 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf64_headers()
1278 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers()
1281 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| in parse_crash_elf32_headers()
1282 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf32_headers()
1321 unsigned char e_ident[EI_NIDENT]; in parse_crash_elf_headers() local
1326 rc = elfcorehdr_read(e_ident, EI_NIDENT, &addr); in parse_crash_elf_headers()
1329 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
1334 if (e_ident[EI_CLASS] == ELFCLASS64) { in parse_crash_elf_headers()
1338 } else if (e_ident[EI_CLASS] == ELFCLASS32) { in parse_crash_elf_headers()
1390 unsigned char *e_ident = (unsigned char *)elfptr; in vmcoredd_update_program_headers() local
1397 if (e_ident[EI_CLASS] == ELFCLASS64) { in vmcoredd_update_program_headers()