Searched refs:e_ident (Results 1 - 14 of 14) sorted by relevance

/seL4-test-master/tools/riscv-pk/pk/
H A Delf.h9 ((hdr).e_ident[0] == 0x7f && (hdr).e_ident[1] == 'E' && \
10 (hdr).e_ident[2] == 'L' && (hdr).e_ident[3] == 'F')
12 #define IS_ELF32(hdr) (IS_ELF(hdr) && (hdr).e_ident[4] == 1)
13 #define IS_ELF64(hdr) (IS_ELF(hdr) && (hdr).e_ident[4] == 2)
44 uint8_t e_ident[16]; member in struct:__anon671
96 uint8_t e_ident[16]; member in struct:__anon675
H A Delf.c35 !(eh.e_ident[0] == '\177' && eh.e_ident[1] == 'E' &&
36 eh.e_ident[2] == 'L' && eh.e_ident[3] == 'F'))
/seL4-test-master/kernel/src/arch/x86/32/kernel/
H A Delf.c15 elfFile->e_ident[0] == '\177' &&
16 elfFile->e_ident[1] == 'E' &&
17 elfFile->e_ident[2] == 'L' &&
18 elfFile->e_ident[3] == 'F' &&
19 elfFile->e_ident[4] == 1
/seL4-test-master/kernel/src/arch/x86/64/kernel/
H A Delf.c13 elf->e_ident[0] == '\177' &&
14 elf->e_ident[1] == 'E' &&
15 elf->e_ident[2] == 'L' &&
16 elf->e_ident[3] == 'F' &&
17 elf->e_ident[4] == 2
/seL4-test-master/kernel/include/arch/x86/arch/32/mode/kernel/
H A Delf.h15 unsigned char e_ident[16]; member in struct:Elf32_Header
/seL4-test-master/kernel/include/arch/x86/arch/64/mode/kernel/
H A Delf.h13 unsigned char e_ident[16]; member in struct:Elf64_Header
/seL4-test-master/projects/util_libs/libelf/src/
H A Delf64.c102 if (header->e_ident[EI_CLASS] != ELFCLASS64) {
118 elf->elfClass = header->e_ident[EI_CLASS];
H A Delf32.c98 if (header->e_ident[EI_CLASS] != ELFCLASS32) {
114 elf->elfClass = header->e_ident[EI_CLASS];
/seL4-test-master/tools/seL4/elfloader-tool/src/binaries/elf/
H A Delf32.c13 if (file->e_ident[EI_MAG0] != ELFMAG0
14 || file->e_ident[EI_MAG1] != ELFMAG1
15 || file->e_ident[EI_MAG2] != ELFMAG2
16 || file->e_ident[EI_MAG3] != ELFMAG3) {
19 if (file->e_ident[EI_CLASS] != ELFCLASS32) {
H A Delf64.c14 if (fileHdr->e_ident[EI_MAG0] != ELFMAG0
15 || fileHdr->e_ident[EI_MAG1] != ELFMAG1
16 || fileHdr->e_ident[EI_MAG2] != ELFMAG2
17 || fileHdr->e_ident[EI_MAG3] != ELFMAG3) {
20 if (fileHdr->e_ident[EI_CLASS] != ELFCLASS64) {
24 if (fileHdr->e_ident[EI_DATA] != ELFDATA2LSB) {
27 if (fileHdr->e_ident[EI_VERSION] != 1) {
/seL4-test-master/tools/seL4/elfloader-tool/include/binaries/elf/
H A Delf.h36 #define ISELF32(elfFile) ( ((struct Elf32_Header*)elfFile)->e_ident[EI_CLASS] == ELFCLASS32 )
37 #define ISELF64(elfFile) ( ((struct Elf64_Header*)elfFile)->e_ident[EI_CLASS] == ELFCLASS64 )
47 * constants for indexing into Elf64_Header_t.e_ident
H A Delf64.h18 unsigned char e_ident[16]; member in struct:Elf64_Header
H A Delf32.h18 unsigned char e_ident[16]; member in struct:Elf32_Header
/seL4-test-master/projects/musllibc/include/
H A Delf.h38 unsigned char e_ident[EI_NIDENT]; member in struct:__anon192
55 unsigned char e_ident[EI_NIDENT]; member in struct:__anon193

Completed in 93 milliseconds