Searched refs:eh_frame_ (Results 1 – 4 of 4) sorted by relevance
/system/core/libunwindstack/tests/ |
D | DwarfEhFrameWithHdrTest.cpp | 61 eh_frame_ = new TestDwarfEhFrameWithHdr<TypeParam>(&memory_); in SetUp() 65 void TearDown() override { delete eh_frame_; } in TearDown() 68 TestDwarfEhFrameWithHdr<TypeParam>* eh_frame_ = nullptr; member in unwindstack::DwarfEhFrameWithHdrTest 80 ASSERT_TRUE(this->eh_frame_->Init(0x1000, 0x100, 0)); in TYPED_TEST_P() 81 EXPECT_EQ(1U, this->eh_frame_->TestGetVersion()); in TYPED_TEST_P() 82 EXPECT_EQ(DW_EH_PE_sdata4, this->eh_frame_->TestGetTableEncoding()); in TYPED_TEST_P() 83 EXPECT_EQ(4U, this->eh_frame_->TestGetTableEntrySize()); in TYPED_TEST_P() 84 EXPECT_EQ(126U, this->eh_frame_->TestGetFdeCount()); in TYPED_TEST_P() 85 EXPECT_EQ(0x100aU, this->eh_frame_->TestGetHdrEntriesOffset()); in TYPED_TEST_P() 86 EXPECT_EQ(0x1000U, this->eh_frame_->TestGetHdrEntriesDataOffset()); in TYPED_TEST_P() [all …]
|
D | DwarfEhFrameTest.cpp | 36 eh_frame_ = new DwarfEhFrame<TypeParam>(&memory_); in SetUp() 40 void TearDown() override { delete eh_frame_; } in TearDown() 43 DwarfEhFrame<TypeParam>* eh_frame_ = nullptr; member in unwindstack::DwarfEhFrameTest 65 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()
|
/system/core/libunwindstack/ |
D | ElfInterface.cpp | 65 if (eh_frame_ != nullptr && eh_frame_->GetFdeFromPc(pc) != nullptr) { in IsValidPc() 153 eh_frame_.reset(eh_frame_hdr); in InitHeadersWithTemplate() 155 !eh_frame_->Init(eh_frame_hdr_offset_, eh_frame_hdr_size_, eh_frame_hdr_section_bias_)) { in InitHeadersWithTemplate() 156 eh_frame_.reset(nullptr); in InitHeadersWithTemplate() 160 if (eh_frame_.get() == nullptr && eh_frame_offset_ != 0) { in InitHeadersWithTemplate() 163 eh_frame_.reset(new DwarfEhFrame<AddressType>(memory_)); in InitHeadersWithTemplate() 164 if (!eh_frame_->Init(eh_frame_offset_, eh_frame_size_, eh_frame_section_bias_)) { in InitHeadersWithTemplate() 165 eh_frame_.reset(nullptr); in InitHeadersWithTemplate() 169 if (eh_frame_.get() == nullptr) { in InitHeadersWithTemplate() 514 DwarfSection* eh_frame = eh_frame_.get(); in Step() [all …]
|
/system/core/libunwindstack/include/unwindstack/ |
D | ElfInterface.h | 99 DwarfSection* eh_frame() { return eh_frame_.get(); } in eh_frame() 177 std::unique_ptr<DwarfSection> eh_frame_; variable
|