Searched refs:e_ident (Results 1 – 5 of 5) sorted by relevance
108 uint8_t e_ident[EI_NIDENT]; in main() local109 if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT) != EI_NIDENT)) { in main()121 if (e_ident[EI_CLASS] == ELFCLASS32) { in main()130 } else if (e_ident[EI_CLASS] == ELFCLASS64) { in main()140 LOG(ERROR) << file << ": unknown ELFCLASS: " << e_ident[EI_CLASS]; in main()
159 const int endian = elf_header->e_ident[EI_DATA]; in Load()163 const int file_class = elf_header->e_ident[EI_CLASS]; in Load()
41 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in dl_iterate_phdr()
171 unsigned char e_ident[EI_NIDENT]; member187 unsigned char e_ident[EI_NIDENT]; member
215 if (memcmp(header_.e_ident, ELFMAG, SELFMAG) != 0) { in VerifyElfHeader()222 int elf_class = header_.e_ident[EI_CLASS]; in VerifyElfHeader()243 if (header_.e_ident[EI_DATA] != ELFDATA2LSB) { in VerifyElfHeader()244 DL_ERR("\"%s\" not little-endian: %d", name_.c_str(), header_.e_ident[EI_DATA]); in VerifyElfHeader()