Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutee/include/
A Delf_common.h137 #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)
A Delf32.h58 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
A Delf64.h67 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member
/optee_os-3.20.0/ldelf/
A Dta_elf.c104 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