/bionic/linker/ |
D | linker_phdr.h | 56 const ElfW(Phdr)* loaded_phdr() const { return loaded_phdr_; } in ElfW() argument 88 const ElfW(Phdr)* phdr_table_; 113 const ElfW(Phdr)* loaded_phdr_; 125 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, 128 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count); 130 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 134 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, 137 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 140 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, 143 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, [all …]
|
D | linker_phdr.cpp | 350 if (phdr_num_ < 1 || phdr_num_ > 65536/sizeof(ElfW(Phdr))) { in ReadProgramHeaders() 356 size_t size = phdr_num_ * sizeof(ElfW(Phdr)); in ReadProgramHeaders() 357 if (!CheckFileRange(header_.e_phoff, size, alignof(ElfW(Phdr)))) { in ReadProgramHeaders() 370 phdr_table_ = static_cast<ElfW(Phdr)*>(phdr_fragment_.data()); in ReadProgramHeaders() 419 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() 517 size_t phdr_table_get_load_size(const ElfW(Phdr)* phdr_table, size_t phdr_count, in phdr_table_get_load_size() 525 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() 559 size_t phdr_table_get_maximum_alignment(const ElfW(Phdr)* phdr_table, size_t phdr_count) { in phdr_table_get_maximum_alignment() 563 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() 733 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadPadSegmentNote() [all …]
|
D | linker_main.cpp | 68 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, 172 si->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff); in add_vdso() 203 const ElfW(Phdr)* phdr; 230 result.phdr = reinterpret_cast<const ElfW(Phdr)*>(getauxval(AT_PHDR)); in get_executable_info() 545 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() 546 reinterpret_cast<const ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(elf) + offset); in get_elf_exec_load_bias() 547 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() 549 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() 562 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() 632 auto* phdr = reinterpret_cast<ElfW(Phdr)*>(ehdr + __ehdr_start.e_phoff); in relocate_linker() [all …]
|
D | linker_note_gnu_property.h | 79 GnuPropertySection(const ElfW(Phdr)* phdr, size_t phdr_count, const ElfW(Addr) load_bias, 87 const ElfW(NhdrGNUProperty)* FindSegment(const ElfW(Phdr)* phdr, size_t phdr_count,
|
D | linker_wrapper.cpp | 44 static void get_elf_base_from_phdr(const ElfW(Phdr)* phdr_table, size_t phdr_count, in get_elf_base_from_phdr() 65 reinterpret_cast<ElfW(Phdr)*>(args.getauxval(AT_PHDR)), args.getauxval(AT_PHNUM), in __linker_init()
|
D | linker_note_gnu_property_test.cpp | 67 ElfW(Phdr) phdrs[] = { \ 198 ElfW(Phdr) phdrs[] = { in TEST() 211 ElfW(Phdr) phdrs[] = { in TEST() 233 ElfW(Phdr) phdrs[] = { in TEST()
|
D | linker_note_gnu_property.cpp | 42 GnuPropertySection::GnuPropertySection(const ElfW(Phdr)* phdr, size_t phdr_count, in GnuPropertySection() 53 const ElfW(NhdrGNUProperty)* GnuPropertySection::FindSegment(const ElfW(Phdr)* phdr, in ElfW()
|
D | linker_soinfo.h | 165 const ElfW(Phdr)* phdr;
|
D | linker.cpp | 863 const ElfW(Phdr)* phdr = &si->phdr[i]; in find_containing_library()
|
/bionic/libc/bionic/ |
D | elf_note.cpp | 35 const ElfW(Phdr)* phdr_note, const ElfW(Nhdr)** note_hdr, in __get_elf_note() 70 bool __find_elf_note(unsigned int note_type, const char* note_name, const ElfW(Phdr)* phdr_start, in __find_elf_note() 74 const ElfW(Phdr)* phdr = &phdr_start[i]; in __find_elf_note()
|
D | libc_init_static.cpp | 114 ElfW(Phdr)* phdr_start = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)); in apply_gnu_relro() 117 for (ElfW(Phdr)* phdr = phdr_start; phdr < (phdr_start + phdr_ct); phdr++) { in apply_gnu_relro() 135 ElfW(Phdr)* phdr_start = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)); in layout_static_tls() 161 static HeapTaggingLevel __get_memtag_level_from_note(const ElfW(Phdr) * phdr_start, size_t phdr_ct, in __get_memtag_level_from_note() 286 level = __get_memtag_level_from_note(reinterpret_cast<const ElfW(Phdr)*>(phdr_start), phdr_ct, in __get_tagging_level() 416 reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)), getauxval(AT_PHNUM), in __real_libc_init()
|
D | libc_init_dynamic.cpp | 75 const ElfW(Phdr)* phdr, 78 const ElfW(Phdr)* phdr,
|
D | dl_iterate_phdr_static.cpp | 57 …exe_info.dlpi_phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<uintptr_t>(ehdr) + ehdr->e_pho… in dl_iterate_phdr() 91 …vdso_info.dlpi_phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso… in dl_iterate_phdr()
|
D | vdso.cpp | 144 ElfW(Phdr)* vdso_phdr = reinterpret_cast<ElfW(Phdr)*>(vdso_ehdr_addr + vdso_ehdr->e_phoff); in __libc_init_vdso()
|
D | bionic_elf_tls.cpp | 58 bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count, in __bionic_get_tls_segment() 61 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment()
|
/bionic/libc/private/ |
D | elf_note.h | 36 const ElfW(Phdr)* phdr_note, const ElfW(Nhdr)** note_hdr, 40 bool __find_elf_note(unsigned int note_type, const char* note_name, const ElfW(Phdr)* phdr_start,
|
D | bionic_globals.h | 115 void (*load_hook)(ElfW(Addr) base, const ElfW(Phdr)* phdr, ElfW(Half) phnum) = nullptr; 116 void (*unload_hook)(ElfW(Addr) base, const ElfW(Phdr)* phdr, ElfW(Half) phnum) = nullptr;
|
D | bionic_elf_tls.h | 67 __LIBC_HIDDEN__ bool __bionic_get_tls_segment(const ElfW(Phdr)* phdr_table, size_t phdr_count,
|
/bionic/tests/ |
D | link_test.cpp | 65 const ElfW(Phdr)* phdr = reinterpret_cast<const ElfW(Phdr)*>(&info->dlpi_phdr[i]); in TEST() 131 const ElfW(Phdr)* table; 173 .table = reinterpret_cast<ElfW(Phdr)*>(getauxval(AT_PHDR)), in TEST()
|
/bionic/libc/include/ |
D | link.h | 61 const ElfW(Phdr)* _Nullable dlpi_phdr;
|
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 120 ElfW(Phdr) phdr; in GetLoadBias()
|