Home
last modified time | relevance | path

Searched refs:Phdr (Results 1 – 25 of 47) sorted by relevance

12

/third_party/elfutils/libelf/
Delf32_getphdr.c46 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 …]
Delf32_newphdr.c45 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()
Delf32_updatefile.c172 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 …]
Dabstract.h58 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/
DELF.cpp508 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/
DGfind_unwind_table.c57 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/
Dvdso.c13 typedef Elf32_Phdr Phdr; typedef
19 typedef Elf64_Phdr Phdr; typedef
50 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __vdsosym()
Ddynlink.h12 typedef Elf32_Phdr Phdr; typedef
19 typedef Elf64_Phdr Phdr; typedef
/third_party/musl/porting/linux/user/src/internal/
Dvdso.c28 typedef Elf32_Phdr Phdr; typedef
34 typedef Elf64_Phdr Phdr; typedef
77 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __get_vdso_info()
Ddynlink.h17 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/
DELF.h80 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/
Dpostject-api.h134 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/
Dpostject-api.h134 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/
Ddl-iterate-phdr.c79 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/
Dldso_dl_iterate_phdr_test.cpp52 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.c80 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.c75 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/
Delf_mem_image.cc106 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.c107 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/
Ddlstart.c57 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/
Dlink.h24 const ElfW(Phdr) *dlpi_phdr;
/third_party/musl/porting/uniproton/kernel/include/
Dlink.h24 const ElfW(Phdr) *dlpi_phdr;
/third_party/musl/include/
Dlink.h24 const ElfW(Phdr) *dlpi_phdr;
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dlink.h24 const ElfW(Phdr) *dlpi_phdr;
/third_party/musl/porting/liteos_m/kernel/include/
Dlink.h24 const ElfW(Phdr) *dlpi_phdr;

12