Skip to content

Commit 55e4281

Browse files
committed
Not all Win10 process have CFG
My previous CFG change assumed that for Chakra.dll (which only runs on Win10), CFG had to be enabled. This is true for Edge, but not other processes as CFG is an opt-in feature.
1 parent 39f9727 commit 55e4281

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Common/Core/GlobalSecurityPolicy.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,6 @@ GlobalSecurityPolicy::GlobalSecurityPolicy()
101101
{
102102
RaiseFailFastException(nullptr, nullptr, FAIL_FAST_GENERATE_EXCEPTION_ADDRESS);
103103
}
104-
105-
#if defined (NTBUILD)
106-
AssertOrFailFast(readOnlyData.isCFGEnabled);
107-
#endif
108104
}
109105

110106
#endif //_CONTROL_FLOW_GUARD

0 commit comments

Comments
 (0)