Searched refs:e_ident (Results 1 – 9 of 9) sorted by relevance
39 if (Hdr->e_ident[EI_CLASS] != ELFCLASS32) { in IsArmElf()62 if (Hdr->e_ident[EI_CLASS] != ELFCLASS64) { in IsAarch64Elf()101 if (Hdr32->e_ident[EI_CLASS] == ELFCLASS32) { in ElfCheckHeader()115 } else if (Hdr32->e_ident[EI_CLASS] == ELFCLASS64) { in ElfCheckHeader()
126 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \127 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \128 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \129 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
69 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
77 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
142 if (mEhdr->e_ident[EI_CLASS] != ELFCLASS64) { in InitializeElf64()146 if (mEhdr->e_ident[EI_DATA] != ELFDATA2LSB) { in InitializeElf64()
139 if (mEhdr->e_ident[EI_CLASS] != ELFCLASS32) { in InitializeElf32()143 if (mEhdr->e_ident[EI_DATA] != ELFDATA2LSB) { in InitializeElf32()