Home
last modified time | relevance | path

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

/system/core/libunwindstack/include/unwindstack/
DElfInterface.h50 class ElfInterface {
52 ElfInterface(Memory* memory) : memory_(memory) {} in ElfInterface() function
53 virtual ~ElfInterface();
77 void SetGnuDebugdataInterface(ElfInterface* interface) { gnu_debugdata_interface_ = interface; } in SetGnuDebugdataInterface()
167 ElfInterface* gnu_debugdata_interface_ = nullptr;
173 class ElfInterface32 : public ElfInterface {
175 ElfInterface32(Memory* memory) : ElfInterface(memory) {} in ElfInterface32()
179 return ElfInterface::ReadAllHeaders<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr>(load_bias); in Init()
183 ElfInterface::InitHeadersWithTemplate<uint32_t>(load_bias); in InitHeaders()
186 std::string GetSoname() override { return ElfInterface::GetSonameWithTemplate<Elf32_Dyn>(); } in GetSoname()
[all …]
DElf.h74 ElfInterface* CreateInterfaceFromMemory(Memory* memory);
96 ElfInterface* interface() { return interface_.get(); } in interface()
98 ElfInterface* gnu_debugdata_interface() { return gnu_debugdata_interface_.get(); } in gnu_debugdata_interface()
120 std::unique_ptr<ElfInterface> interface_;
129 std::unique_ptr<ElfInterface> gnu_debugdata_interface_;
/system/core/libunwindstack/
DElfInterface.cpp42 ElfInterface::~ElfInterface() { in ~ElfInterface()
48 bool ElfInterface::IsValidPc(uint64_t pc) { in IsValidPc()
72 Memory* ElfInterface::CreateGnuDebugdataMemory() { in CreateGnuDebugdataMemory()
127 void ElfInterface::InitHeadersWithTemplate(uint64_t load_bias) { in InitHeadersWithTemplate()
162 bool ElfInterface::ReadAllHeaders(uint64_t* load_bias) { in ReadAllHeaders()
178 uint64_t ElfInterface::GetLoadBias(Memory* memory) { in GetLoadBias()
198 void ElfInterface::ReadProgramHeaders(const EhdrType& ehdr, uint64_t* load_bias) { in ReadProgramHeaders()
241 std::string ElfInterface::ReadBuildID() { in ReadBuildID()
293 void ElfInterface::ReadSectionHeaders(const EhdrType& ehdr) { in ReadSectionHeaders()
377 std::string ElfInterface::GetSonameWithTemplate() { in GetSonameWithTemplate()
[all …]
DElf.cpp73 ElfInterface* gnu = gnu_debugdata_interface_.get(); in InitGnuDebugdata()
247 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory()
252 std::unique_ptr<ElfInterface> interface; in CreateInterfaceFromMemory()
313 return ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(memory); in GetLoadBias()
315 return ElfInterface::GetLoadBias<Elf64_Ehdr, Elf64_Phdr>(memory); in GetLoadBias()
405 return ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(memory); in GetBuildID()
407 return ElfInterface::ReadBuildIDFromMemory<Elf64_Ehdr, Elf64_Shdr, Elf64_Nhdr>(memory); in GetBuildID()
DAndroid.bp59 "ElfInterface.cpp",
/system/core/libunwindstack/tests/
DElfFake.h58 void FakeSetInterface(ElfInterface* interface) { interface_.reset(interface); } in FakeSetInterface()
59 void FakeSetGnuDebugdataInterface(ElfInterface* interface) { in FakeSetGnuDebugdataInterface()
64 class ElfInterfaceFake : public ElfInterface {
66 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake()
DElfInterfaceTest.cpp153 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SinglePtLoad()
191 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoads()
258 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
327 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in NonExecutablePtLoads()
384 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in ManyPhdrs()
552 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in Soname()
573 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameAfterDtNull()
594 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameSize()
617 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameMissingMap()
1009 std::unique_ptr<ElfInterface> elf(new ElfInterface32(&memory_)); in TEST_F()
[all …]
DElfTest.cpp308 class ElfInterfaceMock : public ElfInterface {
310 ElfInterfaceMock(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceMock()
/system/core/libunwindstack/tools/
Dunwind_info.cpp135 ElfInterface* interface = elf.interface(); in GetElfInfo()
158 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()