Searched refs:load_bias_ (Results 1 – 6 of 6) sorted by relevance
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_elf_view.cpp | 23 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()
|
D | crazy_linker_elf_relocations.cpp | 140 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 …]
|
D | crazy_linker_elf_loader.h | 52 ELF::Addr load_bias() { return load_bias_; } in load_bias() 70 ELF::Addr load_bias_; // load_bias, add this value to all "vaddr" variable
|
D | crazy_linker_elf_loader.cpp | 35 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()
|
D | crazy_linker_elf_view.h | 50 size_t load_bias() const { return load_bias_; } in load_bias() 104 size_t load_bias_; variable
|
D | crazy_linker_elf_relocations.h | 105 size_t load_bias_; variable
|