Home
last modified time | relevance | path

Searched refs:memory_offset (Results 1 – 4 of 4) sorted by relevance

/system/unwinding/libunwindstack/
DElf.cpp115 bool Elf::GetGlobalVariableOffset(const std::string& name, uint64_t* memory_offset) { in GetGlobalVariableOffset() argument
136 *memory_offset = vaddr - vaddr_start + interface_->data_offset(); in GetGlobalVariableOffset()
143 *memory_offset = vaddr - vaddr_start + interface_->dynamic_offset(); in GetGlobalVariableOffset()
/system/extras/simpleperf/
Ddso.cpp778 void SetMinExecutableVaddr(uint64_t min_vaddr, uint64_t memory_offset) override { in SetMinExecutableVaddr() argument
780 memory_offset_of_min_vaddr_ = memory_offset; in SetMinExecutableVaddr()
783 void GetMinExecutableVaddr(uint64_t* min_vaddr, uint64_t* memory_offset) override { in GetMinExecutableVaddr() argument
788 *memory_offset = memory_offset_of_min_vaddr_.value(); in GetMinExecutableVaddr()
793 uint64_t memory_offset; in IpToVaddrInFile() local
794 GetMinExecutableVaddr(&min_vaddr, &memory_offset); in IpToVaddrInFile()
795 return ip - map_start - memory_offset + min_vaddr; in IpToVaddrInFile()
Ddso_test.cpp288 uint64_t memory_offset; in TEST() local
289 module_dso->GetMinExecutableVaddr(&min_vaddr, &memory_offset); in TEST()
291 ASSERT_EQ(memory_offset, 0x164e8); in TEST()
/system/unwinding/libunwindstack/include/unwindstack/
DElf.h58 bool GetGlobalVariableOffset(const std::string& name, uint64_t* memory_offset);