Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX: Fix incorrect analysis for non-Microsoft compiler on BA2006.BuildWithSecureTools #545

Merged
merged 11 commits into from
Jan 10, 2022

Conversation

shaopeng-gh
Copy link
Collaborator

@shaopeng-gh shaopeng-gh commented Jan 10, 2022

Note:

this is the same issue with #533,
The only difference is after we merged in SDK changes, this is now pointing to SDK main instead of private branch.
And then re-run the baseline. no new files changed.
And changed the history.md file with this new PR number "545"

Description:

reported issue with
error BA2006: '...' was compiled with one or more modules which were not built using minimum required tool versions
this error happens in new version 1.9.0
tested it passes in old version 1.7.2

Fix:

related to changeset #344
location: file BA2006.BuildWithSecureTools.cs line 104

we should add a skip if the compiler is not the ones we currently support those we can check min version.
After we widen the support we should remove this skip.

@@ -2,6 +2,7 @@

## Unreleased

* BUGFIX: Fix Error BA2006: '...' was compiled with one or more modules which were not built using minimum required tool versions [545](https://github.com/microsoft/binskim/pull/545)
Copy link
Contributor

@eddynaka eddynaka Jan 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix Error BA2006: '...' was compiled with one or more modules which were not built using minimum required tool versions

We are fixing the incorrect analysis for compilers that aren't Microsoft.

Maybe something like: "Fix incorrect analysis for non-Microsoft compiler on BA2006.RuleName." #Resolved

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, this is both short and clear.

@shaopeng-gh shaopeng-gh changed the title Fix: Error BA2006: '...' was compiled with one or more modules which were not built using minimum required tool versions BUGFIX: Fix incorrect analysis for non-Microsoft compiler on BA2006.BuildWithSecureTools Jan 10, 2022
Copy link
Member

@michaelcfanning michaelcfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@michaelcfanning michaelcfanning merged commit 523cd9f into main Jan 10, 2022
@michaelcfanning michaelcfanning deleted the users/shaopeng-gh/skipunknown_cleanwithsdkmain branch January 10, 2022 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants