Searched refs:load_bias (Results 1 – 14 of 14) sorted by relevance
/bionic/linker/ |
D | linker_phdr.h | 52 ElfW(Addr) load_bias() const { return load_bias_; } in load_bias() function 113 size_t phdr_count, ElfW(Addr) load_bias); 116 ElfW(Addr) load_bias); 119 ElfW(Addr) load_bias); 122 ElfW(Addr) load_bias, int fd, size_t* file_offset); 125 ElfW(Addr) load_bias, int fd, size_t* file_offset); 128 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, 133 ElfW(Addr) load_bias, ElfW(Dyn)** dynamic, 137 ElfW(Addr) load_bias);
|
D | linker_wrapper.cpp | 43 ElfW(Addr)* base, ElfW(Addr)* load_bias) { in get_elf_base_from_phdr() argument 46 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr() 61 ElfW(Addr) load_bias = 0; in __linker_init() 64 &base_addr, &load_bias); in __linker_init()
|
D | linker_phdr.cpp | 697 ElfW(Addr) load_bias, int extra_prot_flags) { in _phdr_table_set_load_prot() 706 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in _phdr_table_set_load_prot() 707 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; in _phdr_table_set_load_prot() 737 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_protect_segments() 738 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); in phdr_table_protect_segments() 758 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_unprotect_segments() 759 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE); in phdr_table_unprotect_segments() 766 ElfW(Addr) load_bias, int prot_flags) { in _phdr_table_set_gnu_relro_prot() 791 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in _phdr_table_set_gnu_relro_prot() 792 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; in _phdr_table_set_gnu_relro_prot() [all …]
|
D | linker_main.cpp | 64 ElfW(Addr)* base, ElfW(Addr)* load_bias); 165 si->load_bias = get_elf_exec_load_bias(ehdr_vdso); in add_vdso() 181 map.l_addr = info.load_bias; in init_link_map_head() 183 phdr_table_get_dynamic_section(info.phdr, info.phnum, info.load_bias, &map.l_ld, nullptr); in init_link_map_head() 365 get_elf_base_from_phdr(si->phdr, si->phnum, &si->base, &si->load_bias); 548 ElfW(Addr)* base, ElfW(Addr)* load_bias) { argument 551 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; 601 ElfW(Addr) load_bias; local 604 &linker_addr, &load_bias); 614 tmp_linker_so.load_bias = get_elf_exec_load_bias(elf_hdr);
|
D | linker_mips.cpp | 68 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + load_bias); in relocate() 124 *reinterpret_cast<ElfW(Addr)*>(reloc) += load_bias; in relocate() 154 got[g] = reinterpret_cast<ElfW(Addr)*>(reinterpret_cast<uintptr_t>(got[g]) + load_bias); in mips_relocate_got() 254 abiflags = reinterpret_cast<mips_elf_abiflags_v0*>(ph.p_vaddr + load_bias); in mips_check_and_adjust_fp_modes()
|
D | linker.cpp | 302 map->l_addr = info->load_bias; in notify_gdb_of_load() 533 reinterpret_cast<void*>((*si_found_in)->load_bias)); in soinfo_do_lookup() 708 si_->load_bias = elf_reader.load_bias(); in load() 942 ElfW(Addr) vaddr = address - si->load_bias; in find_containing_library() 2790 ElfW(Addr) address = offset + load_bias; in apply_relr_reloc() 2791 *reinterpret_cast<ElfW(Addr)*>(address) += load_bias; in apply_relr_reloc() 2877 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + load_bias); in relocate() 2990 if (phdr_table_protect_segments(phdr, phnum, load_bias) < 0) { in relocate() 3019 if (phdr_table_unprotect_segments(phdr, phnum, load_bias) < 0) { in relocate() 3053 reinterpret_cast<void*>(load_bias + addend)); in relocate() [all …]
|
D | linker_soinfo.cpp | 310 ElfW(Addr) soaddr = reinterpret_cast<ElfW(Addr)>(addr) - load_bias; in ElfW() 331 ElfW(Addr) soaddr = reinterpret_cast<ElfW(Addr)>(addr) - load_bias; in ElfW() 648 return call_ifunc_resolver(s->st_value + load_bias); in ElfW() 651 return static_cast<ElfW(Addr)>(s->st_value + load_bias); in ElfW()
|
D | dlfcn.cpp | 319 __libdl_info->load_bias = linker_si.load_bias; in get_libdl_info()
|
D | linker_soinfo.h | 209 ElfW(Addr) load_bias;
|
/bionic/libc/malloc_debug/ |
D | MapData.cpp | 73 entry->load_bias = 0; in parse_line() 104 entry->load_bias = 0; in read_loadbias() 126 entry->load_bias = phdr.p_vaddr; in read_loadbias() 205 *rel_pc = pc - entry->start + entry->offset + prev_entry->load_bias; in find() 210 *rel_pc = pc - entry->start + entry->load_bias; in find()
|
D | MapData.h | 48 uintptr_t load_bias; member
|
/bionic/libc/private/ |
D | bionic_elf_tls.h | 47 ElfW(Addr) load_bias, TlsSegment* out);
|
/bionic/tests/ |
D | link_test.cpp | 99 static ElfW(Dyn)* find_dynamic(const ProgHdr& phdr, ElfW(Addr) load_bias) { in ElfW() 102 return reinterpret_cast<ElfW(Dyn)*>(phdr.table[i].p_vaddr + load_bias); in ElfW()
|
/bionic/libc/bionic/ |
D | bionic_elf_tls.cpp | 57 ElfW(Addr) load_bias, TlsSegment* out) { in __bionic_get_tls_segment() 64 reinterpret_cast<void*>(load_bias + phdr.p_vaddr), in __bionic_get_tls_segment()
|