Home
last modified time | relevance | path

Searched refs:e_phentsize (Results 1 – 25 of 55) sorted by relevance

123

/external/minijail/
Delfparse.c30 pHeader->e_phentsize = le16toh(pHeader->e_phentsize); \
34 pHeader->e_phentsize = be16toh(pHeader->e_phentsize); \
37 if (pHeader->e_phentsize != sizeof(Minijail_Elf ## bit ## _Phdr)) \
Delfparse.h43 Elf32_Half e_phentsize; /* Program header table entry size */ member
61 Elf64_Half e_phentsize; /* Program header table entry size */ member
/external/elfutils/tests/
Dnewfile.c45 ehdr->e_phentsize, in print_ehdr()
124 ZERO_TEST (e_phentsize); in main()
156 VALUE_TEST (e_phentsize, (int) sizeof (Elf32_Phdr)); in main()
Dupdate1.c76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Dupdate2.c77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
137 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Delfshphehdr.c120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in test()
147 check ("e_phentsize", ehdr.e_phentsize == phentsize); in test()
Dupdate3.c86 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
192 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
Dupdate4.c90 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
344 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
/external/syslinux/com32/lib/sys/module/i386/
Delf_module.c48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize); in load_segments()
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module); in load_segments()
56 cr_pht = (Elf32_Phdr*)(pht + i * elf_hdr->e_phentsize); in load_segments()
113 cr_pht = (Elf32_Phdr*)(pht + i * elf_hdr->e_phentsize); in load_segments()
/external/syslinux/com32/lib/sys/module/x86_64/
Delf_module.c48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize); in load_segments()
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module); in load_segments()
56 cr_pht = (Elf64_Phdr*)(pht + i * elf_hdr->e_phentsize); in load_segments()
113 cr_pht = (Elf64_Phdr*)(pht + i * elf_hdr->e_phentsize); in load_segments()
/external/syslinux/com32/modules/
Delf.c109 if (eh->e_phentsize < sizeof(Elf32_Phdr)) in boot_elf()
115 if (eh->e_phoff + eh->e_phentsize * eh->e_phnum > len) in boot_elf()
166 ph = (Elf32_Phdr *) ((char *)ph + eh->e_phentsize); in boot_elf()
/external/elfutils/libelf/
Delf32_newphdr.c101 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phentsize = in ElfW2()
161 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phentsize = in ElfW2()
175 assert (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phentsize in ElfW2()
Dgelf_update_ehdr.c89 COPY (e_phentsize); in gelf_update_ehdr()
Dgelf_getehdr.c82 COPY (e_phentsize); in __gelf_getehdr_rdlock()
/external/syslinux/gpxe/src/include/
Delf.h181 Elf32_Half e_phentsize; /* Size of program header entry. */ member
198 Elf64_Half e_phentsize; /* Size of program header entry. */ member
/external/syslinux/com32/mboot/
Dmap.c149 eh->e_phentsize < sizeof(Elf32_Phdr) || in map_image()
150 !eh->e_phnum || eh->e_phoff + eh->e_phentsize * eh->e_phnum > len) in map_image()
224 ph = (Elf32_Phdr *) ((char *)ph + eh->e_phentsize); in map_image()
/external/syslinux/com32/lib/sys/module/
Delfutils.h36 return (Elf_Phdr*)((Elf_Off)elf_pht + index * elf_hdr->e_phentsize); in elf_get_ph()
/external/syslinux/core/elflink/
Delfutils.h38 return (Elf32_Phdr *) ((Elf32_Off) elf_pht + index * elf_hdr->e_phentsize); in elf_get_ph()
/external/syslinux/efi/
Dwrapper.c202 phentsize = e32_hdr.e_phentsize; in main()
215 phentsize = e64_hdr.e_phentsize; in main()
/external/kernel-headers/original/uapi/linux/
Delf.h213 Elf32_Half e_phentsize; member
230 Elf64_Half e_phentsize; member
/external/syslinux/com32/include/sys/
Delf64.h71 Elf64_Half e_phentsize; member
Delf32.h71 Elf32_Half e_phentsize; member
/external/elfutils/libdwfl/
Delf-from-memory.c139 phentsize = ehdr.e32.e_phentsize; in elf_from_remote_memory()
151 phentsize = ehdr.e64.e_phentsize; in elf_from_remote_memory()
/external/syslinux/gpxe/src/image/
Delf.c143 phoff += ehdr.e_phentsize, phnum-- ) { in elf_load()
/external/syslinux/com32/tools/
Drelocs.c279 ehdr.e_phentsize = elf16_to_cpu(ehdr.e_phentsize); in read_ehdr()
297 if (ehdr.e_phentsize != sizeof(Elf32_Phdr)) { in read_ehdr()

123