/external/elfutils/src/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 | 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/elfutils/src/libelf/ |
D | elf32_getphdr.c | 79 if (phnum == 0 || ehdr->e_phoff == 0) 89 || ehdr->e_phoff > elf->maximum_size 90 || elf->maximum_size - ehdr->e_phoff < size) 100 if (unlikely (ehdr->e_phoff >= elf->maximum_size) 101 || unlikely (elf->maximum_size - ehdr->e_phoff < size)) 110 + elf->start_offset + ehdr->e_phoff); 184 elf->start_offset + ehdr->e_phoff);
|
D | gelf_update_ehdr.c | 70 || unlikely (src->e_phoff > 0xffffffffull) in gelf_update_ehdr() 85 COPY (e_phoff); in gelf_update_ehdr()
|
D | elf32_updatefile.c | 163 if (ehdr->e_phoff > ehdr->e_ehsize) in __elfw2() 165 __libelf_fill_byte, ehdr->e_phoff - ehdr->e_ehsize); in __elfw2() 179 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 184 memcpy (elf->map_address + elf->start_offset + ehdr->e_phoff, in __elfw2() 199 ehdr->e_phoff) in __elfw2() 565 if (ehdr->e_phoff > ehdr->e_ehsize in __elfw2() 567 ehdr->e_phoff - ehdr->e_ehsize, fillbuf, &filled) in __elfw2() 602 phdr_size, ehdr->e_phoff) in __elfw2() 625 last_offset = (ehdr->e_phoff + sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum); in __elfw2()
|
D | elf_getphdrnum.c | 103 ? elf->state.elf32.ehdr->e_phoff 104 : elf->state.elf64.ehdr->e_phoff);
|
D | gelf_getehdr.c | 79 COPY (e_phoff);
|
D | elf32_updatenull.c | 155 ehdr->e_phoff in __elfw2() 160 update_if_changed (ehdr->e_phoff, in __elfw2()
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | symbol-minimal.c | 115 ehdr.e_phoff = bswap_32(ehdr.e_phoff); in filename__read_build_id() 125 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 164 ehdr.e_phoff = bswap_64(ehdr.e_phoff); in filename__read_build_id() 174 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id()
|
/external/libunwind/src/ |
D | elfxx.c | 250 GET_EHDR_FIELD(ei, ehdr, e_phoff, true); in elf_w() 253 unw_word_t offset = ehdr->e_phoff; in elf_w() 392 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in elf_w() 603 Elf_W(Phdr)* phdr = (Elf_W(Phdr)*) ((char*) ei->u.mapped.image + ehdr->e_phoff); in elf_w() 615 GET_EHDR_FIELD(ei, &ehdr, e_phoff, false); in elf_w() 617 unw_word_t offset = ehdr.e_phoff; in elf_w()
|
/external/elfutils/src/libdwfl/ |
D | link_map.c | 552 && (phdr->p_offset & -align) == (ehdr.e_phoff & -align)) in consider_executable() 559 if (ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr != at_phdr) in consider_executable() 567 if (((ehdr.e_phoff - phdr->p_offset + phdr->p_vaddr) & -align) in consider_executable() 572 GElf_Addr bias = (at_phdr - (ehdr.e_phoff - phdr->p_offset in consider_executable() 835 off_t off = ehdr->e_phoff; in dwfl_link_map_report()
|
D | elf-from-memory.c | 131 phoff = ehdr.e32.e_phoff; in elf_from_remote_memory() 143 phoff = ehdr.e64.e_phoff; in elf_from_remote_memory()
|
/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/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()
|
D | elfutils.cc | 96 GetOffset<ElfClass, Phdr>(elf_header, elf_header->e_phoff); in FindElfClassSegment()
|
D | elf_core_dump.cc | 128 header->e_phoff, header->e_phentsize, index)); in GetProgramHeader()
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 130 GET_EHDR_FIELD(ei, &ehdr, e_phoff, false); in dwarf_find_unwind_table_memory() 134 Elf_W(Off) offset = ehdr.e_phoff; in dwarf_find_unwind_table_memory() 275 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); in dwarf_find_unwind_table()
|
/external/elfutils/src/src/ |
D | elfcmp.c | 197 || ehdr1->e_phoff != ehdr2->e_phoff in main() 554 phdr_region.from = ehdr1->e_phoff; in main() 555 phdr_region.to = ehdr1->e_phoff + phnum1 * ehdr1->e_phentsize; in main()
|
/external/libunwind/src/coredump/ |
D | _UCD_create.c | 146 off_t ofs = (_64bits ? elf_header64.e_phoff : elf_header32.e_phoff); in _UCD_create()
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 107 phdr = (Elf64_Phdr *) ((char *) edi->ei.image + ehdr->e_phoff); in ia64_find_unwind_table()
|
/external/valgrind/coregrind/m_ume/ |
D | elf.c | 139 sres = VG_(pread)(fd, e->p, phsz, e->e.e_phoff); in readelf() 429 info->phdr = minaddr + ebase + e->e.e_phoff; in VG_()
|