Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/include/unwindstack/
DDwarfSection.h46 class iterator : public std::iterator<std::bidirectional_iterator_tag, DwarfFde*> {
75 const DwarfFde* operator*() {
81 std::vector<const DwarfFde*> fdes_;
95 virtual bool Log(uint8_t indent, uint64_t pc, const DwarfFde* fde, ArchEnum arch) = 0;
97 virtual void GetFdes(std::vector<const DwarfFde*>* fdes) = 0;
99 virtual const DwarfFde* GetFdeFromPc(uint64_t pc) = 0;
101 virtual bool GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, DwarfLocations* loc_regs,
119 std::unordered_map<uint64_t, DwarfFde> fde_entries_;
135 const DwarfFde* GetFdeFromOffset(uint64_t offset);
137 const DwarfFde* GetFdeFromPc(uint64_t pc) override;
[all …]
DDwarfStructs.h41 struct DwarfFde { struct
/system/unwinding/libunwindstack/tests/
DDwarfSectionTest.cpp40 MOCK_METHOD(bool, Log, (uint8_t, uint64_t, const DwarfFde*, ArchEnum arch), (override));
42 MOCK_METHOD(void, GetFdes, (std::vector<const DwarfFde*>*), (override));
44 MOCK_METHOD(const DwarfFde*, GetFdeFromPc, (uint64_t), (override));
46 MOCK_METHOD(bool, GetCfaLocationInfo, (uint64_t, const DwarfFde*, DwarfLocations*, ArchEnum arch),
76 DwarfFde fde{}; in TEST_F()
89 DwarfFde fde{}; in TEST_F()
104 DwarfFde fde{}; in TEST_F()
121 static bool MockGetCfaLocationInfo(::testing::Unused, const DwarfFde* fde, DwarfLocations* loc_regs, in MockGetCfaLocationInfo()
130 DwarfFde fde{}; in TEST_F()
152 DwarfFde fde0{}; in TEST_F()
[all …]
DDwarfDebugFrameTest.cpp126 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
168 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x3600); in TYPED_TEST_P()
173 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
192 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
202 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x1600); in TYPED_TEST_P()
226 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
250 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
274 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
316 const DwarfFde* fde = this->debug_frame_->GetFdeFromPc(0x2600); in TYPED_TEST_P()
321 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
[all …]
DDwarfEhFrameTest.cpp65 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x5100); in TYPED_TEST_P()
104 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x5100); in TYPED_TEST_P()
DDwarfEhFrameWithHdrTest.cpp139 const DwarfFde* fde = this->eh_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
174 const DwarfFde* fde = this->eh_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
210 const DwarfFde* fde = this->eh_frame_->GetFdeFromPc(0x4600); in TYPED_TEST_P()
246 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
302 std::vector<const DwarfFde*> fdes; in TYPED_TEST_P()
471 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x14000); in TYPED_TEST_P()
509 const DwarfFde* fde = this->eh_frame_->GetFdeFromOffset(0x8000); in TYPED_TEST_P()
DVerifyBionicTerminationTest.cpp53 const DwarfFde* fde = section->GetFdeFromPc(rel_pc); in GetReturnAddressLocation()
DDwarfSectionImplTest.cpp41 void GetFdes(std::vector<const DwarfFde*>*) override {} in GetFdes() argument
43 const DwarfFde* GetFdeFromPc(uint64_t) override { return nullptr; } in GetFdeFromPc()
533 DwarfFde fde{}; in TYPED_TEST_P()
561 DwarfFde fde{}; in TYPED_TEST_P()
591 DwarfFde fde{}; in TYPED_TEST_P()
DDwarfCfaLogTest.cpp68 DwarfFde fde_;
DDwarfCfaTest.cpp67 DwarfFde fde_;
/system/unwinding/libunwindstack/
DDwarfEhFrameWithHdr.cpp104 const DwarfFde* DwarfEhFrameWithHdr<AddressType>::GetFdeFromPc(uint64_t pc) { in GetFdeFromPc()
109 const DwarfFde* fde = this->GetFdeFromOffset(fde_offset); in GetFdeFromPc()
197 void DwarfEhFrameWithHdr<AddressType>::GetFdes(std::vector<const DwarfFde*>* fdes) { in GetFdes()
203 const DwarfFde* fde = this->GetFdeFromOffset(info->offset); in GetFdes()
212 const DwarfFde* fde_real = DwarfSectionImpl<AddressType>::GetFdeFromPc(fde->pc_start); in GetFdes()
DDwarfEhFrameWithHdr.h63 const DwarfFde* GetFdeFromPc(uint64_t pc) override;
69 void GetFdes(std::vector<const DwarfFde*>* fdes) override;
DDwarfSection.cpp46 const DwarfFde* fde = GetFdeFromPc(pc); in Step()
256 const DwarfFde* DwarfSectionImpl<AddressType>::GetFdeFromOffset(uint64_t offset) { in GetFdeFromOffset()
261 DwarfFde* fde = &fde_entries_[offset]; in GetFdeFromOffset()
272 bool DwarfSectionImpl<AddressType>::FillInFdeHeader(DwarfFde* fde) { in FillInFdeHeader()
329 bool DwarfSectionImpl<AddressType>::FillInFde(DwarfFde* fde) { in FillInFde()
578 bool DwarfSectionImpl<AddressType>::GetCfaLocationInfo(uint64_t pc, const DwarfFde* fde, in GetCfaLocationInfo()
601 bool DwarfSectionImpl<AddressType>::Log(uint8_t indent, uint64_t pc, const DwarfFde* fde, in Log()
636 std::optional<DwarfFde>& fde_entry) { in GetNextCieOrFde()
707 fde_entry = DwarfFde{}; in GetNextCieOrFde()
718 void DwarfSectionImpl<AddressType>::GetFdes(std::vector<const DwarfFde*>* fdes) { in GetFdes()
[all …]
DDwarfCfa.h78 DwarfCfa(DwarfMemory* memory, const DwarfFde* fde, ArchEnum arch) in DwarfCfa()
105 const DwarfFde* fde_;
/system/unwinding/libunwindstack/tools/
Dunwind_info.cpp86 for (const DwarfFde* fde : *section) { in DumpDwarfSection()
Dunwind_reg_info.cpp69 const DwarfFde* fde = section->GetFdeFromPc(pc); in PrintRegInformation()