Home
last modified time | relevance | path

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

/bionic/libc/kernel/uapi/linux/
Delf-fdpic.h13 Elf32_Addr p_vaddr; member
24 Elf64_Addr p_vaddr; member
Delf.h199 Elf32_Addr p_vaddr; member
210 Elf64_Addr p_vaddr; member
/bionic/linker/
Dlinker_phdr.cpp532 if (phdr->p_vaddr < min_vaddr) { in phdr_table_get_load_size()
533 min_vaddr = phdr->p_vaddr; in phdr_table_get_load_size()
536 if (phdr->p_vaddr + phdr->p_memsz > max_vaddr) { in phdr_table_get_load_size()
537 max_vaddr = phdr->p_vaddr + phdr->p_memsz; in phdr_table_get_load_size()
817 ElfW(Addr) next_start = page_start(next->p_vaddr); in _extend_load_segment_vma()
818 ElfW(Addr) curr_end = page_end(phdr->p_vaddr + *p_memsz); in _extend_load_segment_vma()
845 ElfW(Addr) seg_start = phdr->p_vaddr + load_bias_; in LoadSegments()
985 ElfW(Addr) seg_page_start = page_start(phdr->p_vaddr + load_bias); in _phdr_table_set_load_prot()
986 ElfW(Addr) seg_page_end = page_end(phdr->p_vaddr + p_memsz + load_bias); in _phdr_table_set_load_prot()
1070 if (phdr->p_type == PT_LOAD && phdr->p_vaddr == relro_phdr->p_vaddr) { in _extend_gnu_relro_prot_end()
[all …]
Dlinker_wrapper.cpp48 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
Dlinker_note_gnu_property_test.cpp71 .p_vaddr = reinterpret_cast<ElfW(Addr)>(__prop), \
215 .p_vaddr = 0, in TEST()
236 .p_vaddr = reinterpret_cast<ElfW(Addr)>(&prop), in TEST()
Dlinker_main.cpp551 return reinterpret_cast<ElfW(Addr)>(elf) + phdr->p_offset - phdr->p_vaddr; in get_elf_exec_load_bias()
566 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
587 ElfW(Addr) seg_start = phdr->p_vaddr + si->load_bias; in set_bss_vma_name()
637 auto *dyn = reinterpret_cast<ElfW(Dyn)*>(ehdr + phdr[i].p_vaddr); in relocate_linker()
Dlinker_note_gnu_property.cpp78 auto note_nhdr = reinterpret_cast<ElfW(NhdrGNUProperty)*>(load_bias + phdr[i].p_vaddr); in ElfW()
Dlinker.cpp867 if (vaddr >= phdr->p_vaddr && vaddr < phdr->p_vaddr + phdr->p_memsz) { in find_containing_library()
/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/
Delf_note.cpp76 ElfW(Addr) note_addr = load_bias + phdr->p_vaddr; in __find_elf_note()
Ddl_iterate_phdr_static.cpp99 vdso_info.dlpi_addr = (ElfW(Addr)) ehdr_vdso - vdso_info.dlpi_phdr[i].p_vaddr; in dl_iterate_phdr()
Dlibc_init_static.cpp122 ElfW(Addr) seg_page_start = page_start(phdr->p_vaddr); in apply_gnu_relro()
123 ElfW(Addr) seg_page_end = page_end(phdr->p_vaddr + phdr->p_memsz); in apply_gnu_relro()
Dbionic_elf_tls.cpp70 .skew = phdr.p_vaddr % MAX(1, phdr.p_align), in __bionic_get_tls_segment()
73 .init_ptr = reinterpret_cast<void*>(load_bias + phdr.p_vaddr), in __bionic_get_tls_segment()
Dvdso.cpp149 vdso_addr = vdso_ehdr_addr + vdso_phdr[i].p_offset - vdso_phdr[i].p_vaddr; in __libc_init_vdso()
/bionic/libc/malloc_debug/
DMapData.cpp131 load_bias_ = phdr.p_vaddr - phdr.p_offset; in GetLoadBias()