Home
last modified time | relevance | path

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

/system/core/libunwindstack/tests/
DElfTest.cpp332 MOCK_METHOD(bool, IsValidPc, (uint64_t), (override));
487 EXPECT_FALSE(elf.IsValidPc(0x100)); in TEST_F()
488 EXPECT_FALSE(elf.IsValidPc(0x200)); in TEST_F()
498 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(true)); in TEST_F()
500 EXPECT_TRUE(elf.IsValidPc(0x1500)); in TEST_F()
512 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(false)); in TEST_F()
513 EXPECT_CALL(*gnu_interface, IsValidPc(0x1500)).WillOnce(::testing::Return(true)); in TEST_F()
515 EXPECT_TRUE(elf.IsValidPc(0x1500)); in TEST_F()
DElfInterfaceTest.cpp1369 EXPECT_TRUE(elf->IsValidPc(0)); in TEST_F()
1370 EXPECT_TRUE(elf->IsValidPc(0x5000)); in TEST_F()
1371 EXPECT_TRUE(elf->IsValidPc(0xffff)); in TEST_F()
1372 EXPECT_FALSE(elf->IsValidPc(0x10000)); in TEST_F()
1395 EXPECT_FALSE(elf->IsValidPc(0)); in TEST_F()
1396 EXPECT_FALSE(elf->IsValidPc(0x1000)); in TEST_F()
1397 EXPECT_FALSE(elf->IsValidPc(0x1fff)); in TEST_F()
1398 EXPECT_TRUE(elf->IsValidPc(0x2000)); in TEST_F()
1399 EXPECT_TRUE(elf->IsValidPc(0x5000)); in TEST_F()
1400 EXPECT_TRUE(elf->IsValidPc(0x11fff)); in TEST_F()
[all …]
/system/core/libunwindstack/
DJitDebug.cpp194 if (elf->IsValidPc(pc)) { in GetElf()
215 if (elf->IsValidPc(pc)) { in GetElf()
DElf.cpp240 bool Elf::IsValidPc(uint64_t pc) { in IsValidPc() function in unwindstack::Elf
245 if (interface_->IsValidPc(pc)) { in IsValidPc()
249 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);