Home
last modified time | relevance | path

Searched refs:p_vaddr (Results 1 – 12 of 12) sorted by relevance

/bionic/linker/
Dlinker_phdr.cpp497 if (phdr->p_vaddr < min_vaddr) { in phdr_table_get_load_size()
498 min_vaddr = phdr->p_vaddr; in phdr_table_get_load_size()
501 if (phdr->p_vaddr + phdr->p_memsz > max_vaddr) { in phdr_table_get_load_size()
502 max_vaddr = phdr->p_vaddr + phdr->p_memsz; in phdr_table_get_load_size()
647 ElfW(Addr) seg_start = phdr->p_vaddr + load_bias_; in LoadSegments()
748 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in _phdr_table_set_load_prot()
749 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; in _phdr_table_set_load_prot()
833 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in _phdr_table_set_gnu_relro_prot()
834 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz) + load_bias; in _phdr_table_set_gnu_relro_prot()
893 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr) + load_bias; in phdr_table_serialize_gnu_relro()
[all …]
Dlinker_wrapper.cpp46 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
Dlinker_main.cpp522 return reinterpret_cast<ElfW(Addr)>(elf) + phdr->p_offset - phdr->p_vaddr; in get_elf_exec_load_bias()
537 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
558 ElfW(Addr) seg_start = phdr->p_vaddr + si->load_bias; in set_bss_vma_name()
Dlinker.cpp832 if (vaddr >= phdr->p_vaddr && vaddr < phdr->p_vaddr + phdr->p_memsz) { in find_containing_library()
/bionic/libc/malloc_debug/
DMapData.cpp123 if (!get_val<ElfW(Addr)>(entry, addr + offsetof(ElfW(Phdr), p_vaddr), &phdr.p_vaddr)) { in read_loadbias()
126 entry->load_bias = phdr.p_vaddr; in read_loadbias()
/bionic/libc/kernel/uapi/linux/
Delf-fdpic.h25 Elf32_Addr p_vaddr; member
Delf.h208 Elf32_Addr p_vaddr; member
219 Elf64_Addr p_vaddr; member
/bionic/tests/
Dlink_test.cpp68 phdr->p_vaddr); in TEST()
139 return reinterpret_cast<ElfW(Addr)>(phdr.table) - phdr.table[i].p_vaddr; in find_exe_load_bias()
149 return reinterpret_cast<ElfW(Dyn)*>(phdr.table[i].p_vaddr + load_bias); in ElfW()
/bionic/libc/bionic/
Dlibc_init_static.cpp123 ElfW(Addr) seg_page_start = PAGE_START(phdr->p_vaddr); in apply_gnu_relro()
124 ElfW(Addr) seg_page_end = PAGE_END(phdr->p_vaddr + phdr->p_memsz); in apply_gnu_relro()
Ddl_iterate_phdr_static.cpp99 vdso_info.dlpi_addr = (ElfW(Addr)) ehdr_vdso - vdso_info.dlpi_phdr[i].p_vaddr; in dl_iterate_phdr()
Dvdso.cpp110 vdso_addr = vdso_ehdr_addr + vdso_phdr[i].p_offset - vdso_phdr[i].p_vaddr; in __libc_init_vdso()
Dbionic_elf_tls.cpp64 reinterpret_cast<void*>(load_bias + phdr.p_vaddr), in __bionic_get_tls_segment()