Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DElfFake.h103 void FakeSetDataVaddrStart(uint64_t vaddr) { data_vaddr_start_ = vaddr; } in FakeSetDataVaddrStart() argument
104 void FakeSetDataVaddrEnd(uint64_t vaddr) { data_vaddr_end_ = vaddr; } in FakeSetDataVaddrEnd() argument
107 void FakeSetDynamicVaddrStart(uint64_t vaddr) { dynamic_vaddr_start_ = vaddr; } in FakeSetDynamicVaddrStart() argument
108 void FakeSetDynamicVaddrEnd(uint64_t vaddr) { dynamic_vaddr_end_ = vaddr; } in FakeSetDynamicVaddrEnd() argument
DElfTest.cpp335 void MockSetDataVaddrStart(uint64_t vaddr) { data_vaddr_start_ = vaddr; } in MockSetDataVaddrStart() argument
336 void MockSetDataVaddrEnd(uint64_t vaddr) { data_vaddr_end_ = vaddr; } in MockSetDataVaddrEnd() argument
339 void MockSetDynamicVaddrStart(uint64_t vaddr) { dynamic_vaddr_start_ = vaddr; } in MockSetDynamicVaddrStart() argument
340 void MockSetDynamicVaddrEnd(uint64_t vaddr) { dynamic_vaddr_end_ = vaddr; } in MockSetDynamicVaddrEnd() argument
DElfInterfaceTest.cpp153 void CheckLoadBiasInFirstExecPhdr(uint64_t offset, uint64_t vaddr, int64_t load_bias);
1880 void ElfInterfaceTest::CheckLoadBiasInFirstExecPhdr(uint64_t offset, uint64_t vaddr, in CheckLoadBiasInFirstExecPhdr() argument
1898 phdr.p_vaddr = vaddr; in CheckLoadBiasInFirstExecPhdr()
/system/core/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()
/system/extras/simpleperf/
Dread_elf.h48 uint64_t vaddr; member
55 ElfFileSymbol() : vaddr(0), len(0), is_func(false), is_label(false), is_in_text_section(false) { in ElfFileSymbol()
66 uint64_t vaddr = 0; member
96 virtual bool VaddrToOff(uint64_t vaddr, uint64_t* file_offset) = 0;
Dread_elf.cpp229 symbol.vaddr = symbol_ref->getValue(); in ReadSymbolTable()
230 if ((symbol.vaddr & 1) != 0 && is_arm) { in ReadSymbolTable()
232 symbol.vaddr &= ~1; in ReadSymbolTable()
278 symbol.vaddr = shdr->sh_addr; in AddSymbolForPltSection()
333 segments[i].vaddr = phdr.p_vaddr; in GetProgramHeader()
443 bool VaddrToOff(uint64_t vaddr, uint64_t* file_offset) override { in VaddrToOff() argument
445 if (ph->p_type == llvm::ELF::PT_LOAD && vaddr >= ph->p_vaddr && in VaddrToOff()
446 vaddr < ph->p_vaddr + ph->p_filesz) { in VaddrToOff()
447 *file_offset = vaddr - ph->p_vaddr + ph->p_offset; in VaddrToOff()
DETMDecoder.cpp825 bool ReadMem(uint64_t vaddr, size_t size, void* data) { in ReadMem() argument
827 if (vaddr >= segment.vaddr && vaddr + size <= segment.vaddr + segment.file_size) { in ReadMem()
828 uint64_t offset = vaddr - segment.vaddr + segment.file_offset; in ReadMem()
Detm_branch_list.proto28 // vaddr in binary, instr addr before the first branch
DJITDebugReader.cpp506 jit_addr = symbol.vaddr - aligned_segment_vaddr; in GetDescriptorsLocation()
508 dex_addr = symbol.vaddr - aligned_segment_vaddr; in GetDescriptorsLocation()
689 LOG(VERBOSE) << "JITSymbol " << symbol.name << " at [" << std::hex << symbol.vaddr in ReadJITCodeDebugInfo()
690 << " - " << (symbol.vaddr + symbol.len) << " with size " << symbol.len; in ReadJITCodeDebugInfo()
695 debug_info->emplace_back(process.pid, jit_entry.timestamp, symbol.vaddr, symbol.len, in ReadJITCodeDebugInfo()
Ddso.cpp562 symbols.emplace_back(symbol.name, symbol.vaddr, symbol.len); in LoadSymbols()
600 symbols.emplace_back(symbol.name, symbol.vaddr, symbol.len); in LoadSymbols()
671 symbols.emplace_back(symbol.name, symbol.vaddr, symbol.len); in LoadSymbols()