Searched refs:memory_offset (Results 1 – 4 of 4) sorted by relevance
115 bool Elf::GetGlobalVariableOffset(const std::string& name, uint64_t* memory_offset) { in GetGlobalVariableOffset() argument136 *memory_offset = vaddr - vaddr_start + interface_->data_offset(); in GetGlobalVariableOffset()143 *memory_offset = vaddr - vaddr_start + interface_->dynamic_offset(); in GetGlobalVariableOffset()
778 void SetMinExecutableVaddr(uint64_t min_vaddr, uint64_t memory_offset) override { in SetMinExecutableVaddr() argument780 memory_offset_of_min_vaddr_ = memory_offset; in SetMinExecutableVaddr()783 void GetMinExecutableVaddr(uint64_t* min_vaddr, uint64_t* memory_offset) override { in GetMinExecutableVaddr() argument788 *memory_offset = memory_offset_of_min_vaddr_.value(); in GetMinExecutableVaddr()793 uint64_t memory_offset; in IpToVaddrInFile() local794 GetMinExecutableVaddr(&min_vaddr, &memory_offset); in IpToVaddrInFile()795 return ip - map_start - memory_offset + min_vaddr; in IpToVaddrInFile()
288 uint64_t memory_offset; in TEST() local289 module_dso->GetMinExecutableVaddr(&min_vaddr, &memory_offset); in TEST()291 ASSERT_EQ(memory_offset, 0x164e8); in TEST()
58 bool GetGlobalVariableOffset(const std::string& name, uint64_t* memory_offset);