Home
last modified time | relevance | path

Searched refs:e_ident (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/bionic/
Ddl_iterate_phdr_static.c55 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()
/bionic/libc/include/sys/
Dexec_elf.h58 #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)
/bionic/libc/kernel/common/linux/
Delf.h192 unsigned char e_ident[EI_NIDENT]; member
212 unsigned char e_ident[16]; member
/bionic/libc/kernel/arch-mips/asm/
Delf.h189 …*__h = (hdr); if (__h->e_machine != EM_MIPS) __res = 0; if (__h->e_ident[EI_CLASS] != ELFC…
/bionic/linker/
Dlinker.cpp685 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()