Home
last modified time | relevance | path

Searched refs:ElfInterface (Results 1 – 11 of 11) 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()
180 ElfInterface* gnu_debugdata_interface_ = nullptr;
186 class ElfInterface32 : public ElfInterface {
188 ElfInterface32(Memory* memory) : ElfInterface(memory) {} in ElfInterface32()
192 return ElfInterface::ReadAllHeaders<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr>(load_bias); in Init()
195 void InitHeaders() override { ElfInterface::InitHeadersWithTemplate<uint32_t>(); } in InitHeaders()
197 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()
150 void ElfInterface::InitHeadersWithTemplate() { in InitHeadersWithTemplate()
189 bool ElfInterface::ReadAllHeaders(int64_t* load_bias) { in ReadAllHeaders()
205 int64_t ElfInterface::GetLoadBias(Memory* memory) { in GetLoadBias()
227 void ElfInterface::ReadProgramHeaders(const EhdrType& ehdr, int64_t* load_bias) { in ReadProgramHeaders()
278 std::string ElfInterface::ReadBuildID() { in ReadBuildID()
330 void ElfInterface::ReadSectionHeaders(const EhdrType& ehdr) { in ReadSectionHeaders()
419 std::string ElfInterface::GetSonameWithTemplate() { in GetSonameWithTemplate()
[all …]
DElf.cpp73 ElfInterface* gnu = gnu_debugdata_interface_.get(); in InitGnuDebugdata()
256 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory()
261 std::unique_ptr<ElfInterface> interface; in CreateInterfaceFromMemory()
322 return ElfInterface::GetLoadBias<Elf32_Ehdr, Elf32_Phdr>(memory); in GetLoadBias()
324 return ElfInterface::GetLoadBias<Elf64_Ehdr, Elf64_Phdr>(memory); in GetLoadBias()
414 return ElfInterface::ReadBuildIDFromMemory<Elf32_Ehdr, Elf32_Shdr, Elf32_Nhdr>(memory); in GetBuildID()
416 return ElfInterface::ReadBuildIDFromMemory<Elf64_Ehdr, Elf64_Shdr, Elf64_Nhdr>(memory); in GetBuildID()
DAndroid.bp52 "ElfInterface.cpp",
/system/core/libunwindstack/tests/
DElfFake.h60 void FakeSetInterface(ElfInterface* interface) { interface_.reset(interface); } in FakeSetInterface()
61 void FakeSetGnuDebugdataInterface(ElfInterface* interface) { in FakeSetGnuDebugdataInterface()
66 class ElfInterfaceFake : public ElfInterface {
68 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake()
DElfInterfaceTest.cpp174 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SinglePtLoad()
212 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoads()
279 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
348 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in NonExecutablePtLoads()
405 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in ManyPhdrs()
572 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in Soname()
593 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameAfterDtNull()
614 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameSize()
637 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in SonameMissingMap()
1293 std::unique_ptr<ElfInterface> elf(new ElfInterfaceType(&memory_)); in CheckGnuEhFrame()
[all …]
DVerifyBionicTerminationTest.cpp75 ElfInterface* interface = elf.interface(); in VerifyReturnAddress()
DElfTest.cpp319 class ElfInterfaceMock : public ElfInterface {
321 ElfInterfaceMock(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceMock()
/system/core/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()