From 1ef324febd501175476be53851fa462ef8d540f2 Mon Sep 17 00:00:00 2001 From: Slawomir Cygan Date: Wed, 14 Jun 2017 19:15:31 +0200 Subject: build: Enable control flow guard on Windows This enables the 'Control Flow Guard' security feature, which prevents memory corruption vulnerabilites by placing a restriction on where application can execute from. The change is applied to both VulkanRT and it's NSIS installer. WARN: This change requires re-patching and rebuillding NSIS with attached patch. WARN#2: This change requires Visual Studion 2015 or vs140 toolset to take effect. Control Flow Guard documentation: https://msdn.microsoft.com/en-us/library/windows/desktop/mt637065(v=vs.85).aspx Change-Id: I7683c0570087d994961c79fb64419509f83536a8 --- windowsRuntimeInstaller/ConfigureRT.vcxproj | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'windowsRuntimeInstaller/ConfigureRT.vcxproj') diff --git a/windowsRuntimeInstaller/ConfigureRT.vcxproj b/windowsRuntimeInstaller/ConfigureRT.vcxproj index 2627b179..a7181a0c 100644 --- a/windowsRuntimeInstaller/ConfigureRT.vcxproj +++ b/windowsRuntimeInstaller/ConfigureRT.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -18,13 +18,13 @@ Application true - v120 + v140 MultiByte Application false - v120 + v140 true MultiByte @@ -45,6 +45,7 @@ Disabled false MultiThreadedDebug + Guard true @@ -60,6 +61,7 @@ true false MultiThreaded + Guard true -- cgit v1.2.3