aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2021-08-11 14:01:16 +0200
committerSimon Rozman <simon@rozman.si>2021-08-13 09:49:28 +0200
commit668d6fe7d84c70ab505a41077fa115564cdb52d8 (patch)
tree79d8f84a4fd3943339219ef7a49f6904d1a6ab93
parentdriver: socket: allocate IRPs on stack (diff)
downloadwireguard-nt-668d6fe7d84c70ab505a41077fa115564cdb52d8.tar.xz
wireguard-nt-668d6fe7d84c70ab505a41077fa115564cdb52d8.zip
props: inverse SDVHacks logic
SDV is allergic to code analysis. So, when we're doing SDV (SDVHacks is "true"), we need to turn the code analysis off. Signed-off-by: Simon Rozman <simon@rozman.si>
-rw-r--r--wireguard-nt.props4
1 files changed, 2 insertions, 2 deletions
diff --git a/wireguard-nt.props b/wireguard-nt.props
index a891dcb..db0a113 100644
--- a/wireguard-nt.props
+++ b/wireguard-nt.props
@@ -96,8 +96,8 @@
<OutDir Condition="'$(ConfigurationType)'=='Driver'">$(IntDir)</OutDir>
<PackageDir>..\$(Configuration)\$(WireGuardPlatform)\$(ProjectName)\</PackageDir>
</PropertyGroup>
- <PropertyGroup Condition="'$(SDVHacks)'!='true'">
- <RunCodeAnalysis>true</RunCodeAnalysis>
+ <PropertyGroup Condition="'$(SDVHacks)'=='true'">
+ <RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup>
<PropertyGroup Condition="'$(RunCodeAnalysis)'=='true'">
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>