Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/include/xen/
A Delfstructs.h101 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
102 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
103 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
104 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
117 unsigned char e_ident[EI_NIDENT]; /* ELF Identification */ member
135 unsigned char e_ident[EI_NIDENT]; /* Id bytes */ member
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_core.c242 ehdr->e_ident[EI_MAG0] = ELFMAG0; in xc_core_ehdr_init()
243 ehdr->e_ident[EI_MAG1] = ELFMAG1; in xc_core_ehdr_init()
244 ehdr->e_ident[EI_MAG2] = ELFMAG2; in xc_core_ehdr_init()
245 ehdr->e_ident[EI_MAG3] = ELFMAG3; in xc_core_ehdr_init()
246 ehdr->e_ident[EI_CLASS] = ELFCLASS64; in xc_core_ehdr_init()
247 ehdr->e_ident[EI_DATA] = ELF_ARCH_DATA; in xc_core_ehdr_init()
248 ehdr->e_ident[EI_VERSION] = EV_CURRENT; in xc_core_ehdr_init()
249 ehdr->e_ident[EI_OSABI] = ELFOSABI_SYSV; in xc_core_ehdr_init()
250 ehdr->e_ident[EI_ABIVERSION] = EV_CURRENT; in xc_core_ehdr_init()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dlivepatch.c126 hdr->e_ident[EI_CLASS] != ELFCLASS64 || in arch_livepatch_verify_elf()
127 hdr->e_ident[EI_DATA] != ELFDATA2LSB ) in arch_livepatch_verify_elf()
/xen-4.10.0-shim-comet/xen/common/
A Dlivepatch_elf.c438 hdr->e_ident[EI_VERSION] != EV_CURRENT || in livepatch_header_check()
439 hdr->e_ident[EI_ABIVERSION] != 0 || in livepatch_header_check()
440 (hdr->e_ident[EI_OSABI] != ELFOSABI_NONE && in livepatch_header_check()
441 hdr->e_ident[EI_OSABI] != ELFOSABI_FREEBSD) || in livepatch_header_check()
/xen-4.10.0-shim-comet/xen/arch/x86/boot/
A Dmkelf32.c299 (in32_ehdr.e_ident[EI_DATA] != ELFDATA2LSB) ) in main()
305 big_endian = (*(u16 *)in32_ehdr.e_ident == ((ELFMAG0 << 8) | ELFMAG1)); in main()
308 if ( in32_ehdr.e_ident[EI_CLASS] != ELFCLASS64 ) in main()
/xen-4.10.0-shim-comet/docs/misc/
A Ddump-core-format.txt29 e_ident[EI_CLASS] = ELFCLASS64 = 2
30 e_ident[EI_OSABI] = ELFOSABI_SYSV = 0
33 e_ident[EI_DATA] is set as follows
249 - elf header e_ident[EI_DATA]
/xen-4.10.0-shim-comet/xen/common/libelf/
A Dlibelf-loader.c52 elf->class = elf_uval_3264(elf, elf->ehdr, e32.e_ident[EI_CLASS]); in elf_init()
53 elf->data = elf_uval_3264(elf, elf->ehdr, e32.e_ident[EI_DATA]); in elf_init()
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/
A Dlivepatch.c85 hdr->e_ident[EI_CLASS] != ELFCLASS32 ) in arch_livepatch_verify_elf()
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Dlivepatch.c72 hdr->e_ident[EI_CLASS] != ELFCLASS64 ) in arch_livepatch_verify_elf()
/xen-4.10.0-shim-comet/stubdom/grub.patches/
A D00cvs1106 || pu.elf->e_ident[EI_OSABI] == ELFOSABI_FREEBSD
1107 || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0

Completed in 16 milliseconds