/external/elfutils/tests/ |
D | update2.c | 76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 110 phdr[0].p_offset = ehdr->e_phoff; in main() 111 phdr[0].p_offset = ehdr->e_phoff; in main() 112 phdr[0].p_vaddr = ehdr->e_phoff; in main() 113 phdr[0].p_paddr = ehdr->e_phoff; in main() 136 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | update3.c | 85 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 159 phdr[0].p_offset = ehdr->e_phoff; in main() 160 phdr[0].p_offset = ehdr->e_phoff; in main() 161 phdr[0].p_vaddr = ehdr->e_phoff; in main() 162 phdr[0].p_paddr = ehdr->e_phoff; in main() 191 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | elfshphehdr.c | 73 check ("e_phoff == 0", ehdr.e_phoff == 0); in test() 100 check ("e_phoff == 0", ehdr.e_phoff == 0); in test() 118 ehdr.e_phoff = ehdr.e_ehsize; in test() 120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in test() 140 check ("e_phoff != 0", ehdr.e_phoff != 0); in test()
|
D | update4.c | 89 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 311 phdr[0].p_offset = ehdr->e_phoff; in main() 312 phdr[0].p_offset = ehdr->e_phoff; in main() 313 phdr[0].p_vaddr = ehdr->e_phoff; in main() 314 phdr[0].p_paddr = ehdr->e_phoff; in main() 343 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
D | newfile.c | 41 ehdr->e_phoff, in print_ehdr() 120 ZERO_TEST (e_phoff); in main() 152 ZERO_TEST (e_phoff); in main()
|
D | alldts.c | 228 phdr[0].p_offset = ehdr->e_phoff; in main() 229 phdr[0].p_vaddr = ehdr->e_phoff; in main() 230 phdr[0].p_paddr = ehdr->e_phoff; in main()
|
D | update1.c | 75 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main() 113 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, in main()
|
/external/minijail/ |
D | elfparse.c | 29 pHeader->e_phoff = le ## bit ## toh(pHeader->e_phoff); \ 33 pHeader->e_phoff = be ## bit ## toh(pHeader->e_phoff); \ 40 if (fseek(elf_file, pHeader->e_phoff, SEEK_SET) != 0) \
|
D | elfparse.h | 39 Elf32_Off e_phoff; /* Program header table file offset */ member 57 Elf64_Off e_phoff; /* Program header table file offset */ member
|
/external/elfutils/libelf/ |
D | elf32_getphdr.c | 78 if (phnum == 0 || ehdr->e_phoff == 0) in ElfW2() 88 || ehdr->e_phoff > elf->maximum_size in ElfW2() 89 || elf->maximum_size - ehdr->e_phoff < size) in ElfW2() 99 if (unlikely (ehdr->e_phoff >= elf->maximum_size) in ElfW2() 100 || unlikely (elf->maximum_size - ehdr->e_phoff < size)) in ElfW2() 109 + elf->start_offset + ehdr->e_phoff); in ElfW2() 193 elf->start_offset + ehdr->e_phoff); in ElfW2()
|
D | gelf_update_ehdr.c | 70 || unlikely (src->e_phoff > 0xffffffffull) in gelf_update_ehdr() 85 COPY (e_phoff); in gelf_update_ehdr()
|
D | elf_getphdrnum.c | 89 ? elf->state.elf32.ehdr->e_phoff in __elf_getphdrnum_chk_rdlock() 90 : elf->state.elf64.ehdr->e_phoff); in __elf_getphdrnum_chk_rdlock()
|
D | elf32_updatefile.c | 186 if (ehdr->e_phoff > ehdr->e_ehsize) in __elfw2() 188 __libelf_fill_byte, ehdr->e_phoff - ehdr->e_ehsize); in __elfw2() 202 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 207 memcpy (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 222 ehdr->e_phoff) in __elfw2() 584 if (ehdr->e_phoff > ehdr->e_ehsize in __elfw2() 586 ehdr->e_phoff - ehdr->e_ehsize, fillbuf, &filled) in __elfw2() 621 phdr_size, ehdr->e_phoff) in __elfw2() 644 last_offset = (ehdr->e_phoff + sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum); in __elfw2()
|
D | elf32_updatenull.c | 115 if (ehdr->e_phnum == 0 && ehdr->e_phoff != 0) in ELFW() 117 ehdr->e_phoff = 0; in ELFW() 167 ehdr->e_phoff in __elfw2() 172 update_if_changed (ehdr->e_phoff, in __elfw2()
|
D | gelf_getehdr.c | 78 COPY (e_phoff); in __gelf_getehdr_rdlock()
|
/external/syslinux/gpxe/src/include/ |
D | elf.h | 177 Elf32_Off e_phoff; /* Program header file offset. */ member 194 Elf64_Off e_phoff; /* Program header file offset. */ member
|
/external/libunwind/src/ |
D | elfxx.c | 252 GET_EHDR_FIELD(ei, ehdr, e_phoff, true); in elf_w() 255 unw_word_t offset = ehdr->e_phoff; in elf_w() 394 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in elf_w() 408 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in elf_w() 619 Elf_W(Phdr)* phdr = (Elf_W(Phdr)*) ((char*) ei->u.mapped.image + ehdr->e_phoff); in elf_w() 631 GET_EHDR_FIELD(ei, &ehdr, e_phoff, false); in elf_w() 633 unw_word_t offset = ehdr.e_phoff; in elf_w()
|
/external/syslinux/com32/modules/ |
D | elf.c | 115 if (eh->e_phoff + eh->e_phentsize * eh->e_phnum > len) in boot_elf() 126 ph = (Elf32_Phdr *) (cptr + eh->e_phoff); in boot_elf()
|
/external/syslinux/com32/lib/sys/module/ |
D | elfutils.h | 23 return (Elf_Phdr*)((Elf_Off)elf_hdr + elf_hdr->e_phoff); in elf_get_pht()
|
/external/syslinux/core/elflink/ |
D | elfutils.h | 24 return (Elf32_Phdr *) ((Elf32_Off) elf_hdr + elf_hdr->e_phoff); in elf_get_pht()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 229 EXPECT_EQ(0U, header->e_phoff); in TYPED_TEST() 304 EXPECT_EQ(sizeof(Ehdr), header->e_phoff); in TYPED_TEST() 362 reinterpret_cast<const Phdr*>(contents.data() + header->e_phoff); in TYPED_TEST()
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 130 GET_EHDR_FIELD(ei, &ehdr, e_phoff, false); in dwarf_find_unwind_table_memory() 133 Elf_W(Off) offset = ehdr.e_phoff; in dwarf_find_unwind_table_memory() 274 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in dwarf_find_unwind_table()
|
/external/syslinux/efi/ |
D | wrapper.c | 200 phoff = e32_hdr.e_phoff; in main() 213 phoff = e64_hdr.e_phoff; in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 209 Elf32_Off e_phoff; member 226 Elf64_Off e_phoff; /* Program header table file offset */ member
|
/external/elfutils/libdwfl/ |
D | link_map.c | 558 && (phdr->p_offset & -align) == (ehdr.e_phoff & -align)) in consider_executable() 565 if (ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr != at_phdr) in consider_executable() 573 if (((ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr) & -align) in consider_executable() 578 GElf_Addr bias = (at_phdr - (ehdr.e_phoff - phdr->p_offset in consider_executable() 844 off_t off = ehdr->e_phoff; in dwfl_link_map_report()
|