/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 114 GET_PHDR_FIELD(ei, phdr_offset, &phdr, p_vaddr); in get_eh_frame_info() 117 load_base + phdr.p_vaddr + addr - (uintptr_t) ei->u.memory.start - phdr.p_offset; in get_eh_frame_info() 121 di_cache->u.rti.segbase = ((load_base + phdr.p_vaddr) + (hdr_offset - phdr.p_offset)); in get_eh_frame_info() 149 GET_PHDR_FIELD(ei, offset, &phdr, p_vaddr); in dwarf_find_unwind_table_memory() 150 if (phdr.p_vaddr < start_ip) { in dwarf_find_unwind_table_memory() 151 start_ip = phdr.p_vaddr; in dwarf_find_unwind_table_memory() 155 if (phdr.p_vaddr + phdr.p_memsz > end_ip) { in dwarf_find_unwind_table_memory() 156 end_ip = phdr.p_vaddr + phdr.p_memsz; in dwarf_find_unwind_table_memory() 162 txt_pvaddr = phdr.p_vaddr; in dwarf_find_unwind_table_memory() 222 GET_PHDR_FIELD(ei, arm_exidx_phdr_offset, &phdr, p_vaddr); in dwarf_find_unwind_table_memory() [all …]
|
/external/libunwind/src/coredump/ |
D | _UCD_access_mem.c | 45 if (phdr->p_vaddr <= addr && addr_last < phdr->p_vaddr + phdr->p_memsz) in _UCD_access_mem() 58 if (addr_last >= phdr->p_vaddr + phdr->p_filesz) in _UCD_access_mem() 70 fileofs = addr - phdr->p_vaddr; in _UCD_access_mem() 76 fileofs = phdr->p_offset + (addr - phdr->p_vaddr); in _UCD_access_mem()
|
D | _UCD_create.c | 169 cur->p_vaddr = hdr64.p_vaddr ; in _UCD_create() 195 cur->p_vaddr = hdr32.p_vaddr ; in _UCD_create() 256 (unsigned long long) cur->p_vaddr, in _UCD_create() 411 if (phdr->p_vaddr != vaddr) in _UCD_add_backing_file_at_vaddr()
|
D | _UCD_elf_map_image.c | 91 if (phdr->p_vaddr <= ip && ip < phdr->p_vaddr + phdr->p_memsz) in _UCD_get_elf_image()
|
/external/libunwind/src/ia64/ |
D | Gtables.c | 499 Elf64_Addr vaddr = phdr->p_vaddr + load_base; in callback() 512 if (likely (p_unwind->p_vaddr >= p_text->p_vaddr in callback() 513 && p_unwind->p_vaddr < p_text->p_vaddr + p_text->p_memsz)) in callback() 515 segbase = p_text->p_vaddr + load_base; in callback() 523 if (phdr->p_type == PT_LOAD && p_unwind->p_vaddr >= phdr->p_vaddr in callback() 524 && p_unwind->p_vaddr < phdr->p_vaddr + phdr->p_memsz) in callback() 526 segbase = phdr->p_vaddr + load_base; in callback() 536 Elf64_Dyn *dyn = (Elf64_Dyn *)(p_dynamic->p_vaddr + load_base); in callback() 550 di->start_ip = p_text->p_vaddr + load_base; in callback() 551 di->end_ip = p_text->p_vaddr + load_base + p_text->p_memsz; in callback() [all …]
|
D | Gfind_unwind_table.c | 135 edi->di_cache.gp = find_gp (edi, pdyn, segbase - ptxt->p_vaddr); in ia64_find_unwind_table() 141 ((char *) edi->ei.image + (punw->p_vaddr - ptxt->p_vaddr)); in ia64_find_unwind_table()
|
/external/syslinux/com32/lib/sys/module/i386/ |
D | elf_module.c | 61 min_addr = cr_pht->p_vaddr; in load_segments() 63 min_addr = MIN(min_addr, cr_pht->p_vaddr); in load_segments() 66 max_addr = MAX(max_addr, cr_pht->p_vaddr + cr_pht->p_memsz); in load_segments() 70 dyn_addr = cr_pht->p_vaddr; in load_segments() 123 if (image_read((char *)module_get_absolute(cr_pht->p_vaddr, module) + aux_off, in load_segments() 134 if (image_read(module_get_absolute(cr_pht->p_vaddr, module), in load_segments()
|
/external/syslinux/com32/lib/sys/module/x86_64/ |
D | elf_module.c | 61 min_addr = cr_pht->p_vaddr; in load_segments() 63 min_addr = MIN(min_addr, cr_pht->p_vaddr); in load_segments() 66 max_addr = MAX(max_addr, cr_pht->p_vaddr + cr_pht->p_memsz); in load_segments() 70 dyn_addr = cr_pht->p_vaddr; in load_segments() 123 if (image_read((char *)module_get_absolute(cr_pht->p_vaddr, module) + aux_off, in load_segments() 134 if (image_read(module_get_absolute(cr_pht->p_vaddr, module), in load_segments()
|
/external/valgrind/coregrind/m_ume/ |
D | elf.c | 411 addr = ph->p_vaddr+base; in mapelf() 434 addr = ph->p_vaddr+base; in mapelf() 610 info->phdr = ph->p_vaddr + ebase; in VG_() 617 if (ph->p_vaddr < minaddr) in VG_() 618 minaddr = ph->p_vaddr; in VG_() 619 if (ph->p_vaddr+ph->p_memsz > maxaddr) in VG_() 620 maxaddr = ph->p_vaddr+ph->p_memsz; in VG_() 634 info->init_thrptr = ph->p_vaddr + ebase; in VG_() 681 thrptr_addr = iph->p_vaddr; in VG_() 698 interp_addr = iph->p_vaddr; in VG_() [all …]
|
/external/libunwind/src/ |
D | os-qnx.c | 38 int segbase = info->dlpi_addr + info->dlpi_phdr[i].p_vaddr; in callback() 45 cur_map->start = info->dlpi_addr + info->dlpi_phdr[i].p_vaddr; in callback()
|
D | elfxx.c | 263 GET_PHDR_FIELD(ei, offset, &phdr, p_vaddr); in elf_w() 264 *load_offset = segbase - phdr.p_vaddr; in elf_w() 399 *load_offset = segbase - phdr[i].p_vaddr; in elf_w() 412 if (phdr[i].p_type == PT_LOAD && phdr[i].p_vaddr < min_vaddr) { in elf_w() 413 min_vaddr = phdr[i].p_vaddr; in elf_w() 623 *load_base = phdr[i].p_vaddr; in elf_w() 643 GET_PHDR_FIELD(ei, offset, &phdr, p_vaddr); in elf_w() 644 *load_base = phdr.p_vaddr; in elf_w()
|
/external/libmojo/base/android/linker/ |
D | modern_linker_jni.cc | 180 void* load_addr = reinterpret_cast<void*>(info->dlpi_addr + phdr->p_vaddr); in FindLoadedLibrarySize() 184 if (phdr->p_vaddr < min_vaddr) in FindLoadedLibrarySize() 185 min_vaddr = phdr->p_vaddr; in FindLoadedLibrarySize() 186 if (phdr->p_vaddr + phdr->p_memsz > max_vaddr) in FindLoadedLibrarySize() 187 max_vaddr = phdr->p_vaddr + phdr->p_memsz; in FindLoadedLibrarySize()
|
/external/minijail/ |
D | elfparse.h | 72 Elf32_Addr p_vaddr; /* Segment virtual address */ member 85 Elf64_Addr p_vaddr; /* Segment virtual address */ member
|
/external/elfutils/libdwfl/ |
D | dwfl_report_elf.c | 186 vaddr = ph->p_vaddr & -ph->p_align; in __libdwfl_elf_address_range() 187 address_sync = ph->p_vaddr + ph->p_memsz; in __libdwfl_elf_address_range() 208 && ph->p_vaddr + ph->p_memsz > 0) in __libdwfl_elf_address_range() 210 end = bias + (ph->p_vaddr + ph->p_memsz); in __libdwfl_elf_address_range()
|
D | elf-from-memory.c | 256 if (handle_segment ((*p32)[i].p_vaddr, (*p32)[i].p_offset, in elf_from_remote_memory() 267 if (handle_segment ((*p64)[i].p_vaddr, (*p64)[i].p_offset, in elf_from_remote_memory() 322 if (handle_segment ((*p32)[i].p_vaddr, (*p32)[i].p_offset, in elf_from_remote_memory() 349 if (handle_segment ((*p64)[i].p_vaddr, (*p64)[i].p_offset, in elf_from_remote_memory()
|
D | core-file.c | 249 *pend_vaddr = (pphdr->p_vaddr + pphdr->p_memsz + align - 1) & -align; in update_end() 270 || pphdr->p_vaddr > *pend_vaddr) in do_more() 308 || ((phdr.p_vaddr + phdr.p_memsz + align - 1) & -align) <= vaddr); in dwfl_elf_phdr_memory_callback() 310 GElf_Off start = vaddr - phdr.p_vaddr + phdr.p_offset; in dwfl_elf_phdr_memory_callback() 437 *vaddrp = phdr->p_vaddr; in __libdwfl_dynamic_vaddr_get()
|
/external/elfutils/libelf/ |
D | gelf_update_phdr.c | 64 || unlikely (src->p_vaddr > 0xffffffffull) in gelf_update_phdr() 100 COPY (p_vaddr); in gelf_update_phdr()
|
D | elf32_getphdr.c | 164 CONVERT_TO (phdr[cnt].p_vaddr, notcvt[cnt].p_vaddr); in ElfW2() 214 CONVERT (phdr[cnt].p_vaddr); in ElfW2()
|
/external/libunwind_llvm/src/ |
D | AddressSpace.hpp | 407 uintptr_t begin = pinfo->dlpi_addr + phdr->p_vaddr; in findUnwindSections() 409 if (pinfo->dlpi_addr == 0 && phdr->p_vaddr < image_base) in findUnwindSections() 420 uintptr_t eh_frame_hdr_start = pinfo->dlpi_addr + phdr->p_vaddr; in findUnwindSections() 422 if (pinfo->dlpi_addr == 0 && phdr->p_vaddr < image_base) in findUnwindSections() 445 uintptr_t begin = pinfo->dlpi_addr + phdr->p_vaddr; in findUnwindSections() 450 uintptr_t exidx_start = pinfo->dlpi_addr + phdr->p_vaddr; in findUnwindSections()
|
/external/syslinux/gpxe/src/image/ |
D | elf.c | 73 dest = phdr->p_vaddr; in elf_load_segment() 102 } else if ( ( e_offset = ( ehdr->e_entry - phdr->p_vaddr ) ) in elf_load_segment()
|
/external/syslinux/gpxe/src/include/ |
D | elf.h | 211 Elf32_Addr p_vaddr; /* Virtual address (not used). */ member 223 Elf64_Addr p_vaddr; /* Virtual address (not used). */ member
|
/external/elfutils/libdw/ |
D | dwarf_getcfi_elf.c | 143 phdr->p_vaddr, ehdr, in getcfi_gnu_eh_frame() 158 Dwarf_Off eh_frame_offset = eh_frame_ptr - phdr->p_vaddr + phdr->p_offset; in getcfi_gnu_eh_frame() 184 cfi->search_table_vaddr = phdr->p_vaddr; in getcfi_gnu_eh_frame()
|
/external/syslinux/com32/mboot/ |
D | map.c | 182 if (eh->e_entry >= ph->p_vaddr in map_image() 183 && eh->e_entry < ph->p_vaddr + msize) in map_image() 184 regs.eip = eh->e_entry + (ph->p_paddr - ph->p_vaddr); in map_image()
|
/external/google-breakpad/src/common/linux/ |
D | elf_core_dump.cc | 155 size_t offset_in_segment = virtual_address - program->p_vaddr; in CopyData() 156 if (virtual_address >= program->p_vaddr && in CopyData()
|
/external/libunwind/src/arm/ |
D | Gex_tables.c | 468 if (cb_data->ip >= phdr->p_vaddr + info->dlpi_addr && in arm_phdr_cb() 469 cb_data->ip < phdr->p_vaddr + info->dlpi_addr + phdr->p_memsz) in arm_phdr_cb() 485 cb_data->di.start_ip = p_text->p_vaddr + info->dlpi_addr; in arm_phdr_cb() 488 cb_data->di.u.rti.table_data = p_arm_exidx->p_vaddr + info->dlpi_addr; in arm_phdr_cb()
|