Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dread_elf.cpp329 segments[i].vaddr = phdr.p_vaddr; in GetProgramHeader()
444 if (it->p_vaddr < min_addr) { in ReadMinExecutableVaddr()
445 min_addr = it->p_vaddr; in ReadMinExecutableVaddr()
461 if (ph->p_type == llvm::ELF::PT_LOAD && vaddr >= ph->p_vaddr && in VaddrToOff()
462 vaddr < ph->p_vaddr + ph->p_filesz) { in VaddrToOff()
463 *file_offset = vaddr - ph->p_vaddr + ph->p_offset; in VaddrToOff()
/system/unwinding/libunwindstack/
DElfInterface.cpp168 return static_cast<uint64_t>(phdr.p_vaddr) - phdr.p_offset; in GetLoadBias()
191 pt_loads_[phdr.p_offset] = LoadInfo{phdr.p_offset, phdr.p_vaddr, in ReadProgramHeaders()
195 *load_bias = static_cast<uint64_t>(phdr.p_vaddr) - phdr.p_offset; in ReadProgramHeaders()
204 eh_frame_hdr_section_bias_ = static_cast<uint64_t>(phdr.p_vaddr) - phdr.p_offset; in ReadProgramHeaders()
210 dynamic_vaddr_start_ = phdr.p_vaddr; in ReadProgramHeaders()
/system/unwinding/libunwindstack/tests/
DElfInterfaceTest.cpp192 phdr.p_vaddr = 0x2000; in SinglePtLoad()
230 phdr.p_vaddr = 0x2000; in MultipleExecutablePtLoads()
239 phdr.p_vaddr = 0x2001; in MultipleExecutablePtLoads()
248 phdr.p_vaddr = 0x2002; in MultipleExecutablePtLoads()
297 phdr.p_vaddr = 0x2000; in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
306 phdr.p_vaddr = 0x2001; in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
315 phdr.p_vaddr = 0x2002; in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
366 phdr.p_vaddr = 0x2000; in NonExecutablePtLoads()
375 phdr.p_vaddr = 0x2001; in NonExecutablePtLoads()
384 phdr.p_vaddr = 0x2002; in NonExecutablePtLoads()
[all …]
DMapInfoGetLoadBiasTest.cpp146 phdr.p_vaddr = 0xe000; in InitElfData()
DElfTest.cpp76 phdr.p_vaddr = 0x30000; in InitElf32()
DUnwinderTest.cpp1699 phdr.p_vaddr = 0x100000; in TEST_F()
/system/chre/platform/shared/
Dnanoapp_loader.cc347 ElfAddr endOfFile = hdr->p_vaddr + hdr->p_filesz + mLoadBias; in mapBss()
348 ElfAddr endOfMem = hdr->p_vaddr + hdr->p_memsz + mLoadBias; in mapBss()
672 size_t memorySpan = last->p_vaddr + last->p_memsz - first->p_vaddr; in createMappings()
689 uintptr_t adjustedFirstLoadSegAddr = roundDownToAlign(first->p_vaddr); in createMappings()
703 ElfAddr segStart = ph->p_vaddr + mLoadBias; in createMappings()
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp115 void* addr = (void*)(info->dlpi_addr + info->dlpi_phdr[j].p_vaddr); in TEST()
/system/chre/platform/shared/include/chre/platform/shared/
Dloader_util.h177 Elf32_Addr p_vaddr; member