Searched refs:e_ident (Results 1 – 5 of 5) sorted by relevance
107 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \108 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \109 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \110 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
49 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
62 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
411 unsigned char e_ident[ARRAY_SIZE(fmap->u.elf.elfhdr.e_ident)]; in elf_map_file() local435 if (!elf_map_file_read(fmap, emfd, e_ident, sizeof(e_ident), 0)) in elf_map_file()439 if (memcmp(e_ident, "\177ELF", 4)) in elf_map_file()442 fmap->addr_size = e_ident[4] == 2 /* ELFCLASS64 */ ? 64 : 32; in elf_map_file()448 UINT8 e_ident[16]; /* Magic number and other info */ in elf_map_file() member467 memcpy(fmap->u.elf.elfhdr.e_ident, elfhdr32.e_ident, sizeof(e_ident)); in elf_map_file()
28 UINT8 e_ident[16]; /* Magic number and other info */ member