diff --git a/src/BinSkim.Rules/PERules/BA2004.EnableSecureSourceCodeHashing.cs b/src/BinSkim.Rules/PERules/BA2004.EnableSecureSourceCodeHashing.cs index 3f2a57d0..e9cfaf5a 100644 --- a/src/BinSkim.Rules/PERules/BA2004.EnableSecureSourceCodeHashing.cs +++ b/src/BinSkim.Rules/PERules/BA2004.EnableSecureSourceCodeHashing.cs @@ -154,7 +154,7 @@ public void AnalyzeNativeBinaryAndPdb(BinaryAnalyzerContext context) if (omDetails.GetOptionValue(pchOptionSwitches, OrderOfPrecedence.FirstWins, ref pchHeaderFile) == true) { // Now check to see if a pch file name was specified using /Fp: - string[] pchFileNameOptions = { "/Fp:" }; + string[] pchFileNameOptions = { "/Fp" }; if (omDetails.GetOptionValue(pchFileNameOptions, OrderOfPrecedence.FirstWins, ref pchFileName) != true) { // no pch filename specified, so the filename defaults to the pchHeaderFile with the extension swapped to ".pch"