Home
last modified time | relevance | path

Searched refs:load_bias (Results 1 – 5 of 5) sorted by relevance

/bionic/linker/
Dlinker_phdr.h50 ElfW(Addr) load_bias() { return load_bias_; } in load_bias() function
89 size_t phdr_count, ElfW(Addr) load_bias);
92 ElfW(Addr) load_bias);
95 ElfW(Addr) load_bias);
98 ElfW(Addr) load_bias, int fd);
101 ElfW(Addr) load_bias, int fd);
104 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias,
109 ElfW(Addr) load_bias, ElfW(Dyn)** dynamic,
Dlinker_phdr.cpp440 ElfW(Addr) load_bias, int extra_prot_flags) { in _phdr_table_set_load_prot()
449 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in _phdr_table_set_load_prot()
450 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; in _phdr_table_set_load_prot()
480 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_protect_segments()
481 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); in phdr_table_protect_segments()
501 size_t phdr_count, ElfW(Addr) load_bias) { in phdr_table_unprotect_segments()
502 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, PROT_WRITE); in phdr_table_unprotect_segments()
509 ElfW(Addr) load_bias, int prot_flags) { in _phdr_table_set_gnu_relro_prot()
534 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in _phdr_table_set_gnu_relro_prot()
535 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; in _phdr_table_set_gnu_relro_prot()
[all …]
Dlinker.cpp143 map->l_addr = info->load_bias; in insert_soinfo_into_debug_map()
776 reinterpret_cast<void*>((*si_found_in)->load_bias)); in soinfo_do_lookup()
1046 ElfW(Addr) soaddr = reinterpret_cast<ElfW(Addr)>(addr) - load_bias; in ElfW()
1067 ElfW(Addr) soaddr = reinterpret_cast<ElfW(Addr)>(addr) - load_bias; in ElfW()
1307 si->load_bias = elf_reader.load_bias(); in load_library()
1843 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + load_bias); in relocate()
1933 if (phdr_table_protect_segments(phdr, phnum, load_bias) < 0) { in relocate()
1943 if (phdr_table_unprotect_segments(phdr, phnum, load_bias) < 0) { in relocate()
1977 reinterpret_cast<void*>(load_bias + addend)); in relocate()
1978 *reinterpret_cast<ElfW(Addr)*>(reloc) = (load_bias + addend); in relocate()
[all …]
Dlinker_mips.cpp61 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + load_bias); in relocate()
116 *reinterpret_cast<ElfW(Addr)*>(reloc) += load_bias; in relocate()
147 got[g] = reinterpret_cast<ElfW(Addr)*>(reinterpret_cast<uintptr_t>(got[g]) + load_bias); in mips_relocate_got()
Dlinker.h263 ElfW(Addr) load_bias;