Lines Matching refs:e_ident
500 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
503 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
504 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf64_headers()
556 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf32_headers()
559 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| in parse_crash_elf32_headers()
560 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf32_headers()
600 unsigned char e_ident[EI_NIDENT]; in parse_crash_elf_headers() local
605 rc = read_from_oldmem(e_ident, EI_NIDENT, &addr, 0); in parse_crash_elf_headers()
608 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) { in parse_crash_elf_headers()
614 if (e_ident[EI_CLASS] == ELFCLASS64) { in parse_crash_elf_headers()
621 } else if (e_ident[EI_CLASS] == ELFCLASS32) { in parse_crash_elf_headers()