/system/unwinding/libunwindstack/include/unwindstack/ |
D | Elf.h | 45 Elf(Memory* memory) : memory_(memory) {} in Elf() 62 bool StepIfSignalHandler(uint64_t rel_pc, Regs* regs, Memory* process_memory); 64 bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished, 67 ElfInterface* CreateInterfaceFromMemory(Memory* memory); 89 Memory* memory() { return memory_.get(); } in memory() 95 static bool IsValidElf(Memory* memory); 97 static bool GetInfo(Memory* memory, uint64_t* size); 99 static int64_t GetLoadBias(Memory* memory); 101 static std::string GetBuildID(Memory* memory); 116 std::unique_ptr<Memory> memory_; [all …]
|
D | Memory.h | 31 class Memory { 33 Memory() = default; 34 virtual ~Memory() = default; 36 static std::shared_ptr<Memory> CreateProcessMemory(pid_t pid); 37 static std::shared_ptr<Memory> CreateProcessMemoryCached(pid_t pid); 38 static std::shared_ptr<Memory> CreateProcessMemoryThreadCached(pid_t pid); 39 static std::shared_ptr<Memory> CreateOfflineMemory(const uint8_t* data, uint64_t start, 41 static std::unique_ptr<Memory> CreateFileMemory(const std::string& path, uint64_t offset,
|
D | ElfInterface.h | 35 class Memory; variable 73 ElfInterface(Memory* memory) : memory_(memory) {} in ElfInterface() 88 virtual bool Step(uint64_t rel_pc, Regs* regs, Memory* process_memory, bool* finished, 95 std::unique_ptr<Memory> CreateGnuDebugdataMemory(); 97 Memory* memory() { return memory_; } in memory() 131 static int64_t GetLoadBias(Memory* memory); 134 static std::string ReadBuildIDFromMemory(Memory* memory); 139 Memory* memory_; 197 ElfInterfaceImpl(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceImpl() 212 static void GetMaxSize(Memory* memory, uint64_t* size);
|
D | RegsMips64.h | 30 class Memory; variable 39 bool SetPcFromReturnAddress(Memory* process_memory) override; 41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | Global.h | 39 explicit Global(std::shared_ptr<Memory>& memory); 40 Global(std::shared_ptr<Memory>& memory, std::vector<std::string>& search_libs); 57 std::shared_ptr<Memory> memory_;
|
D | RegsMips.h | 30 class Memory; variable 39 bool SetPcFromReturnAddress(Memory* process_memory) override; 41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsArm.h | 30 class Memory; variable 39 bool SetPcFromReturnAddress(Memory* process_memory) override; 41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsX86.h | 30 class Memory; variable 40 bool SetPcFromReturnAddress(Memory* process_memory) override; 42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsX86_64.h | 30 class Memory; variable 40 bool SetPcFromReturnAddress(Memory* process_memory) override; 42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | DwarfSection.h | 36 class Memory; variable 43 DwarfSection(Memory* memory); 93 virtual bool Eval(const DwarfCie*, Memory*, const DwarfLocations&, Regs*, bool*) = 0; 110 bool Step(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished, bool* is_signal_frame); 128 DwarfSectionImpl(Memory* memory) : DwarfSection(memory) {} in DwarfSectionImpl() 143 bool Eval(const DwarfCie* cie, Memory* regular_memory, const DwarfLocations& loc_regs, Regs* regs, 165 bool EvalExpression(const DwarfLocation& loc, Memory* regular_memory, AddressType* value,
|
D | RegsArm64.h | 31 class Memory; variable 40 bool SetPcFromReturnAddress(Memory* process_memory) override; 42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | JitDebug.h | 31 class Memory; variable 35 std::unique_ptr<JitDebug> CreateJitDebug(ArchEnum arch, std::shared_ptr<Memory>& memory,
|
D | DexFiles.h | 31 class Memory; variable 35 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum arch, std::shared_ptr<Memory>& memory,
|
/system/unwinding/libunwindstack/ |
D | MemoryCache.h | 32 class MemoryCacheBase : public Memory { 34 MemoryCacheBase(Memory* memory) : impl_(memory) {} in MemoryCacheBase() 39 const std::shared_ptr<Memory>& UnderlyingMemory() { return impl_; } in UnderlyingMemory() 62 std::shared_ptr<Memory> impl_; 67 MemoryCache(Memory* memory) : MemoryCacheBase(memory) {} in MemoryCache() 82 MemoryThreadCache(Memory* memory);
|
D | Symbols.h | 32 class Memory; variable 47 bool GetName(uint64_t addr, Memory* elf_memory, SharedString* name, uint64_t* func_offset); 50 bool GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address); 59 Info* BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset); 62 void BuildRemapTable(Memory* elf_memory);
|
D | MemoryRange.h | 33 class MemoryRange : public Memory { 35 MemoryRange(const std::shared_ptr<Memory>& memory, uint64_t begin, uint64_t length, 45 std::shared_ptr<Memory> memory_; 51 class MemoryRanges : public Memory {
|
D | DexFiles.cpp | 30 bool GlobalDebugInterface<DexFile>::Load(Maps* maps, std::shared_ptr<Memory>& memory, uint64_t addr, in Load() 36 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum arch, std::shared_ptr<Memory>& memory, in CreateDexFiles() 44 bool GlobalDebugInterface<DexFile>::Load(Maps*, std::shared_ptr<Memory>&, uint64_t, uint64_t, 49 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum, std::shared_ptr<Memory>&,
|
D | ArmExidx.h | 28 class Memory; variable 56 ArmExidx(RegsArm* regs, Memory* elf_memory, Memory* process_memory) in ArmExidx() 113 Memory* elf_memory_; 114 Memory* process_memory_;
|
D | MemoryXz.h | 28 class MemoryXz : public Memory { 30 MemoryXz(Memory* memory, uint64_t addr, uint64_t size, const std::string& name); 56 Memory* compressed_memory_;
|
D | Symbols.cpp | 50 Symbols::Info* Symbols::BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset) { in BinarySearch() 91 void Symbols::BuildRemapTable(Memory* elf_memory) { in BuildRemapTable() 126 bool Symbols::GetName(uint64_t addr, Memory* elf_memory, SharedString* name, in GetName() 167 bool Symbols::GetGlobal(Memory* elf_memory, const std::string& name, uint64_t* memory_address) { in GetGlobal() 203 template bool Symbols::GetName<Elf32_Sym>(uint64_t, Memory*, SharedString*, uint64_t*); 204 template bool Symbols::GetName<Elf64_Sym>(uint64_t, Memory*, SharedString*, uint64_t*); 206 template bool Symbols::GetGlobal<Elf32_Sym>(Memory*, const std::string&, uint64_t*); 207 template bool Symbols::GetGlobal<Elf64_Sym>(Memory*, const std::string&, uint64_t*);
|
D | DwarfOp.h | 36 class Memory; variable 46 DwarfOp(DwarfMemory* memory, Memory* regular_memory) in DwarfOp() 71 Memory* regular_memory() { return regular_memory_; } in regular_memory() 85 Memory* regular_memory_;
|
/system/unwinding/libunwindstack/benchmarks/ |
D | local_unwind_benchmarks.cpp | 35 std::shared_ptr<unwindstack::Memory>& process_memory; 86 auto process_memory = unwindstack::Memory::CreateProcessMemory(getpid()); in BM_local_unwind_uncached_process_memory() 98 auto process_memory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in BM_local_unwind_cached_process_memory() 110 auto process_memory = unwindstack::Memory::CreateProcessMemory(getpid()); in BM_local_unwind_local_updatable_maps_uncached() 122 auto process_memory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in BM_local_unwind_local_updatable_maps_cached() 134 auto process_memory = unwindstack::Memory::CreateProcessMemoryThreadCached(getpid()); in BM_local_unwind_local_updatable_maps_thread_cached() 156 auto process_memory = unwindstack::Memory::CreateProcessMemory(getpid()); in BM_local_unwind_uncached_process_memory_no_func_names() 168 auto process_memory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in BM_local_unwind_cached_process_memory_no_func_names() 180 auto process_memory = unwindstack::Memory::CreateProcessMemory(getpid()); in BM_local_unwind_local_updatable_maps_uncached_no_func_names() 192 auto process_memory = unwindstack::Memory::CreateProcessMemoryCached(getpid()); in BM_local_unwind_local_updatable_maps_cached_no_func_names()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | elf_fake.cpp | 24 class Memory; 33 bool elf_get_build_id(unwindstack::Memory*, uintptr_t, std::string* build_id) { in elf_get_build_id() argument
|
/system/unwinding/libbacktrace/ |
D | UnwindStackMap.h | 51 virtual std::shared_ptr<unwindstack::Memory> GetProcessMemory() override final; 55 const std::shared_ptr<unwindstack::Memory>& process_memory() { return process_memory_; } in process_memory() 69 std::shared_ptr<unwindstack::Memory> process_memory_;
|
/system/unwinding/libunwindstack/tests/ |
D | ElfFake.h | 52 ElfFake(Memory* memory) : Elf(memory) { valid_ = true; } in ElfFake() 69 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake() 80 bool Step(uint64_t, Regs*, Memory*, bool*, bool*) override; 125 ElfInterface32Fake(Memory* memory) : ElfInterface32(memory) {} in ElfInterface32Fake() 136 ElfInterface64Fake(Memory* memory) : ElfInterface64(memory) {} in ElfInterface64Fake() 147 ElfInterfaceArmFake(Memory* memory) : ElfInterfaceArm(memory) {} in ElfInterfaceArmFake()
|