Home
last modified time | relevance | path

Searched refs:IsValidPc (Results 1 – 7 of 7) sorted by relevance

/system/core/libunwindstack/tests/
DElfInterfaceTest.cpp1028 EXPECT_TRUE(elf->IsValidPc(0)); in TEST_F()
1029 EXPECT_TRUE(elf->IsValidPc(0x5000)); in TEST_F()
1030 EXPECT_TRUE(elf->IsValidPc(0xffff)); in TEST_F()
1031 EXPECT_FALSE(elf->IsValidPc(0x10000)); in TEST_F()
1054 EXPECT_FALSE(elf->IsValidPc(0)); in TEST_F()
1055 EXPECT_FALSE(elf->IsValidPc(0x1000)); in TEST_F()
1056 EXPECT_FALSE(elf->IsValidPc(0x1fff)); in TEST_F()
1057 EXPECT_TRUE(elf->IsValidPc(0x2000)); in TEST_F()
1058 EXPECT_TRUE(elf->IsValidPc(0x5000)); in TEST_F()
1059 EXPECT_TRUE(elf->IsValidPc(0x11fff)); in TEST_F()
[all …]
DElfTest.cpp321 MOCK_METHOD1(IsValidPc, bool(uint64_t));
480 EXPECT_FALSE(elf.IsValidPc(0x100)); in TEST_F()
481 EXPECT_FALSE(elf.IsValidPc(0x200)); in TEST_F()
491 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(true)); in TEST_F()
493 EXPECT_TRUE(elf.IsValidPc(0x1500)); in TEST_F()
505 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(false)); in TEST_F()
506 EXPECT_CALL(*gnu_interface, IsValidPc(0x1500)).WillOnce(::testing::Return(true)); in TEST_F()
508 EXPECT_TRUE(elf.IsValidPc(0x1500)); in TEST_F()
/system/core/libunwindstack/
DJitDebug.cpp193 if (elf->IsValidPc(pc)) { in GetElf()
214 if (elf->IsValidPc(pc)) { in GetElf()
DElf.cpp231 bool Elf::IsValidPc(uint64_t pc) { in IsValidPc() function in unwindstack::Elf
236 if (interface_->IsValidPc(pc)) { in IsValidPc()
240 if (gnu_debugdata_interface_ != nullptr && gnu_debugdata_interface_->IsValidPc(pc)) { in IsValidPc()
DElfInterface.cpp48 bool ElfInterface::IsValidPc(uint64_t pc) { in IsValidPc() function in unwindstack::ElfInterface
/system/core/libunwindstack/include/unwindstack/
DElf.h80 bool IsValidPc(uint64_t pc);
DElfInterface.h69 virtual bool IsValidPc(uint64_t pc);