Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_phdr.cpp402 const ElfW(Shdr)* dynamic_shdr = nullptr; in ReadDynamicSection() local
419 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() local
471 const ElfW(Shdr)* strtab_shdr = &shdr_table_[dynamic_shdr->sh_link]; in ReadDynamicSection() local
525 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() local
563 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_maximum_alignment() local
733 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadPadSegmentNote() local
766 const ElfW(Nhdr)* note_hdr = nullptr; in ReadPadSegmentNote() local
791 const ElfW(Phdr)* phdr = &phdr_table[phdr_idx]; in _extend_load_segment_vma() local
792 const ElfW(Phdr)* next = nullptr; in _extend_load_segment_vma() local
834 const ElfW(Phdr)* phdr = &phdr_table_[i]; in LoadSegments() 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
316 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
330 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local
340 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
349 const ElfW(Addr) result = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
371 const ElfW(Addr) ifunc_addr = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
375 const ElfW(Addr) result = call_ifunc_resolver(ifunc_addr); in process_relocation_impl() local
434 const ElfW(Addr) result = sym_addr + get_addend_rel() - TLS_DTV_OFFSET; in process_relocation_impl() local
500 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
259 const ElfW(Versym)* soinfo::get_versym(size_t n) const { in ElfW() function
264 ElfW(Addr) soinfo::get_verneed_ptr() const { in ElfW() function
280 ElfW(Addr) soinfo::get_verdef_ptr() const { in ElfW() function
322 const ElfW(Sym)* soinfo::find_symbol_by_name(SymbolName& symbol_name, in ElfW() function
327 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.cpp545 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
795 for (const ElfW(Dyn)* d = tmp_linker_so.dynamic; d->d_tag != DT_NULL; ++d) { in __linker_init_post_relocation() local
Dlinker.cpp734 static const ElfW(Sym)* dlsym_handle_lookup_impl(android_namespace_t* ns, in ElfW() function
740 const ElfW(Sym)* result = nullptr; in ElfW() local
770 static const ElfW(Sym)* dlsym_linear_lookup(android_namespace_t* ns, in ElfW() function
791 const ElfW(Sym)* s = nullptr; in ElfW() local
830 static const ElfW(Sym)* dlsym_handle_lookup(soinfo* si, in ElfW() function
863 const ElfW(Phdr)* phdr = &si->phdr[i]; in find_containing_library() local
1102 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in for_each_dt_needed() local
1283 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in load_library() local
2299 const ElfW(Sym)* sym = nullptr; in do_dlsym() local
2631 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.h300 const ElfW(Versym)* get_versym_table() const { in ElfW() function
/bionic/libc/bionic/
Delf_note.cpp45 const ElfW(Nhdr)* note = reinterpret_cast<const ElfW(Nhdr)*>(p); in __get_elf_note() local
74 const ElfW(Phdr)* phdr = &phdr_start[i]; in __find_elf_note() local
Dbionic_elf_tls.cpp61 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment() local
Dlibc_init_static.cpp163 const ElfW(Nhdr) * note; in __get_memtag_level_from_note() local
/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/include/
Dlink.h46 #define ElfW(type) Elf64_ ## type macro