/external/chromium_org/third_party/android_crazy_linker/src/src/ |
linker_phdr.h | 51 ELF::Addr load_bias); 55 ELF::Addr load_bias); 59 ELF::Addr load_bias, 65 ELF::Addr load_bias); 70 ELF::Addr load_bias, 77 ELF::Addr load_bias,
|
crazy_linker_elf_symbols.h | 31 const ELF::Sym* LookupByAddress(void* address, size_t load_bias) const; 45 void* LookupAddressByName(const char* symbol_name, size_t load_bias) const { 49 return reinterpret_cast<void*>(load_bias + sym->st_value); 53 size_t load_bias,
|
crazy_linker_elf_symbols.cpp | 33 uintptr_t dyn_addr = dyn.GetAddress(view->load_bias()); 64 size_t load_bias) const { 66 reinterpret_cast<ELF::Addr>(address) - static_cast<ELF::Addr>(load_bias); 79 size_t load_bias, 84 reinterpret_cast<ELF::Addr>(address) - static_cast<ELF::Addr>(load_bias); 117 *sym_addr = reinterpret_cast<void*>(nearest_sym->st_value + load_bias);
|
linker_phdr.cpp | 106 load_bias = phdr0_load_address - PAGE_START(phdr0->p_vaddr) 120 The load_bias must be added to any p_vaddr value read from the ELF file to 187 ELF::Addr load_bias, 196 ELF::Addr seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; 198 PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; 217 * load_bias -> load bias 223 ELF::Addr load_bias) { 224 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); 239 * load_bias -> load bias 245 ELF::Addr load_bias) { [all...] |
crazy_linker_elf_view.h | 50 size_t load_bias() const { return load_bias_; } function in class:crazy::ElfView 83 uintptr_t GetAddress(size_t load_bias) const { 84 return load_bias + dyn_->d_un.d_ptr;
|
crazy_linker_elf_loader.h | 52 ELF::Addr load_bias() { return load_bias_; } function in class:crazy::ElfLoader 70 ELF::Addr load_bias_; // load_bias, add this value to all "vaddr"
|
crazy_linker_shared_library.h | 38 size_t load_bias() const { return view_.load_bias(); } function in class:crazy::SharedLibrary 100 address, load_bias(), sym_name, sym_addr, sym_size);
|
crazy_linker_shared_library.cpp | 110 return reinterpret_cast<void*>(lib_->load_bias() + entry->st_value); 150 return reinterpret_cast<void*>(dep->load_bias() + entry->st_value); 268 view_.load_bias(), 278 phdr(), phdr_count(), load_bias(), &arm_exidx_, &arm_exidx_count_); 290 uintptr_t dyn_addr = dyn.GetAddress(load_bias()); 420 return symbols_.LookupAddressByName(symbol_name, view_.load_bias());
|
crazy_linker_elf_view.cpp | 101 LOG("%s: New ELF view [load_address:%p, load_size:%p, load_bias:%p, phdr:%p, "
|
crazy_linker_rdebug.cpp | 139 size_t load_bias = entry.vma_start - phdr_load0.p_vaddr; local 140 LOG("%s: Load bias is %p\n", __FUNCTION__, (void*)load_bias); 142 *dynamic_address = load_bias + phdr_dyn.p_vaddr;
|
/ndk/sources/android/crazy_linker/src/ |
linker_phdr.h | 51 ELF::Addr load_bias); 55 ELF::Addr load_bias); 59 ELF::Addr load_bias, 65 ELF::Addr load_bias); 70 ELF::Addr load_bias, 77 ELF::Addr load_bias,
|
crazy_linker_elf_symbols.h | 31 const ELF::Sym* LookupByAddress(void* address, size_t load_bias) const; 45 void* LookupAddressByName(const char* symbol_name, size_t load_bias) const { 49 return reinterpret_cast<void*>(load_bias + sym->st_value); 53 size_t load_bias,
|
crazy_linker_elf_symbols.cpp | 33 uintptr_t dyn_addr = dyn.GetAddress(view->load_bias()); 64 size_t load_bias) const { 66 reinterpret_cast<ELF::Addr>(address) - static_cast<ELF::Addr>(load_bias); 79 size_t load_bias, 84 reinterpret_cast<ELF::Addr>(address) - static_cast<ELF::Addr>(load_bias); 117 *sym_addr = reinterpret_cast<void*>(nearest_sym->st_value + load_bias);
|
linker_phdr.cpp | 106 load_bias = phdr0_load_address - PAGE_START(phdr0->p_vaddr) 120 The load_bias must be added to any p_vaddr value read from the ELF file to 187 ELF::Addr load_bias, 196 ELF::Addr seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; 198 PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; 217 * load_bias -> load bias 223 ELF::Addr load_bias) { 224 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); 239 * load_bias -> load bias 245 ELF::Addr load_bias) { [all...] |
crazy_linker_elf_view.h | 50 size_t load_bias() const { return load_bias_; } function in class:crazy::ElfView 83 uintptr_t GetAddress(size_t load_bias) const { 84 return load_bias + dyn_->d_un.d_ptr;
|
crazy_linker_elf_loader.h | 52 ELF::Addr load_bias() { return load_bias_; } function in class:crazy::ElfLoader 70 ELF::Addr load_bias_; // load_bias, add this value to all "vaddr"
|
crazy_linker_shared_library.cpp | 98 return reinterpret_cast<void*>(lib_->load_bias() + entry->st_value); 138 return reinterpret_cast<void*>(dep->load_bias() + entry->st_value); 201 view_.load_bias(), 211 phdr(), phdr_count(), load_bias(), &arm_exidx_, &arm_exidx_count_); 218 uintptr_t dyn_addr = dyn.GetAddress(load_bias()); 311 return symbols_.LookupAddressByName(symbol_name, view_.load_bias());
|
crazy_linker_shared_library.h | 38 size_t load_bias() const { return view_.load_bias(); } function in class:crazy::SharedLibrary 100 address, load_bias(), sym_name, sym_addr, sym_size);
|
crazy_linker_elf_view.cpp | 97 LOG("%s: New ELF view [load_address:%p, load_size:%p, load_bias:%p, phdr:%p, "
|
crazy_linker_rdebug.cpp | 139 size_t load_bias = entry.vma_start - phdr_load0.p_vaddr; local 140 LOG("%s: Load bias is %p\n", __FUNCTION__, (void*)load_bias); 142 *dynamic_address = load_bias + phdr_dyn.p_vaddr;
|
/bionic/linker/ |
linker_phdr.h | 50 ElfW(Addr) load_bias() { return load_bias_; } function in class:ElfReader 87 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); 89 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); 91 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias); 93 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, 96 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, 100 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias, 105 ElfW(Addr) load_bias, ElfW(Dyn)** dynamic,
|
linker_phdr.cpp | 98 load_bias = phdr0_load_address - PAGE_START(phdr0->p_vaddr) 112 The load_bias must be added to any p_vaddr value read from the ELF file to 405 ElfW(Addr) load_bias, int extra_prot_flags) { 414 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; 415 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; 434 * load_bias -> load bias 438 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias) { 439 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0); 454 * load_bias -> load bias 458 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias) { [all...] |
linker.cpp | 196 map->l_addr = info->load_bias; 563 reinterpret_cast<void*>((*lsi)->load_bias)); 839 si->load_bias = elf_reader.load_bias(); 1086 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rela->r_offset + load_bias); [all...] |
linker.h | 197 ElfW(Addr) load_bias; member in struct:soinfo
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
elf_loader.cc | 143 // load_bias. 146 ElfW(Addr)* load_bias) { 174 *load_bias = reinterpret_cast<ElfW(Addr)>(start); 179 const ElfW(Phdr)* phdrs, int phnum, ElfW(Addr) load_bias, member in namespace:nacl::nonsfi::__anon11239 189 ElfW(Addr) seg_start = phdr.p_vaddr + load_bias; 250 ElfW(Addr) load_bias; member in struct:nacl::nonsfi::ElfImage::Data 264 return data_->ehdr.e_entry + data_->load_bias; 319 ReserveMemory(data_->phdrs, data_->ehdr.e_phnum, &data_->load_bias); 326 data_->phdrs, data_->ehdr.e_phnum, data_->load_bias, descriptor);
|