Searched refs:p_vaddr (Results 1 – 15 of 15) sorted by relevance
13 Elf32_Addr p_vaddr; member24 Elf64_Addr p_vaddr; member
199 Elf32_Addr p_vaddr; member210 Elf64_Addr p_vaddr; member
532 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 …]
48 *load_bias = reinterpret_cast<ElfW(Addr)>(phdr_table) - phdr_table[i].p_vaddr; in get_elf_base_from_phdr()
71 .p_vaddr = reinterpret_cast<ElfW(Addr)>(__prop), \215 .p_vaddr = 0, in TEST()236 .p_vaddr = reinterpret_cast<ElfW(Addr)>(&prop), in TEST()
551 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()
78 auto note_nhdr = reinterpret_cast<ElfW(NhdrGNUProperty)*>(load_bias + phdr[i].p_vaddr); in ElfW()
867 if (vaddr >= phdr->p_vaddr && vaddr < phdr->p_vaddr + phdr->p_memsz) { in find_containing_library()
68 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()
76 ElfW(Addr) note_addr = load_bias + phdr->p_vaddr; in __find_elf_note()
99 vdso_info.dlpi_addr = (ElfW(Addr)) ehdr_vdso - vdso_info.dlpi_phdr[i].p_vaddr; in dl_iterate_phdr()
122 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()
70 .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()
149 vdso_addr = vdso_ehdr_addr + vdso_phdr[i].p_offset - vdso_phdr[i].p_vaddr; in __libc_init_vdso()
131 load_bias_ = phdr.p_vaddr - phdr.p_offset; in GetLoadBias()