Searched refs:e_ident (Results 1 – 10 of 10) sorted by relevance
101 #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 */ member135 unsigned char e_ident[EI_NIDENT]; /* Id bytes */ member
242 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()
126 hdr->e_ident[EI_CLASS] != ELFCLASS64 || in arch_livepatch_verify_elf()127 hdr->e_ident[EI_DATA] != ELFDATA2LSB ) in arch_livepatch_verify_elf()
438 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()
299 (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()
29 e_ident[EI_CLASS] = ELFCLASS64 = 230 e_ident[EI_OSABI] = ELFOSABI_SYSV = 033 e_ident[EI_DATA] is set as follows249 - elf header e_ident[EI_DATA]
52 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()
85 hdr->e_ident[EI_CLASS] != ELFCLASS32 ) in arch_livepatch_verify_elf()
72 hdr->e_ident[EI_CLASS] != ELFCLASS64 ) in arch_livepatch_verify_elf()
1106 || pu.elf->e_ident[EI_OSABI] == ELFOSABI_FREEBSD1107 || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0
Completed in 16 milliseconds