Draft
Conversation
7c56ed4 to
a8069ba
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8545 +/- ##
===========================================
- Coverage 78.38% 78.27% -0.12%
===========================================
Files 1729 1729
Lines 200151 200453 +302
Branches 18244 18316 +72
===========================================
+ Hits 156883 156895 +12
- Misses 43268 43558 +290 ☔ View full report in Codecov by Sentry. |
Collaborator
|
Good to see this PR coming. What is your soundness argument? Does this check always detect all cases of uninitialized variables? Are there cases where it is known to miss? What are they? |
Uninitialized local or dynamically allocated variables have an indeterminate initial value. Reading an indeterminate value _may_ be undefined behavior, or may yield an unspecific value. This adds a check for uninitialized local variables. The check is not added as a standard check.
a8069ba to
1059ee7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uninitialized local or dynamically allocated variables have an indeterminate initial value.
Reading an indeterminate value may be undefined behavior, or may yield an unspecific value.
This adds a check for uninitialized local variables. The check is not added as a standard check.