Lines Matching refs:Elf
39 bool Elf::cache_enabled_;
40 std::unordered_map<std::string, std::pair<std::shared_ptr<Elf>, bool>>* Elf::cache_;
41 std::mutex* Elf::cache_lock_;
43 bool Elf::Init() { in Init()
66 void Elf::InitGnuDebugdata() { in InitGnuDebugdata()
91 void Elf::Invalidate() { in Invalidate()
96 std::string Elf::GetSoname() { in GetSoname()
104 uint64_t Elf::GetRelPc(uint64_t pc, const MapInfo* map_info) { in GetRelPc()
108 bool Elf::GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) { in GetFunctionName()
115 bool Elf::GetGlobalVariableOffset(const std::string& name, uint64_t* memory_offset) { in GetGlobalVariableOffset()
150 std::string Elf::GetBuildID() { in GetBuildID()
157 void Elf::GetLastError(ErrorData* data) { in GetLastError()
163 ErrorCode Elf::GetLastErrorCode() { in GetLastErrorCode()
170 uint64_t Elf::GetLastErrorAddress() { in GetLastErrorAddress()
178 bool Elf::StepIfSignalHandler(uint64_t rel_pc, Regs* regs, Memory* process_memory) { in StepIfSignalHandler()
191 bool Elf::Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished) { in Step()
201 bool Elf::IsValidElf(Memory* memory) { in IsValidElf()
218 bool Elf::GetInfo(Memory* memory, uint64_t* size) { in GetInfo()
240 bool Elf::IsValidPc(uint64_t pc) { in IsValidPc()
256 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory()
311 int64_t Elf::GetLoadBias(Memory* memory) { in GetLoadBias()
329 void Elf::SetCachingEnabled(bool enable) { in SetCachingEnabled()
332 cache_ = new std::unordered_map<std::string, std::pair<std::shared_ptr<Elf>, bool>>; in SetCachingEnabled()
341 void Elf::CacheLock() { in CacheLock()
345 void Elf::CacheUnlock() { in CacheUnlock()
349 void Elf::CacheAdd(MapInfo* info) { in CacheAdd()
369 bool Elf::CacheAfterCreateMemory(MapInfo* info) { in CacheAfterCreateMemory()
387 bool Elf::CacheGet(MapInfo* info) { in CacheGet()
403 std::string Elf::GetBuildID(Memory* memory) { in GetBuildID()