Home
last modified time | relevance | path

Searched refs:Addr (Results 1 – 8 of 8) sorted by relevance

/bionic/linker/
Dlinker_phdr.h48 ElfW(Addr) load_start() { return reinterpret_cast<ElfW(Addr)>(load_start_); } in load_start()
50 ElfW(Addr) load_bias() { return load_bias_; } in load_bias()
60 bool CheckPhdr(ElfW(Addr));
71 ElfW(Addr) phdr_size_;
78 ElfW(Addr) load_bias_;
85 ElfW(Addr)* min_vaddr = nullptr, ElfW(Addr)* max_vaddr = nullptr);
87 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bi…
89 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_…
91 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_b…
93 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load…
[all …]
Dlinker_phdr.cpp223 ElfW(Addr) page_min = PAGE_START(header_.e_phoff); in ReadProgramHeader()
224 ElfW(Addr) page_max = PAGE_END(header_.e_phoff + (phdr_num_ * sizeof(ElfW(Phdr)))); in ReadProgramHeader()
225 ElfW(Addr) page_offset = PAGE_OFFSET(header_.e_phoff); in ReadProgramHeader()
251 ElfW(Addr)* out_min_vaddr, in phdr_table_get_load_size()
252 ElfW(Addr)* out_max_vaddr) { in phdr_table_get_load_size()
253 ElfW(Addr) min_vaddr = UINTPTR_MAX; in phdr_table_get_load_size()
254 ElfW(Addr) max_vaddr = 0; in phdr_table_get_load_size()
293 ElfW(Addr) min_vaddr; in ReserveAddressSpace()
344 ElfW(Addr) seg_start = phdr->p_vaddr + load_bias_; in LoadSegments()
345 ElfW(Addr) seg_end = seg_start + phdr->p_memsz; in LoadSegments()
[all …]
Dlinker.cpp84 static ElfW(Addr) get_elf_exec_load_bias(const ElfW(Ehdr)* elf);
703 ElfW(Addr) address = reinterpret_cast<ElfW(Addr)>(p); in find_containing_library()
713 ElfW(Addr) soaddr = reinterpret_cast<ElfW(Addr)>(addr) - si->base; in ElfW()
1072 static ElfW(Addr) call_ifunc_resolver(ElfW(Addr) resolver_addr) { in call_ifunc_resolver()
1073 typedef ElfW(Addr) (*ifunc_resolver_t)(void); in call_ifunc_resolver() typedef
1075 ElfW(Addr) ifunc_addr = ifunc_resolver(); in call_ifunc_resolver()
1086 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rela->r_offset + load_bias); in Relocate()
1087 ElfW(Addr) sym_addr = 0; in Relocate()
1167 *reinterpret_cast<ElfW(Addr)*>(reloc) = (sym_addr + rela->r_addend); in Relocate()
1174 *reinterpret_cast<ElfW(Addr)*>(reloc) = (sym_addr + rela->r_addend); in Relocate()
[all …]
Dlinker.h121 ElfW(Addr) entry;
122 ElfW(Addr) base;
152 ElfW(Addr)** plt_got;
197 ElfW(Addr) load_bias;
222 ElfW(Addr) resolve_symbol_address(ElfW(Sym)* s);
/bionic/libc/include/
Dlink.h43 ElfW(Addr) dlpi_addr;
58 ElfW(Addr) l_addr;
69 ElfW(Addr) r_brk;
75 ElfW(Addr) r_ldbase;
/bionic/libc/bionic/
Dlibc_init_static.cpp80 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr); in apply_gnu_relro()
81 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz); in apply_gnu_relro()
Ddl_iterate_phdr_static.cpp77 vdso_info.dlpi_addr = (ElfW(Addr)) ehdr_vdso - vdso_info.dlpi_phdr[i].p_vaddr; in dl_iterate_phdr()
Dvdso.cpp86 ElfW(Addr) vdso_addr = 0; in __libc_init_vdso()