/system/core/libunwindstack/include/unwindstack/ |
D | Regs.h | 27 class Elf; variable 58 virtual uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) = 0; 60 virtual bool StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) = 0; 108 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override; 112 bool StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) override; 120 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override; 124 bool StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) override; 132 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override; 136 bool StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) override; 146 uint64_t GetAdjustedPc(uint64_t rel_pc, Elf* elf) override; [all …]
|
D | MapInfo.h | 27 class Elf; variable 36 Elf* elf = nullptr; 44 Elf* GetElf(pid_t pid, bool init_gnu_debugdata = false);
|
D | Elf.h | 38 class Elf { 40 Elf(Memory* memory) : memory_(memory) {} in Elf() function 41 virtual ~Elf() = default;
|
/system/core/libunwindstack/ |
D | Elf.cpp | 38 bool Elf::Init() { in Init() 59 void Elf::InitGnuDebugdata() { in InitGnuDebugdata() 79 bool Elf::GetSoname(std::string* name) { in GetSoname() 83 uint64_t Elf::GetRelPc(uint64_t pc, const MapInfo* map_info) { in GetRelPc() 92 bool Elf::GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) { in GetFunctionName() 98 bool Elf::Step(uint64_t rel_pc, Regs* regs, Memory* process_memory) { in Step() 105 uint64_t Elf::GetLoadBias() { in GetLoadBias() 110 bool Elf::IsValidElf(Memory* memory) { in IsValidElf() 127 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory()
|
D | MapInfo.cpp | 56 if (offset != 0 && !Elf::IsValidElf(file_memory.get())) { in CreateMemory() 78 Elf* MapInfo::GetElf(pid_t pid, bool init_gnu_debugdata) { in GetElf() 83 elf = new Elf(CreateMemory(pid)); in GetElf()
|
D | Regs.cpp | 59 uint64_t RegsArm::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() 93 uint64_t RegsArm64::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() 112 uint64_t RegsX86::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() 131 uint64_t RegsX86_64::GetAdjustedPc(uint64_t rel_pc, Elf* elf) { in GetAdjustedPc() 353 bool RegsArm::StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() 423 bool RegsArm64::StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() 450 bool RegsX86::StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() 511 bool RegsX86_64::StepIfSignalHandler(uint64_t rel_pc, Elf* elf, Memory* process_memory) { in StepIfSignalHandler()
|
D | Android.bp | 57 "Elf.cpp",
|
/system/core/libunwindstack/tests/ |
D | ElfTest.cpp | 108 Elf elf(memory_); in TEST_F() 115 Elf elf(memory_); in TEST_F() 136 Elf elf(memory_); in TEST_F() 149 Elf elf(memory_); in TEST_F() 162 Elf elf(memory_); in TEST_F() 174 Elf elf(memory_); in TEST_F() 186 Elf elf(memory_); in TEST_F() 198 Elf elf(memory_); in TEST_F() 215 Elf elf(memory_); in TEST_F() 229 Elf elf(memory_); in TEST_F() [all …]
|
D | MapInfoGetElfTest.cpp | 61 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), false)); in TEST_F() 71 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), false)); in TEST_F() 83 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), false)); in TEST_F() 96 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), false)); in TEST_F() 110 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), false)); in TEST_F() 124 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), true)); in TEST_F() 138 std::unique_ptr<Elf> elf(info_->GetElf(getpid(), true)); in TEST_F()
|
D | RegsFake.h | 34 uint64_t GetAdjustedPc(uint64_t, Elf*) override { return 0; } in GetAdjustedPc() argument 36 bool StepIfSignalHandler(uint64_t, Elf*, Memory*) override { return false; } in StepIfSignalHandler() argument
|
D | RegsTest.cpp | 30 class ElfFake : public Elf { 32 ElfFake(Memory* memory) : Elf(memory) { valid_ = true; } in ElfFake() 61 uint64_t GetAdjustedPc(uint64_t, Elf*) override { return 0; } in GetAdjustedPc() argument 63 bool StepIfSignalHandler(uint64_t, Elf*, Memory*) override { return false; } in StepIfSignalHandler() argument 225 Elf invalid_elf(new MemoryFake); in TEST_F()
|
D | RegsStepIfSignalHandlerTest.cpp | 34 elf_.reset(new Elf(elf_memory_)); in SetUp() 42 std::unique_ptr<Elf> elf_;
|
D | UnwindTest.cpp | 99 Elf* elf = map_info->GetElf(pid, true); in VerifyUnwind()
|
/system/core/libunwindstack/tools/ |
D | unwind_symbols.cpp | 55 unwindstack::Elf elf(memory); in main()
|
D | unwind.cpp | 106 unwindstack::Elf* elf = map_info->GetElf(pid, true); in DoUnwind()
|
D | unwind_info.cpp | 117 Elf elf(memory); in GetElfInfo()
|