Home
last modified time | relevance | path

Searched refs:ElfInterface (Results 1 – 11 of 11) sorted by relevance

/system/unwinding/libunwindstack/include/unwindstack/
DElf.h67 ElfInterface* CreateInterfaceFromMemory(Memory* memory);
91 ElfInterface* interface() { return interface_.get(); } in interface()
93 ElfInterface* gnu_debugdata_interface() { return gnu_debugdata_interface_.get(); } in gnu_debugdata_interface()
115 std::unique_ptr<ElfInterface> interface_;
124 std::unique_ptr<ElfInterface> gnu_debugdata_interface_;
DElfInterface.h71 class ElfInterface {
73 ElfInterface(Memory* memory) : memory_(memory) {} in ElfInterface() function
74 virtual ~ElfInterface();
101 void SetGnuDebugdataInterface(ElfInterface* interface) { gnu_debugdata_interface_ = interface; } in SetGnuDebugdataInterface()
180 ElfInterface* gnu_debugdata_interface_ = nullptr;
187 class ElfInterfaceImpl : public ElfInterface {
197 ElfInterfaceImpl(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceImpl()
/system/unwinding/libunwindstack/
DElfInterface.cpp43 ElfInterface::~ElfInterface() { in ~ElfInterface()
49 bool ElfInterface::IsValidPc(uint64_t pc) { in IsValidPc()
73 bool ElfInterface::GetTextRange(uint64_t* addr, uint64_t* size) { in GetTextRange()
82 std::unique_ptr<Memory> ElfInterface::CreateGnuDebugdataMemory() { in CreateGnuDebugdataMemory()
153 int64_t ElfInterface::GetLoadBias(Memory* memory) { in GetLoadBias()
453 bool ElfInterface::Step(uint64_t pc, Regs* regs, Memory* process_memory, bool* finished, in Step()
577 std::string ElfInterface::ReadBuildIDFromMemory(Memory* memory) { in ReadBuildIDFromMemory()
637 template int64_t ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(Memory*);
638 template int64_t ElfInterface::GetLoadBias<Elf64_Ehdr, Elf64_Phdr>(Memory*);
640 template std::string ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(
[all …]
DElf.cpp73 ElfInterface* gnu = gnu_debugdata_interface_.get(); in InitGnuDebugdata()
278 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory()
283 std::unique_ptr<ElfInterface> interface; in CreateInterfaceFromMemory()
344 return ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(memory); in GetLoadBias()
346 return ElfInterface::GetLoadBias<Elf64_Ehdr, Elf64_Phdr>(memory); in GetLoadBias()
437 return ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(memory); in GetBuildID()
439 return ElfInterface::ReadBuildIDFromMemory<Elf64_Ehdr, Elf64_Shdr, Elf64_Nhdr>(memory); in GetBuildID()
DAndroid.bp68 "ElfInterface.cpp",
/system/unwinding/libunwindstack/tests/
DElfFake.h61 void FakeSetInterface(ElfInterface* interface) { interface_.reset(interface); } in FakeSetInterface()
62 void FakeSetGnuDebugdataInterface(ElfInterface* interface) { in FakeSetGnuDebugdataInterface()
67 class ElfInterfaceFake : public ElfInterface {
69 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake()
DElfInterfaceTest.cpp182 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SinglePtLoad()
220 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoads()
287 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
356 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in NonExecutablePtLoads()
413 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in ManyPhdrs()
580 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in Soname()
601 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameAfterDtNull()
622 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameSize()
645 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameMissingMap()
1301 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in CheckGnuEhFrame()
[all …]
DVerifyBionicTerminationTest.cpp75 ElfInterface* interface = elf.interface(); in VerifyReturnAddress()
DElfTest.cpp340 class ElfInterfaceMock : public ElfInterface {
342 ElfInterfaceMock(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceMock()
/system/unwinding/libunwindstack/tools/
Dunwind_info.cpp129 ElfInterface* interface = elf.interface(); in GetElfInfo()
152 ElfInterface* gnu_debugdata_interface = elf.gnu_debugdata_interface(); in GetElfInfo()
Dunwind_reg_info.cpp181 ElfInterface* interface = elf.interface(); in GetInfo()
223 ElfInterface* gnu_debugdata_interface = elf.gnu_debugdata_interface(); in GetInfo()