Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DElfFake.h104 void FakeSetDataVaddrStart(uint64_t vaddr) { data_vaddr_start_ = vaddr; } in FakeSetDataVaddrStart() argument
105 void FakeSetDataVaddrEnd(uint64_t vaddr) { data_vaddr_end_ = vaddr; } in FakeSetDataVaddrEnd() argument
108 void FakeSetDynamicVaddrStart(uint64_t vaddr) { dynamic_vaddr_start_ = vaddr; } in FakeSetDynamicVaddrStart() argument
109 void FakeSetDynamicVaddrEnd(uint64_t vaddr) { dynamic_vaddr_end_ = vaddr; } in FakeSetDynamicVaddrEnd() argument
DElfTest.cpp356 void MockSetDataVaddrStart(uint64_t vaddr) { data_vaddr_start_ = vaddr; } in MockSetDataVaddrStart() argument
357 void MockSetDataVaddrEnd(uint64_t vaddr) { data_vaddr_end_ = vaddr; } in MockSetDataVaddrEnd() argument
360 void MockSetDynamicVaddrStart(uint64_t vaddr) { dynamic_vaddr_start_ = vaddr; } in MockSetDynamicVaddrStart() argument
361 void MockSetDynamicVaddrEnd(uint64_t vaddr) { dynamic_vaddr_end_ = vaddr; } in MockSetDynamicVaddrEnd() argument
DElfInterfaceTest.cpp161 void CheckLoadBiasInFirstExecPhdr(uint64_t offset, uint64_t vaddr, int64_t load_bias);
1888 void ElfInterfaceTest::CheckLoadBiasInFirstExecPhdr(uint64_t offset, uint64_t vaddr, in CheckLoadBiasInFirstExecPhdr() argument
1906 phdr.p_vaddr = vaddr; in CheckLoadBiasInFirstExecPhdr()
/system/extras/simpleperf/
Dread_elf.h54 uint64_t vaddr; member
61 ElfFileSymbol() : vaddr(0), len(0), is_func(false), is_label(false), is_in_text_section(false) {} in ElfFileSymbol()
65 uint64_t vaddr = 0; member
74 uint64_t vaddr = 0; member
104 virtual bool VaddrToOff(uint64_t vaddr, uint64_t* file_offset) = 0;
Detm_branch_list.proto28 // vaddr in binary, instr addr before the first branch
52 // kernel_start_addr is used to convert kernel ip address to vaddr in vmlinux.
53 // If it is zero, the Address in KERNEL binary has been converted to vaddr. Otherwise,
Dread_elf.cpp231 symbol.vaddr = symbol_ref->getValue(); in ReadSymbolTable()
232 if ((symbol.vaddr & 1) != 0 && is_arm) { in ReadSymbolTable()
234 symbol.vaddr &= ~1; in ReadSymbolTable()
280 symbol.vaddr = shdr->sh_addr; in AddSymbolForPltSection()
329 segments[i].vaddr = phdr.p_vaddr; in GetProgramHeader()
351 sections[i].vaddr = shdr.sh_addr; in GetSectionHeader()
459 bool VaddrToOff(uint64_t vaddr, uint64_t* file_offset) override { in VaddrToOff() argument
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()
DETMDecoder.cpp805 segments_[0].vaddr = section.vaddr; in Init()
849 bool ReadMem(uint64_t vaddr, size_t size, void* data) { in ReadMem() argument
851 if (vaddr >= segment.vaddr && vaddr + size <= segment.vaddr + segment.file_size) { in ReadMem()
852 uint64_t offset = vaddr - segment.vaddr + segment.file_offset; in ReadMem()
Dcmd_inject.cpp440 auto to_offset = [&](uint64_t vaddr) -> uint64_t { in GenerateInstrRange() argument
441 if (vaddr == 0) { in GenerateInstrRange()
444 CHECK_GE(vaddr, first_load_segment_addr); in GenerateInstrRange()
445 return vaddr - first_load_segment_addr; in GenerateInstrRange()
485 return segment.vaddr; in GetFirstLoadSegmentVaddr()
DJITDebugReader.cpp509 jit_addr = symbol.vaddr - aligned_segment_vaddr; in GetDescriptorsLocation()
511 dex_addr = symbol.vaddr - aligned_segment_vaddr; in GetDescriptorsLocation()
690 debug_info->emplace_back(process.pid, jit_entry.timestamp, symbol.vaddr, symbol.len, in ReadJITCodeDebugInfo()
693 LOG(VERBOSE) << "JITSymbol " << symbol.name << " at [" << std::hex << symbol.vaddr << " - " in ReadJITCodeDebugInfo()
694 << (symbol.vaddr + symbol.len) << " with size " << symbol.len << " in " in ReadJITCodeDebugInfo()
Ddso.cpp585 symbols.emplace_back(symbol.name, symbol.vaddr, symbol.len); in LoadSymbolsImpl()
679 symbols->emplace_back(symbol.name, symbol.vaddr, symbol.len); in ReadSymbolsFromDebugFile()
754 kernel_start_addr_ = section.vaddr; in ParseKernelStartAddr()
805 symbols.emplace_back(symbol.name, symbol.vaddr, symbol.len); in LoadSymbolsImpl()
Dread_elf_test.cpp256 ASSERT_EQ(sections[13].vaddr, 0x400400); in TEST()
/system/unwinding/libunwindstack/
DElf.cpp120 uint64_t vaddr; in GetGlobalVariableOffset() local
121 if (!interface_->GetGlobalVariable(name, &vaddr) && in GetGlobalVariableOffset()
123 !gnu_debugdata_interface_->GetGlobalVariable(name, &vaddr))) { in GetGlobalVariableOffset()
130 vaddr &= (1ULL << 56) - 1; in GetGlobalVariableOffset()
135 if (vaddr >= vaddr_start && vaddr < interface_->data_vaddr_end()) { in GetGlobalVariableOffset()
136 *memory_offset = vaddr - vaddr_start + interface_->data_offset(); in GetGlobalVariableOffset()
142 if (vaddr >= vaddr_start && vaddr < interface_->dynamic_vaddr_end()) { in GetGlobalVariableOffset()
143 *memory_offset = vaddr - vaddr_start + interface_->dynamic_offset(); in GetGlobalVariableOffset()