Searched refs:e_ident (Results 1 – 5 of 5) sorted by relevance
55 if (ehdr->e_ident[EI_MAG0] != ELFMAG0) return -1; in dl_iterate_phdr()56 if (ehdr->e_ident[EI_MAG1] != ELFMAG1) return -1; in dl_iterate_phdr()57 if (ehdr->e_ident[EI_MAG2] != ELFMAG2) return -1; in dl_iterate_phdr()58 if (ehdr->e_ident[EI_MAG3] != ELFMAG3) return -1; in dl_iterate_phdr()
58 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \59 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \60 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \61 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
192 unsigned char e_ident[EI_NIDENT]; member212 unsigned char e_ident[16]; member
189 …*__h = (hdr); if (__h->e_machine != EM_MIPS) __res = 0; if (__h->e_ident[EI_CLASS] != ELFC…
685 if (hdr->e_ident[EI_MAG0] != ELFMAG0) return -1; in verify_elf_header()686 if (hdr->e_ident[EI_MAG1] != ELFMAG1) return -1; in verify_elf_header()687 if (hdr->e_ident[EI_MAG2] != ELFMAG2) return -1; in verify_elf_header()688 if (hdr->e_ident[EI_MAG3] != ELFMAG3) return -1; in verify_elf_header()