Skip to content

Conversation

@dilijev
Copy link
Contributor

@dilijev dilijev commented Jun 13, 2018

See #5307 for CI update and #5272 by @Penguinwizzard for fixes.

@dilijev
Copy link
Contributor Author

dilijev commented Jun 13, 2018

Replaces #5281

@dilijev
Copy link
Contributor Author

dilijev commented Jun 14, 2018

@dotnet-bot test ci please

@dilijev
Copy link
Contributor Author

dilijev commented Jun 14, 2018

@dotnet-bot test this please

@dilijev
Copy link
Contributor Author

dilijev commented Jun 14, 2018

@dotnet-bot
test dailies
test legacy

@dilijev
Copy link
Contributor Author

dilijev commented Jun 14, 2018

@dotnet-bot
test slow tests
test nojit tests
test legacy tests

We had signed/unsigned mixups between the format string and the args.
Note that this includes functional changes to one implementation,
as it could in some cases only set the getter or setter and leave
the other uninitialized.

There's also a couple other function annotation alignment fixes in
this commit.
Unfortunately there's a good number of holes, which seem to be due
to how the PREfast analysis of the locking works. Someone familiar
with the mechanics may be able to do this with fewer suppressions.
A pre-defined function is added to the chakra etw header that does
not initialize a buffer before passing it around. It looks ok, but
the warning is in a file that we have limited control over. Here I
disabled the warning for the whole included file, which seems like
the closest we can scope it.
Due to template expansion this check can be redundant, so prefast
warns on it.
Due to tightly scoped includes this file wasn't getting the warning
disables that are used in the rest of the code base to handle a few
situations that we accept (e.g. constant boolean logic, likely done
due to flag handling).
PREfast checks for this now and decides that the pointer may be null,
so the additional if statement protects against that.
PREfast complains if you add bools together; inserting the ternary
expressions around them resolves this.
Unfortunately, this needs the suppression despire the assert. Here
we copy things into a buffer, and PREfast thinks that we may write
beyond the buffer bounds, despite the analysis asserts.
@dilijev dilijev force-pushed the ci-updated-legacy-110_test branch from f474361 to da901d2 Compare June 27, 2018 02:23
@dilijev
Copy link
Contributor Author

dilijev commented Jun 27, 2018

@dotnet-bot
test slow tests
test nojit tests
test legacy tests

@dilijev
Copy link
Contributor Author

dilijev commented Jun 27, 2018

@Penguinwizzard it looks like there still some issues with prefast, as well as Win7/Dev14 and Win10/Dev15 build failures.

@dilijev
Copy link
Contributor Author

dilijev commented Jun 28, 2018

@dotnet-bot test ci please

@dilijev
Copy link
Contributor Author

dilijev commented Jun 28, 2018

@dotnet-bot
test slow tests
test nojit tests
test legacy tests

@dilijev dilijev closed this Jun 29, 2018
@dilijev dilijev deleted the ci-updated-legacy-110_test branch June 29, 2018 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants