Searched refs:ElfInterface (Results 1 – 8 of 8) sorted by relevance
/system/core/libunwindstack/ |
D | ElfInterface.h | 44 class ElfInterface { 46 ElfInterface(Memory* memory) : memory_(memory) {} in ElfInterface() function 47 virtual ~ElfInterface() = default; 110 class ElfInterface32 : public ElfInterface { 112 ElfInterface32(Memory* memory) : ElfInterface(memory) {} in ElfInterface32() 116 return ElfInterface::ReadAllHeaders<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr>(); in Init() 123 return ElfInterface::GetSonameWithTemplate<Elf32_Dyn>(soname); in GetSoname() 131 class ElfInterface64 : public ElfInterface { 133 ElfInterface64(Memory* memory) : ElfInterface(memory) {} in ElfInterface64() 137 return ElfInterface::ReadAllHeaders<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr>(); in Init() [all …]
|
D | ElfInterface.cpp | 28 bool ElfInterface::ReadAllHeaders() { in ReadAllHeaders() 41 bool ElfInterface::ReadProgramHeaders(const EhdrType& ehdr) { in ReadProgramHeaders() 108 bool ElfInterface::ReadSectionHeaders(const EhdrType& ehdr) { in ReadSectionHeaders() 161 bool ElfInterface::GetSonameWithTemplate(std::string* soname) { in GetSonameWithTemplate() 208 bool ElfInterface::Step(uint64_t, Regs*, Memory*) { in Step() 213 template bool ElfInterface::ReadAllHeaders<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr>(); 214 template bool ElfInterface::ReadAllHeaders<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr>(); 216 template bool ElfInterface::ReadProgramHeaders<Elf32_Ehdr, Elf32_Phdr>(const Elf32_Ehdr&); 217 template bool ElfInterface::ReadProgramHeaders<Elf64_Ehdr, Elf64_Phdr>(const Elf64_Ehdr&); 219 template bool ElfInterface::ReadSectionHeaders<Elf32_Ehdr, Elf32_Shdr>(const Elf32_Ehdr&); [all …]
|
D | Elf.h | 56 ElfInterface* CreateInterfaceFromMemory(Memory* memory); 66 ElfInterface* interface() { return interface_.get(); } in interface() 72 std::unique_ptr<ElfInterface> interface_;
|
D | Elf.cpp | 69 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory() 74 std::unique_ptr<ElfInterface> interface; in CreateInterfaceFromMemory()
|
D | unwind_info.cpp | 114 ElfInterface* interface = elf.interface(); in main()
|
D | Android.bp | 51 "ElfInterface.cpp",
|
/system/core/libunwindstack/tests/ |
D | ElfInterfaceTest.cpp | 75 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SinglePtLoad() 113 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoads() 180 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr() 249 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in NonExecutablePtLoads() 306 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in ManyPhdrs() 413 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in Soname() 468 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameAfterDtNull() 523 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameSize()
|
D | RegsTest.cpp | 33 void set_elf_interface(ElfInterface* interface) { interface_.reset(interface); } in set_elf_interface() 36 class ElfInterfaceFake : public ElfInterface { 38 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake()
|