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.cc114 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kStart, kEnd)); in TEST_F()
117 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kStart - kHalf, kEnd - kHalf)); in TEST_F()
118 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kStart + kHalf, kEnd + kHalf)); in TEST_F()
121 EXPECT_FALSE(shadow_.IntersectsWithProtectedMapping(kStart - kGuestRegionSize, kStart)); in TEST_F()
122 EXPECT_FALSE(shadow_.IntersectsWithProtectedMapping(kEnd, kEnd + kGuestRegionSize)); in TEST_F()
130 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kAnotherStart, kAnotherEnd)); in TEST_F()
134 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kAnotherStart - kHalf, kAnotherEnd - kHalf)); in TEST_F()
135 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kAnotherStart + kHalf, kAnotherEnd + kHalf)); in TEST_F()
136 EXPECT_TRUE(shadow_.IntersectsWithProtectedMapping(kStart - kHalf, kAnotherEnd + kHalf)); in TEST_F()
139 EXPECT_FALSE(shadow_.IntersectsWithProtectedMapping(kEnd, kAnotherStart)); in TEST_F()
[all …]
Dguest_map_shadow.cc216 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.h58 [[nodiscard]] bool IntersectsWithProtectedMapping(const void* start, const void* end);
/frameworks/libs/binary_translation/kernel_api/
Dsys_mman_emulation.cc79 if (GuestMapShadow::GetInstance()->IntersectsWithProtectedMapping( in MprotectForGuest()