Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_phdr_16kib_compat.cpp66 const ElfW(Phdr)* relro = nullptr; in HasAtMostOneRelroSegment() local
68 const ElfW(Phdr)* phdr = &phdr_table_[i]; in HasAtMostOneRelroSegment() local
126 const ElfW(Phdr)* relro_phdr = nullptr; in IsEligibleFor16KiBAppCompat() local
132 const ElfW(Phdr)* last_rw = nullptr; in IsEligibleFor16KiBAppCompat() local
133 const ElfW(Phdr)* first_rw = nullptr; in IsEligibleFor16KiBAppCompat() local
136 const ElfW(Phdr)* curr = &phdr_table_[i]; in IsEligibleFor16KiBAppCompat() local
137 const ElfW(Phdr)* prev = (i > 0) ? &phdr_table_[i - 1] : nullptr; in IsEligibleFor16KiBAppCompat() local
223 const ElfW(Phdr)* phdr = &phdr_table_[seg_idx]; in CompatMapSegment() local
234 const ElfW(Addr) offset = file_offset_ + __builtin_align_down(phdr->p_offset, kCompatPageSize); in CompatMapSegment() local
Dlinker_phdr.cpp403 const ElfW(Shdr)* dynamic_shdr = nullptr; in ReadDynamicSection() local
420 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadDynamicSection() local
456 const ElfW(Shdr)* strtab_shdr = &shdr_table_[dynamic_shdr->sh_link]; in ReadDynamicSection() local
510 const ElfW(Phdr)* phdr = &phdr_table[i]; in phdr_table_get_load_size() local
545 const ElfW(Phdr)* phdr = &phdr_table_[i]; in CheckProgramHeaderAlignment() local
739 const ElfW(Phdr)* phdr = &phdr_table_[i]; in ReadPadSegmentNote() local
779 const ElfW(Nhdr)* note_hdr = nullptr; in ReadPadSegmentNote() local
811 const ElfW(Phdr)* phdr = &phdr_table[phdr_idx]; in _extend_load_segment_vma() local
812 const ElfW(Phdr)* next = nullptr; in _extend_load_segment_vma() local
853 const ElfW(Phdr)* phdr = &phdr_table_[seg_idx]; in MapSegment() local
[all …]
Dlinker_relocate.cpp112 …const ElfW(Sym)* local_sym = soinfo_do_lookup(sym_name, vi, &local_found_in, relocator.lookup_list… in lookup_symbol() local
174 const ElfW(Sym)* sym = nullptr; in process_relocation_impl() local
308 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
323 const ElfW(Addr) result = sym_addr + get_addend_rel(); in process_relocation_impl() local
334 const ElfW(Addr) result = sym_addr + get_addend_norel(); in process_relocation_impl() local
376 const ElfW(Addr) ifunc_addr = relocator.si->load_bias + get_addend_rel(); in process_relocation_impl() local
380 const ElfW(Addr) result = call_ifunc_resolver(ifunc_addr); in process_relocation_impl() local
439 const ElfW(Addr) result = sym_addr + get_addend_rel() - TLS_DTV_OFFSET; in process_relocation_impl() local
505 const ElfW(Addr) target = sym_addr + reloc.r_addend; in process_relocation_impl() local
506 const ElfW(Addr) base = reinterpret_cast<ElfW(Addr)>(rel_target); in process_relocation_impl() local
[all …]
Dlinker_soinfo.cpp115 __attribute__((noinline)) static const ElfW(Sym)* in ElfW() function
136 if (const ElfW(Sym)* sym = lib->si_->find_symbol_by_name(elf_symbol_name, vi)) { in ElfW() local
149 const ElfW(Addr) bloom_word = lib->gnu_bloom_filter_[word_num]; in ElfW() local
166 const ElfW(Sym)* sym = nullptr; in ElfW() local
189 const ElfW(Sym)* soinfo_do_lookup(const char* name, const version_info* vi, in ElfW() function
241 const ElfW(Versym)* soinfo::get_versym(size_t n) const { in ElfW() function
246 ElfW(Addr) soinfo::get_verneed_ptr() const { in ElfW() function
254 ElfW(Addr) soinfo::get_verdef_ptr() const { in ElfW() function
288 const ElfW(Sym)* soinfo::find_symbol_by_name(SymbolName& symbol_name, in ElfW() function
293 ElfW(Addr) soinfo::apply_memtag_if_mte_globals(ElfW(Addr) sym_addr) 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_main.cpp439 for (const ElfW(Dyn)* d = si->dynamic; d->d_tag != DT_NULL; ++d) { in linker_main() local
519 const ElfW(Phdr)* phdr_table = in get_elf_exec_load_bias() local
521 const ElfW(Phdr)* phdr_end = phdr_table + elf->e_phnum; in get_elf_exec_load_bias() local
523 for (const ElfW(Phdr)* phdr = phdr_table; phdr < phdr_end; phdr++) { in get_elf_exec_load_bias() local
786 for (const ElfW(Dyn)* d = tmp_linker_so.dynamic; d->d_tag != DT_NULL; ++d) { in __linker_init_post_relocation() local
Dlinker_phdr.h65 const ElfW(Phdr)* loaded_phdr() const { return loaded_phdr_; } in ElfW() function
66 const ElfW(Dyn)* dynamic() const { return dynamic_; } in ElfW() function
Dlinker.cpp740 static const ElfW(Sym)* dlsym_handle_lookup_impl(android_namespace_t* ns, in ElfW() function
746 const ElfW(Sym)* result = nullptr; in ElfW() local
776 static const ElfW(Sym)* dlsym_linear_lookup(android_namespace_t* ns, in ElfW() function
797 const ElfW(Sym)* s = nullptr; in ElfW() local
836 static const ElfW(Sym)* dlsym_handle_lookup(soinfo* si, in ElfW() function
869 const ElfW(Phdr)* phdr = &si->phdr[i]; in find_containing_library() local
1277 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in load_library() local
1299 for (const ElfW(Dyn)* d = elf_reader.dynamic(); d->d_tag != DT_NULL; ++d) { in load_library() local
2303 const ElfW(Sym)* sym = nullptr; in do_dlsym() local
2637 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.h301 const ElfW(Versym)* get_versym_table() const { in ElfW() function
/bionic/libc/bionic/
Delf_note.cpp47 const ElfW(Nhdr)* note = reinterpret_cast<const ElfW(Nhdr)*>(p); in __get_elf_note() local
79 const ElfW(Phdr)* phdr = &phdr_start[i]; in __find_elf_note() local
Dlibc_init_mte.cpp65 const ElfW(Nhdr) * note; in __get_memtag_level_from_note() local
Dbionic_elf_tls.cpp61 const ElfW(Phdr)& phdr = phdr_table[i]; in __bionic_get_tls_segment() 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
Ddlext_test.cpp2030 const ElfW(Phdr)* phdr = info->dlpi_phdr + i; in TEST() local
/bionic/libc/include/
Dlink.h47 #define ElfW(type) Elf64_ ## type macro