Home
last modified time | relevance | path

Searched refs:memory_address (Results 1 – 6 of 6) sorted by relevance

/system/core/libunwindstack/
DElf.cpp115 bool Elf::GetGlobalVariable(const std::string& name, uint64_t* memory_address) { in GetGlobalVariable() argument
120 if (!interface_->GetGlobalVariable(name, memory_address) && in GetGlobalVariable()
122 !gnu_debugdata_interface_->GetGlobalVariable(name, memory_address))) { in GetGlobalVariable()
127 if (*memory_address < load_bias_) { in GetGlobalVariable()
131 *memory_address -= load_bias_; in GetGlobalVariable()
136 if (*memory_address >= interface_->dynamic_vaddr() && *memory_address < dynamic_end) { in GetGlobalVariable()
138 *memory_address -= interface_->dynamic_vaddr() - interface_->dynamic_offset(); in GetGlobalVariable()
140 *memory_address += interface_->dynamic_offset() - interface_->dynamic_vaddr(); in GetGlobalVariable()
DSymbols.cpp107 bool Symbols::GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address) { in GetGlobal() argument
122 *memory_address = entry.st_value; in GetGlobal()
DSymbols.h50 bool GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address);
DElfInterface.cpp446 bool ElfInterface::GetGlobalVariableWithTemplate(const std::string& name, uint64_t* memory_address)… in GetGlobalVariableWithTemplate() argument
452 if (symbol->GetGlobal<SymType>(memory_, name, memory_address)) { in GetGlobalVariableWithTemplate()
/system/core/libunwindstack/include/unwindstack/
DElfInterface.h63 virtual bool GetGlobalVariable(const std::string& name, uint64_t* memory_address) = 0;
126 bool GetGlobalVariableWithTemplate(const std::string& name, uint64_t* memory_address);
192 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address) override { in GetGlobalVariable() argument
193 return ElfInterface::GetGlobalVariableWithTemplate<Elf32_Sym>(name, memory_address); in GetGlobalVariable()
222 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address) override { in GetGlobalVariable() argument
223 return ElfInterface::GetGlobalVariableWithTemplate<Elf64_Sym>(name, memory_address); in GetGlobalVariable()
DElf.h66 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address);