Searched refs:e_ident (Results 1 – 4 of 4) sorted by relevance
137 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \138 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \139 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \140 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
58 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
67 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
104 if (ehdr->e_ident[EI_VERSION] != EV_CURRENT || in e32_parse_ehdr()105 ehdr->e_ident[EI_CLASS] != ELFCLASS32 || in e32_parse_ehdr()106 ehdr->e_ident[EI_DATA] != ELFDATA2LSB || in e32_parse_ehdr()107 ehdr->e_ident[EI_OSABI] != ELFOSABI_NONE || in e32_parse_ehdr()132 if (ehdr->e_ident[EI_VERSION] != EV_CURRENT || in e64_parse_ehdr()133 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in e64_parse_ehdr()134 ehdr->e_ident[EI_DATA] != ELFDATA2LSB || in e64_parse_ehdr()135 ehdr->e_ident[EI_OSABI] != ELFOSABI_NONE || in e64_parse_ehdr()171 if (ehdr->e_ident[EI_VERSION] != EV_CURRENT || in e64_parse_ehdr()172 ehdr->e_ident[EI_CLASS] != ELFCLASS64 || in e64_parse_ehdr()[all …]
Completed in 14 milliseconds