/third_party/elfutils/libelf/ |
H A D | elf32_getphdr.c | 46 ElfW2(LIBELFBITS,Phdr) * in ElfW2() 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) *) mallo in ElfW2() [all...] |
H A D | elf32_newphdr.c | 45 ElfW2(LIBELFBITS,Phdr) * in ElfW2() 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()
|
H A 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)) * phnu in __elfw2() [all...] |
H A 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)
|
H A D | gelf_xlate.h | 42 TYPE (Phdr, LIBELFBITS)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A 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() 571 return VAddr < Phdr in toMappedAddr() 578 const Elf_Phdr &Phdr = **I; toMappedAddr() local [all...] |
/third_party/musl/src/internal/linux/ |
H A 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()
|
/third_party/musl/porting/linux/user/src/internal/ |
H A 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()
|
H A D | dynlink.h | 17 typedef Elf32_Phdr Phdr; typedef 29 typedef Elf64_Phdr Phdr; typedef 94 Phdr *phdr;
|
/third_party/musl/src/internal/ |
H A 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()
|
H A D | dynlink.h | 23 typedef Elf32_Phdr Phdr; typedef 37 typedef Elf64_Phdr Phdr; typedef 104 Phdr *phdr;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
H A D | ELF.h | 80 using Elf_Phdr = typename ELFT::Phdr; 214 /// \param Phdr the program header to iterate over. 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 in notes_begin() 261 notes(const Elf_Phdr &Phdr, Error &Err) const notes() argument [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A 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/deps/postject/ |
H A 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/libunwind/src/ |
H A 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/ |
H A 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/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
H A D | elf_mem_image.cc | 106 const ElfW(Phdr) *ElfMemImage::GetPhdr(int index) const { 108 return GetTableElement<ElfW(Phdr)>(ehdr_, 198 const ElfW(Phdr) *dynamic_program_header = nullptr; 200 const ElfW(Phdr) *const program_header = GetPhdr(i);
|
/third_party/libunwind/libunwind/src/dwarf/ |
H A D | Gfind_unwind_table.c | 43 Elf_W(Phdr) *phdr, *ptxt = NULL, *peh_hdr = NULL, *pdyn = NULL; in dwarf_find_unwind_table() 53 const Elf_W(Phdr) *parm_exidx = NULL; in dwarf_find_unwind_table() 63 phdr = (Elf_W(Phdr) *) ((char *) edi->ei.image + ehdr->e_phoff); in dwarf_find_unwind_table()
|
/third_party/musl/porting/linux/user/src/env/ |
H A 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/ |
H A D | __init_tls.c | 114 typedef Elf32_Phdr Phdr; typedef 116 typedef Elf64_Phdr Phdr; typedef 125 Phdr *phdr, *tls_phdr=0; in static_init_tls()
|
/third_party/musl/porting/liteos_a/user/src/env/ |
H A 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/ltp/libs/libltpvdso/ |
H A D | parse_vdso.c | 116 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr()
|
/third_party/musl/ldso/ |
H A 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/porting/liteos_m/kernel/include/ |
H A D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | link.h | 24 const ElfW(Phdr) *dlpi_phdr;
|