Pointer-primitive checks should succeed for valid pointers at object bound#7229
Merged
tautschnig merged 1 commit intodiffblue:developfrom Oct 17, 2022
Merged
Conversation
1095c56 to
8fe7fe0
Compare
854cdf3 to
cf19f00
Compare
Codecov ReportBase: 77.99% // Head: 77.96% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #7229 +/- ##
===========================================
- Coverage 77.99% 77.96% -0.04%
===========================================
Files 1619 1616 -3
Lines 187184 186813 -371
===========================================
- Hits 145999 145644 -355
+ Misses 41185 41169 -16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
jimgrundy
approved these changes
Oct 11, 2022
2b28d8d to
dc2a3e9
Compare
Collaborator
|
Assigning @kroening as the only active owner (other than the author) for the code in question. |
kroening
reviewed
Oct 17, 2022
kroening
reviewed
Oct 17, 2022
kroening
approved these changes
Oct 17, 2022
…bound The C standard designates the pointer with offset object size (pointing to the first byte outside the object) to be valid. In keeping with this, `--pointer-primitive-check` should not designate this as invalid (even when reading non-zero bytes from this object is). Fixes: diffblue#7064
dc2a3e9 to
1c03453
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.
The C standard designates the pointer with offset object size (pointing to the first byte outside the object) to be valid. In keeping with this,
--pointer-primitive-checkshould not designate this as invalid (even when reading non-zero bytes from this object is).Fixes: #7064