Home
last modified time | relevance | path

Searched refs:IntersectsWithProtectedMapping (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_map_shadow_test.cc111 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart, kEnd)); in TEST_F()
114 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart - kHalf, kEnd - kHalf)); in TEST_F()
115 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart + kHalf, kEnd + kHalf)); in TEST_F()
118 EXPECT_FALSE(shadow->IntersectsWithProtectedMapping(kStart - kGuestRegionSize, kStart)); in TEST_F()
119 EXPECT_FALSE(shadow->IntersectsWithProtectedMapping(kEnd, kEnd + kGuestRegionSize)); in TEST_F()
127 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kAnotherStart, kAnotherEnd)); in TEST_F()
131 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kAnotherStart - kHalf, kAnotherEnd - kHalf)); in TEST_F()
132 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kAnotherStart + kHalf, kAnotherEnd + kHalf)); in TEST_F()
133 EXPECT_TRUE(shadow->IntersectsWithProtectedMapping(kStart - kHalf, kAnotherEnd + kHalf)); in TEST_F()
136 EXPECT_FALSE(shadow->IntersectsWithProtectedMapping(kEnd, kAnotherStart)); in TEST_F()
[all …]
Dguest_map_shadow.cc194 bool GuestMapShadow::IntersectsWithProtectedMapping(const void* start, const void* end) { in IntersectsWithProtectedMapping() function in berberis::GuestMapShadow
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/
Dguest_map_shadow.h56 [[nodiscard]] bool IntersectsWithProtectedMapping(const void* start, const void* end);
/frameworks/libs/binary_translation/kernel_api/
Dsys_mman_emulation.cc91 if (GuestMapShadow::GetInstance()->IntersectsWithProtectedMapping( in MprotectForGuest()