/aosp12/bionic/linker/ |
H A D | linker_phdr.cpp | 379 const ElfW(Shdr)* dynamic_shdr = nullptr; in ReadDynamicSection() local 396 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() local 502 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() local 540 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() local 795 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot() local 880 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot() local 956 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_serialize_gnu_relro() local 1019 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_map_gnu_relro() local 1099 const ElfW(Phdr)* phdr = phdr_table; in phdr_table_get_arm_exidx() local 1135 const ElfW(Phdr)& phdr = phdr_table[i]; in phdr_table_get_dynamic_section() local [all …]
|
H A D | linker_relocate.cpp | 168 const ElfW(Sym)* sym = nullptr; in process_relocation_impl() local 299 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local 313 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local 323 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local 358 const ElfW(Addr) result = call_ifunc_resolver(ifunc_addr); in process_relocation_impl() local 416 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local 482 const ElfW(Addr) target = sym_addr + reloc.r_addend; in process_relocation_impl() local 483 const ElfW(Addr) base = reinterpret_cast<ElfW(Addr)>(rel_target); in process_relocation_impl() local 495 const ElfW(Addr) target = sym_addr + get_addend_rel(); in process_relocation_impl() local 496 const ElfW(Addr) base = reinterpret_cast<ElfW(Addr)>(rel_target); in process_relocation_impl() local [all …]
|
H A D | linker_soinfo.cpp | 118 __attribute__((noinline)) static const ElfW(Sym)* in ElfW() function 174 const ElfW(Sym)* sym = nullptr; in ElfW() local 262 const ElfW(Versym)* soinfo::get_versym(size_t n) const { in ElfW() function 267 ElfW(Addr) soinfo::get_verneed_ptr() const { in ElfW() function 283 ElfW(Addr) soinfo::get_verdef_ptr() const { in ElfW() function 335 const ElfW(Addr) bloom_word = gnu_bloom_filter_[word_num]; in ElfW() local 361 const ElfW(Versym)* versym = get_versym_table(); in ElfW() local 390 const ElfW(Versym)* versym = get_versym_table(); in ElfW() local 427 ElfW(Sym)* soinfo::gnu_addr_lookup(const void* addr) { in ElfW() function 448 ElfW(Sym)* soinfo::elf_addr_lookup(const void* addr) { in ElfW() function [all …]
|
H A D | linker_note_gnu_property.cpp | 53 const ElfW(NhdrGNUProperty)* GnuPropertySection::FindSegment(const ElfW(Phdr)* phdr, in ElfW() function 138 const ElfW(Prop)* property = reinterpret_cast<const ElfW(Prop)*>(¬e_nhdr->n_desc[offset]); in Parse() local 139 const ElfW(Word) property_size = in Parse() local 161 const ElfW(Word) flags = *reinterpret_cast<const ElfW(Word)*>(&property->pr_data[0]); in Parse() local
|
H A D | linker_phdr.h | 56 const ElfW(Phdr)* loaded_phdr() const { return loaded_phdr_; } in ElfW() function 57 const ElfW(Dyn)* dynamic() const { return dynamic_; } in ElfW() function
|
H A D | linker_main.cpp | 545 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() local 547 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() local 549 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() local 685 const ElfW(Addr) load_bias = get_elf_exec_load_bias(elf_hdr); in __linker_init() local 730 for (const ElfW(Dyn)* d = tmp_linker_so.dynamic; d->d_tag != DT_NULL; ++d) { in __linker_init_post_relocation() local
|
H A D | linker.cpp | 699 static const ElfW(Sym)* dlsym_handle_lookup_impl(android_namespace_t* ns, in ElfW() function 705 const ElfW(Sym)* result = nullptr; in ElfW() local 735 static const ElfW(Sym)* dlsym_linear_lookup(android_namespace_t* ns, in ElfW() function 756 const ElfW(Sym)* s = nullptr; in ElfW() local 795 static const ElfW(Sym)* dlsym_handle_lookup(soinfo* si, in ElfW() function 828 const ElfW(Phdr)* phdr = &si->phdr[i]; in find_containing_library() local 1067 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in for_each_dt_needed() local 1250 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in load_library() local 2230 const ElfW(Sym)* sym = nullptr; in do_dlsym() local 2585 const ElfW(Word) elf_hash = vernaux->vna_hash; in init_verneed() local [all …]
|
H A D | linker_cfi.cpp | 145 if (const ElfW(Sym)* sym = si->find_symbol_by_name(name, nullptr)) { in soinfo_find_symbol() local
|
H A D | linker_note_gnu_property_test.cpp | 129 ElfW(NhdrGNUProperty)* data() const { return note; } in ElfW() function in GnuPropertySectionBuilder
|
H A D | linker_soinfo.h | 298 const ElfW(Versym)* get_versym_table() const { in ElfW() function
|
/aosp12/bionic/tests/ |
H A D | link_test.cpp | 65 const ElfW(Phdr)* phdr = reinterpret_cast<const ElfW(Phdr)*>(&info->dlpi_phdr[i]); in TEST() local 67 const ElfW(Ehdr)* ehdr = reinterpret_cast<const ElfW(Ehdr)*>(info->dlpi_addr + in TEST() local 146 static ElfW(Dyn)* find_dynamic(const ProgHdr& phdr, ElfW(Addr) load_bias) { in ElfW() function
|
/aosp12/bionic/libc/bionic/ |
H A D | libc_init_static.cpp | 209 const ElfW(Phdr)* phdr = &phdr_start[i]; in __get_memtag_note() local 216 const ElfW(Nhdr)* note = reinterpret_cast<const ElfW(Nhdr)*>(p); in __get_memtag_note() local
|
H A D | bionic_elf_tls.cpp | 60 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment() local
|
/aosp12/bionic/libc/include/ |
H A D | link.h | 40 #define ElfW(type) Elf64_ ## type macro
|
/aosp12/system/chre/platform/shared/include/chre/platform/shared/ |
H A D | loader_util.h | 52 #define ElfW(type) Elf64_##type macro 54 #define ElfW(type) Elf32_##type macro
|