Home
last modified time | relevance | path

Searched refs:Elf (Results 1 – 16 of 16) sorted by relevance

/system/core/libunwindstack/include/unwindstack/
DRegs.h27 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 …]
DMapInfo.h27 class Elf; variable
36 Elf* elf = nullptr;
44 Elf* GetElf(pid_t pid, bool init_gnu_debugdata = false);
DElf.h38 class Elf {
40 Elf(Memory* memory) : memory_(memory) {} in Elf() function
41 virtual ~Elf() = default;
/system/core/libunwindstack/
DElf.cpp38 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()
DMapInfo.cpp56 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()
DRegs.cpp59 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()
DAndroid.bp57 "Elf.cpp",
/system/core/libunwindstack/tests/
DElfTest.cpp108 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 …]
DMapInfoGetElfTest.cpp61 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()
DRegsFake.h34 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
DRegsTest.cpp30 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()
DRegsStepIfSignalHandlerTest.cpp34 elf_.reset(new Elf(elf_memory_)); in SetUp()
42 std::unique_ptr<Elf> elf_;
DUnwindTest.cpp99 Elf* elf = map_info->GetElf(pid, true); in VerifyUnwind()
/system/core/libunwindstack/tools/
Dunwind_symbols.cpp55 unwindstack::Elf elf(memory); in main()
Dunwind.cpp106 unwindstack::Elf* elf = map_info->GetElf(pid, true); in DoUnwind()
Dunwind_info.cpp117 Elf elf(memory); in GetElfInfo()