Home
last modified time | relevance | path

Searched defs:ElfW (Results 1 – 14 of 14) sorted by relevance

/bionic/linker/
Dlinker_phdr.cpp390 const ElfW(Shdr)* dynamic_shdr = nullptr; in ReadDynamicSection() local
407 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() local
459 const ElfW(Shdr)* strtab_shdr = &shdr_table_[dynamic_shdr->sh_link]; in ReadDynamicSection() local
513 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() local
551 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() local
699 const ElfW(Phdr)* phdr = &phdr_table_[i]; in LoadSegments() local
806 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot() local
807 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_load_prot() local
891 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot() local
892 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_gnu_relro_prot() local
[all …]
Dlinker_relocate.cpp110 …const ElfW(Sym)* local_sym = soinfo_do_lookup(sym_name, vi, &local_found_in, relocator.lookup_list… in lookup_symbol() local
170 const ElfW(Sym)* sym = nullptr; in process_relocation_impl() local
314 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
328 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local
338 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
347 const ElfW(Addr) result = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
369 const ElfW(Addr) ifunc_addr = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
373 const ElfW(Addr) result = call_ifunc_resolver(ifunc_addr); in process_relocation_impl() local
431 const ElfW(Addr) result = sym_addr + get_addend_rel() - TLS_DTV_OFFSET; in process_relocation_impl() local
497 const ElfW(Addr) target = sym_addr + reloc.r_addend; in process_relocation_impl() local
[all …]
Dlinker_soinfo.cpp118 __attribute__((noinline)) static const ElfW(Sym)* in ElfW() function
139 if (const ElfW(Sym)* sym = lib->si_->find_symbol_by_name(elf_symbol_name, vi)) { in ElfW() local
152 const ElfW(Addr) bloom_word = lib->gnu_bloom_filter_[word_num]; in ElfW() local
174 const ElfW(Sym)* sym = nullptr; in ElfW() local
207 const ElfW(Sym)* soinfo_do_lookup(const char* name, const version_info* vi, in ElfW() function
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
325 const ElfW(Sym)* soinfo::find_symbol_by_name(SymbolName& symbol_name, in ElfW() function
330 const ElfW(Sym)* soinfo::gnu_lookup(SymbolName& symbol_name, const version_info* vi) const { in ElfW() function
[all …]
Dlinker_note_gnu_property.cpp53 const ElfW(NhdrGNUProperty)* GnuPropertySection::FindSegment(const ElfW(Phdr)* phdr, in ElfW() function
138 const ElfW(Prop)* property = reinterpret_cast<const ElfW(Prop)*>(&note_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
Dlinker_phdr.h56 const ElfW(Phdr)* loaded_phdr() const { return loaded_phdr_; } in ElfW() function
57 const ElfW(Dyn)* dynamic() const { return dynamic_; } in ElfW() function
Dlinker_main.cpp540 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() local
542 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() local
544 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() local
759 for (const ElfW(Dyn)* d = tmp_linker_so.dynamic; d->d_tag != DT_NULL; ++d) { in __linker_init_post_relocation() local
Dlinker.cpp731 static const ElfW(Sym)* dlsym_handle_lookup_impl(android_namespace_t* ns, in ElfW() function
737 const ElfW(Sym)* result = nullptr; in ElfW() local
767 static const ElfW(Sym)* dlsym_linear_lookup(android_namespace_t* ns, in ElfW() function
788 const ElfW(Sym)* s = nullptr; in ElfW() local
827 static const ElfW(Sym)* dlsym_handle_lookup(soinfo* si, in ElfW() function
860 const ElfW(Phdr)* phdr = &si->phdr[i]; in find_containing_library() local
1099 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in for_each_dt_needed() local
1280 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in load_library() local
2278 const ElfW(Sym)* sym = nullptr; in do_dlsym() local
2610 const ElfW(Verneed)* verneed = reinterpret_cast<ElfW(Verneed)*>(verneed_ptr + offset); in init_verneed() local
[all …]
Dlinker_cfi.cpp145 if (const ElfW(Sym)* sym = si->find_symbol_by_name(name, nullptr)) { in soinfo_find_symbol() local
Dlinker_note_gnu_property_test.cpp129 ElfW(NhdrGNUProperty)* data() const { return note; } in ElfW() function in GnuPropertySectionBuilder
Dlinker_soinfo.h298 const ElfW(Versym)* get_versym_table() const { in ElfW() function
/bionic/tests/
Dlink_test.cpp65 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
/bionic/libc/bionic/
Dlibc_init_static.cpp192 const ElfW(Phdr)* phdr = &phdr_start[i]; in __get_memtag_note() local
199 const ElfW(Nhdr)* note = reinterpret_cast<const ElfW(Nhdr)*>(p); in __get_memtag_note() local
Dbionic_elf_tls.cpp60 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment() local
/bionic/libc/include/
Dlink.h40 #define ElfW(type) Elf64_ ## type macro