-
Notifications
You must be signed in to change notification settings - Fork 273
Bugfix/overflow test #771
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/overflow test #771
Conversation
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.
Minor change, please: The second commit message speaks about "assertions", when those should be "assumptions".
19f693a
to
ed365dd
Compare
I have changed the commit message |
@owen-jones-diffblue Would you mind rebasing to get a green light on all tests? |
CBMC can't cope with arrays as parameters to C functions yet. It assumes they are null pointers. I'm not sure why this test was passing, but refactoring it to not use arrays makes it clear it shouldn't be. (Also remove some unneeded whitespace.)
Three assumptions were missing. Now the test works and we can turn it back on.
ed365dd
to
8dcd386
Compare
Done |
Do we know where that test came from? |
git blame points to commit 2e773cf by Michael Tautschnig. Here is the commit message: Author: Michael Tautschnig [email protected]
|
Yes, more precisely this was: https://groups.google.com/d/msg/cprover-support/szOIuSPJ3s8/8BgoaEYbBwAJ |
It may be worth noting that the change is in line with what the comment in the original file said:
|
This fixes a test that isn't really doing anything.