/third_party/elfutils/libelf/ |
D | elf32_getphdr.c | 46 ElfW2(LIBELFBITS,Phdr) * in ElfW2() argument 49 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() 83 size_t size = phnum * sizeof (ElfW2(LIBELFBITS,Phdr)); in ElfW2() 85 if (phnum > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Phdr)) in ElfW2() 111 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) - 1)) == 0)) in ElfW2() 116 ElfW2(LIBELFBITS,Phdr) *notcvt; in ElfW2() 117 ElfW2(LIBELFBITS,Phdr) *phdr; in ElfW2() 122 (ElfW2(LIBELFBITS,Phdr) *) malloc (size); in ElfW2() 143 & (__alignof__ (ElfW2(LIBELFBITS,Phdr)) in ElfW2() 149 notcvt = (ElfW2(LIBELFBITS,Phdr) *) malloc (size); in ElfW2() [all …]
|
D | elf32_newphdr.c | 45 ElfW2(LIBELFBITS,Phdr) * in ElfW2() argument 48 ElfW2(LIBELFBITS,Phdr) *result; in ElfW2() 105 sizeof (ElfW2(LIBELFBITS,Phdr)); in ElfW2() 118 if (unlikely (count > SIZE_MAX / sizeof (ElfW2(LIBELFBITS,Phdr)))) in ElfW2() 137 result = (ElfW2(LIBELFBITS,Phdr) *) in ElfW2() 139 count * sizeof (ElfW2(LIBELFBITS,Phdr))); in ElfW2() 162 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr))); in ElfW2() 185 memset (result, '\0', count * sizeof (ElfW2(LIBELFBITS,Phdr))); in ElfW2()
|
D | elf32_updatefile.c | 172 assert (sizeof (ElfW2(LIBELFBITS,Phdr)) in __elfw2() 190 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum, 1); in __elfw2() 195 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum); in __elfw2() 583 assert (sizeof (ElfW2(LIBELFBITS,Phdr)) in __elfw2() 595 ElfW2(LIBELFBITS,Phdr) *tmp_phdr = NULL; in __elfw2() 596 ElfW2(LIBELFBITS,Phdr) *out_phdr = elf->state.ELFW(elf,LIBELFBITS).phdr; in __elfw2() 613 tmp_phdr = (ElfW2(LIBELFBITS,Phdr) *) in __elfw2() 614 malloc (sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum); in __elfw2() 623 sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum, 1); in __elfw2() 630 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum; in __elfw2() [all …]
|
D | abstract.h | 58 START (32, Phdr, Ext##Phdr) \ 67 END (32, Ext##Phdr) 69 START (64, Phdr, Ext##Phdr) \ 78 END (64, Ext##Phdr)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ELF.cpp | 508 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { in dynamicEntries() 509 if (Phdr.p_type == ELF::PT_DYNAMIC) { in dynamicEntries() 511 reinterpret_cast<const Elf_Dyn *>(base() + Phdr.p_offset), in dynamicEntries() 512 Phdr.p_filesz / sizeof(Elf_Dyn)); in dynamicEntries() 513 DynSecSize = Phdr.p_filesz; in dynamicEntries() 564 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) in toMappedAddr() 565 if (Phdr.p_type == ELF::PT_LOAD) in toMappedAddr() 566 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); in toMappedAddr() 570 [](uint64_t VAddr, const Elf_Phdr_Impl<ELFT> *Phdr) { in toMappedAddr() argument 571 return VAddr < Phdr->p_vaddr; in toMappedAddr() [all …]
|
/third_party/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 57 Elf_W(Phdr) *phdr, *ptxt = NULL, *peh_hdr = NULL, *pdyn = NULL; in dwarf_find_unwind_table() 70 const Elf_W(Phdr) *param_exidx = NULL; in dwarf_find_unwind_table() 90 phdr = (Elf_W(Phdr) *) ((char *) ei->image + ehdr->e_phoff); in dwarf_find_unwind_table() 91 if (((unw_word_t)phdr) + sizeof(Elf_W(Phdr)) > max_load_addr || in dwarf_find_unwind_table() 92 ((unw_word_t)phdr) + sizeof(Elf_W(Phdr)) < min_load_addr) { in dwarf_find_unwind_table() 104 if (((unw_word_t)(&(phdr[i])) + sizeof(Elf_W(Phdr))) > max_load_addr || in dwarf_find_unwind_table() 105 ((unw_word_t)(&(phdr[i])) + sizeof(Elf_W(Phdr))) < min_load_addr) { in dwarf_find_unwind_table()
|
/third_party/musl/src/internal/ |
D | vdso.c | 13 typedef Elf32_Phdr Phdr; typedef 19 typedef Elf64_Phdr Phdr; typedef 50 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __vdsosym()
|
D | dynlink.h | 12 typedef Elf32_Phdr Phdr; typedef 19 typedef Elf64_Phdr Phdr; typedef
|
/third_party/musl/porting/linux/user/src/internal/ |
D | vdso.c | 28 typedef Elf32_Phdr Phdr; typedef 34 typedef Elf64_Phdr Phdr; typedef 77 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __get_vdso_info()
|
D | dynlink.h | 17 typedef Elf32_Phdr Phdr; typedef 29 typedef Elf64_Phdr Phdr; typedef 94 Phdr *phdr;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELF.h | 80 using Elf_Phdr = typename ELFT::Phdr; 217 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { in notes_begin() argument 218 assert(Phdr.p_type == ELF::PT_NOTE && "Phdr is not of type PT_NOTE"); in notes_begin() 220 if (Phdr.p_offset + Phdr.p_filesz > getBufSize()) { in notes_begin() 222 Twine::utohexstr(Phdr.p_offset) + ") or size (0x" + in notes_begin() 223 Twine::utohexstr(Phdr.p_filesz) + ")"); in notes_begin() 226 return Elf_Note_Iterator(base() + Phdr.p_offset, Phdr.p_filesz, Err); in notes_begin() 261 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr, in notes() argument 263 return make_range(notes_begin(Phdr, Err), notes_end()); in notes()
|
/third_party/node/deps/postject/ |
D | postject-api.h | 134 for (; n > 0; n--, p += sizeof(ElfW(Phdr))) { in postject_find_resource() 135 ElfW(Phdr)* phdr = (ElfW(Phdr)*)p; in postject_find_resource()
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
D | postject-api.h | 134 for (; n > 0; n--, p += sizeof(ElfW(Phdr))) { in postject_find_resource() 135 ElfW(Phdr)* phdr = (ElfW(Phdr)*)p; in postject_find_resource()
|
/third_party/libunwind/src/ |
D | dl-iterate-phdr.c | 79 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) (start + ehdr->e_phoff); in dl_iterate_phdr()
|
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
D | ldso_dl_iterate_phdr_test.cpp | 52 const ElfW(Phdr)* phdr = reinterpret_cast<const ElfW(Phdr)*>(&info->dlpi_phdr[i]); in CallBack002()
|
/third_party/musl/porting/linux/user/src/env/ |
D | __init_tls.c | 80 typedef Elf32_Phdr Phdr; typedef 82 typedef Elf64_Phdr Phdr; typedef 91 Phdr *phdr, *tls_phdr=0; in static_init_tls()
|
/third_party/musl/src/env/ |
D | __init_tls.c | 75 typedef Elf32_Phdr Phdr; typedef 77 typedef Elf64_Phdr Phdr; typedef 86 Phdr *phdr, *tls_phdr=0; in static_init_tls()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | elf_mem_image.cc | 106 const ElfW(Phdr) *ElfMemImage::GetPhdr(int index) const { in ElfW() argument 108 return GetTableElement<ElfW(Phdr)>(ehdr_, in ElfW() 198 const ElfW(Phdr) *dynamic_program_header = nullptr; in Init() 200 const ElfW(Phdr) *const program_header = GetPhdr(i); in Init()
|
/third_party/musl/porting/liteos_a/user/src/env/ |
D | __init_tls.c | 107 typedef Elf32_Phdr Phdr; typedef 109 typedef Elf64_Phdr Phdr; typedef 118 Phdr *phdr, *tls_phdr=0; in static_init_tls()
|
/third_party/musl/ldso/ |
D | dlstart.c | 57 Phdr *ph = (void *)(base + eh->e_phoff); in _dlstart_c() 108 Phdr *ph = (void *)aux[AT_PHDR]; in _dlstart_c()
|
/third_party/musl/ndk_musl_include/ |
D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|
/third_party/musl/include/ |
D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|