Skip to content

Commit

Permalink
Beta 3 (#234)
Browse files Browse the repository at this point in the history
* Drop spectre failure level to warning.

* Update test

* Update tests.
  • Loading branch information
michaelcfanning committed Mar 21, 2019
1 parent 6fa4680 commit f9bad0c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SetCurrentVersion.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set MAJOR_PREVIOUS=1
set MINOR_PREVIOUS=6
set PATCH_PREVIOUS=0
set PRERELEASE_PREVIOUS=-beta.2
set PRERELEASE_PREVIOUS=-beta.3

set MAJOR=1
set MINOR=6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public override void AnalyzePortableExecutableAndPdb(BinaryAnalyzerContext conte
// switch and it is not possible to update to a toolset that supports /Qspectre).
// The following modules are out of policy: {1}
context.Logger.Log(this,
RuleUtilities.BuildResult(FailureLevel.Error, context, null,
RuleUtilities.BuildResult(FailureLevel.Warning, context, null,
nameof(RuleResources.BA2024_Warning),
context.TargetUri.GetFileName(),
sb.ToString()));
Expand Down
3 changes: 3 additions & 0 deletions src/ReleaseHistory.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@
* Fix Linux NuGet packaging to include BinSkim executable missing in 1.6.0-beta.1
* Update to pre-release SARIF v2 output format (sarif-2.0.0-csd.2.beta.2019-01-24)
* Provide for SARIF v1 or v2 file format export. Default is v1 until SARIF v2 is final.

## **v1.6.0-beta.3** [NuGet Package](https://www.nuget.org/packages/Microsoft.CodeAnalysis.BinSkim/1.6.0-beta.3)
* Drop Spectre analysis to warning
6 changes: 6 additions & 0 deletions src/Test.FunctionalTests.BinSkim.Rules/TestMessageLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ public void NoteTestResult(FailureLevel messageKind, string targetPath)
break;
}

case FailureLevel.Warning:
{
FailTargets.Add(targetPath);
break;
}

case FailureLevel.Note:
{
throw new NotImplementedException();
Expand Down

0 comments on commit f9bad0c

Please sign in to comment.