-
Notifications
You must be signed in to change notification settings - Fork 274
Fix pointer havocing within loop invariant contracts #5961
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
Conversation
6d2d6e7
to
e303519
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The `__CPROVER_loop_invariant` contract used to incorrectly havoc the underlying pointer location instead of just havocing the value at the memory location. This commit fixes this.
e303519
to
867168c
Compare
Codecov Report
@@ Coverage Diff @@
## develop #5961 +/- ##
========================================
Coverage 74.23% 74.24%
========================================
Files 1431 1431
Lines 155291 155290 -1
========================================
+ Hits 115287 115290 +3
+ Misses 40004 40000 -4
Continue to review full report at Codecov.
|
Fixes #5960.
Please see the linked bug report for more information.
Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/My commit message includes data points confirming performance improvements (if claimed).White-space or formatting changes outside the feature-related changed lines are in commits of their own.