-
Notifications
You must be signed in to change notification settings - Fork 273
Commit cd1ec89b
breaks proofs
#6230
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
Comments
My apologies; I approved #6194 . This looks like a crash caused by a knock-on effect of one of these changes rather than directly in the code. If I had to speculate I might guess the change from It feels like it should be safe to revert this and attempt the PR again with more testing. |
Thanks @martin-cs! Yes, reverting to |
This was introduced in diffblue#6194 but reported as breaking in diffblue#6230.
On my simpler example and the s2n harness, the fix works as expected. Thanks! @jimgrundy could you please retry the s2n harness that had contracts (since I don't have it). Should we keep this issue open until we figure out why |
@SaswatPadhi I would rather further investigations and changes to the array handling were on a separate issue because I think there is a non-trivial amount of work to do there. If the break is resolved then I would suggest closing this issue (but, by all means, open another one on the topic). |
Thanks, makes sense. I would check with Jim and we can close this issue by EoD tomorrow if this is fully resolved (most likely it is). |
@SaswatPadhi Ping? |
Sorry about the late response. We had discussed this issue briefly during our weekly meeting with Diffblue. @jimgrundy and @feliperodri have been working on function contracts and haven't encountered this issue any more, so we believe it's fixed now. Thanks again for the fix! |
CBMC version:
develop
(currently 06c563a)Operating system: Mac OS / Linux
Exact command line resulting in the issue:
We don't have a "small" example yet, but here is a broken proof harness from s2n:
What behaviour did you expect:
This harnesses can still be verified after updating CBMC.
What happened instead:
CBMC crashes with an invariant violation:
Additional context:
I have verified that cd1ec89 is indeed the buggy commit. I tried:
And the generated binaries no longer crash on the harness.
The text was updated successfully, but these errors were encountered: