Index: lib/interception/tests/interception_win_test.cc =================================================================== --- lib/interception/tests/interception_win_test.cc +++ lib/interception/tests/interception_win_test.cc @@ -481,7 +481,11 @@ EXPECT_TRUE(TestFunctionPatching(kPatchableCode3, override)); #endif EXPECT_TRUE(TestFunctionPatching(kPatchableCode4, override)); +#if SANITIZER_WINDOWS64 + EXPECT_FALSE(TestFunctionPatching(kPatchableCode5, override)); +#else EXPECT_TRUE(TestFunctionPatching(kPatchableCode5, override)); +#endif EXPECT_FALSE(TestFunctionPatching(kUnpatchableCode1, override)); EXPECT_FALSE(TestFunctionPatching(kUnpatchableCode2, override));