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

/bionic/linker/
H A Dlinker_phdr.h50 ElfW(Addr) load_bias() { return load_bias_; } function in class:ElfReader
86 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias);
88 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias);
90 int phdr_table_protect_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias);
92 int phdr_table_serialize_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias,
95 int phdr_table_map_gnu_relro(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias,
99 int phdr_table_get_arm_exidx(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias,
104 ElfW(Addr) load_bias,
H A Dlinker_phdr.cpp98 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
404 ElfW(Addr) load_bias, int extra_prot_flags) {
413 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias;
414 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias;
433 * load_bias -> load bias
437 int phdr_table_protect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias) {
438 return _phdr_table_set_load_prot(phdr_table, phdr_count, load_bias, 0);
453 * load_bias -> load bias
457 int phdr_table_unprotect_segments(const ElfW(Phdr)* phdr_table, size_t phdr_count, ElfW(Addr) load_bias) {
[all...]
H A Dlinker.cpp197 map->l_addr = info->load_bias;
593 reinterpret_cast<void*>((*lsi)->load_bias));
793 si->load_bias = elf_reader.load_bias();
942 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rela->r_offset + si->load_bias);
1005 sym_addr = static_cast<ElfW(Addr)>(s->st_value + lsi->load_bias);
1207 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + si->load_bias);
1273 sym_addr = static_cast<ElfW(Addr)>(s->st_value + lsi->load_bias);
1418 got[g] = reinterpret_cast<ElfW(Addr)*>(reinterpret_cast<uintptr_t>(got[g]) + si->load_bias);
1442 *got = reinterpret_cast<ElfW(Addr)*>(lsi->load_bias
[all...]
H A Ddlfcn.cpp121 return reinterpret_cast<void*>(sym->st_value + found->load_bias);
151 info->dli_saddr = reinterpret_cast<void*>(si->load_bias + sym->st_value);
H A Dlinker.h192 ElfW(Addr) load_bias; member in struct:soinfo

Completed in 4473 milliseconds