Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_phdr.cpp379 const ElfW(Shdr)* dynamic_shdr = nullptr; in ReadDynamicSection() local
396 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() local
448 const ElfW(Shdr)* strtab_shdr = &shdr_table_[dynamic_shdr->sh_link]; 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
688 const ElfW(Phdr)* phdr = &phdr_table_[i]; in LoadSegments() local
795 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_load_prot() local
796 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_load_prot() local
880 const ElfW(Phdr)* phdr = phdr_table; in _phdr_table_set_gnu_relro_prot() local
881 const ElfW(Phdr)* phdr_limit = phdr + phdr_count; in _phdr_table_set_gnu_relro_prot() local
[all …]
Dlinker_relocate.cpp108 …const ElfW(Sym)* local_sym = soinfo_do_lookup(sym_name, vi, &local_found_in, relocator.lookup_list… in lookup_symbol() local
168 const ElfW(Sym)* sym = nullptr; in process_relocation_impl() local
312 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
326 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local
336 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
345 const ElfW(Addr) result = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
367 const ElfW(Addr) ifunc_addr = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
371 const ElfW(Addr) result = call_ifunc_resolver(ifunc_addr); in process_relocation_impl() local
429 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local
495 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.cpp546 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() local
548 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() local
550 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() local
765 for (const ElfW(Dyn)* d = tmp_linker_so.dynamic; d->d_tag != DT_NULL; ++d) { in __linker_init_post_relocation() local
Dlinker.cpp699 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
2561 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.cpp190 const ElfW(Phdr)* phdr = &phdr_start[i]; in __get_memtag_note() local
197 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