From: Owen Smith Date: Fri, 2 Feb 2024 09:24:19 +0000 (+0000) Subject: Generate map files and enable integrity check X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2bea3458f2dd5436c6ce4eb462ab06090a584a0e;p=pvdrivers%2Fwin%2Fxennet.git Generate map files and enable integrity check Enable linker options to generates map files, to help debugging crashdumps Adds map files to output package Add /INTEGRITYCHECK to linker options https://learn.microsoft.com/en-us/cpp/build/reference/map-generate-mapfile?view=msvc-170 https://learn.microsoft.com/en-us/cpp/build/reference/mapinfo-include-information-in-mapfile?view=msvc-170 https://learn.microsoft.com/en-us/cpp/build/reference/integritycheck-require-signature-check?view=msvc-170 Signed-off-by: Owen Smith --- diff --git a/vs2019/xennet/xennet.vcxproj b/vs2019/xennet/xennet.vcxproj index 5549d9b..cfc70b0 100644 --- a/vs2019/xennet/xennet.vcxproj +++ b/vs2019/xennet/xennet.vcxproj @@ -34,8 +34,11 @@ $(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;$(DDK_LIB_PATH)/procgrp.lib;%(AdditionalDependencies) + /INTEGRITYCHECK %(AdditionalOptions) UseLinkTimeCodeGeneration true + true + true sha256 @@ -68,6 +71,7 @@ + diff --git a/vs2022/xennet/xennet.vcxproj b/vs2022/xennet/xennet.vcxproj index 159b9a5..c97a158 100644 --- a/vs2022/xennet/xennet.vcxproj +++ b/vs2022/xennet/xennet.vcxproj @@ -34,8 +34,11 @@ $(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;$(DDK_LIB_PATH)/procgrp.lib;%(AdditionalDependencies) + /INTEGRITYCHECK %(AdditionalOptions) UseLinkTimeCodeGeneration true + true + true sha256 @@ -56,9 +59,10 @@ /Qspectre %(AdditionalOptions) - + +