Home
last modified time | relevance | path

Searched refs:load_bias_ (Results 1 – 6 of 6) sorted by relevance

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_view.cpp23 load_bias_ = load_address - min_vaddr; in InitUnmapped()
59 ELF::Addr elf_addr = load_bias_ + entry->p_vaddr; in InitUnmapped()
76 size_t seg_start = load_bias_ + phdr[n].p_vaddr; in InitUnmapped()
102 load_bias_, in InitUnmapped()
114 if (phdr_table_protect_gnu_relro(phdr_, phdr_count_, load_bias_) < 0) { in ProtectRelroSection()
Dcrazy_linker_elf_relocations.cpp140 load_bias_ = view->load_bias(); in Init()
268 if (phdr_table_unprotect_segments(phdr_, phdr_count_, load_bias_) < 0) { in ApplyAll()
310 if (phdr_table_protect_segments(phdr_, phdr_count_, load_bias_) < 0) { in ApplyAll()
328 const ELF::Addr reloc = static_cast<ELF::Addr>(rela->r_offset + load_bias_); in ApplyRelaReloc()
366 load_bias_ + addend); in ApplyRelaReloc()
371 *target = load_bias_ + addend; in ApplyRelaReloc()
396 const ELF::Addr reloc = static_cast<ELF::Addr>(rel->r_offset + load_bias_); in ApplyRelReloc()
435 load_bias_); in ApplyRelReloc()
440 *target += load_bias_; in ApplyRelReloc()
466 *target += load_bias_; in ApplyRelReloc()
[all …]
Dcrazy_linker_elf_loader.h52 ELF::Addr load_bias() { return load_bias_; } in load_bias()
70 ELF::Addr load_bias_; // load_bias, add this value to all "vaddr" variable
Dcrazy_linker_elf_loader.cpp35 load_bias_(0), in ElfLoader()
211 load_bias_ = reinterpret_cast<ELF::Addr>(start) - min_vaddr; in ReserveAddressSpace()
224 return CheckPhdr(load_bias_ + phdr->p_vaddr, error); in FindPhdr()
234 ELF::Addr elf_addr = load_bias_ + phdr->p_vaddr; in FindPhdr()
257 ELF::Addr seg_start = phdr->p_vaddr + load_bias_; in CheckPhdr()
280 ELF::Addr seg_start = phdr->p_vaddr + load_bias_; in LoadSegments()
Dcrazy_linker_elf_view.h50 size_t load_bias() const { return load_bias_; } in load_bias()
104 size_t load_bias_; variable
Dcrazy_linker_elf_relocations.h105 size_t load_bias_; variable