-
Notifications
You must be signed in to change notification settings - Fork 97
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
Spurious failure on leading_zeros #886
Labels
[C] Bug
This is a bug. Something isn't working.
Comments
I'm afraid that I broke this in diffblue/cbmc@4d4f9e7d182643f8. Fixing PR forthcoming. |
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 4, 2022
The cleanup of 4d4f9e7 (PR diffblue#6684) made bounds checking of these bit count expressions unconditional. This did not affect any input coming from the C front-end, but became apparent with the Rust front-end as documented in model-checking/kani#886. This commit restores conditional bounds checking, but now actually uses the proper expression API rather than the low-level hack.
3 tasks
diffblue/cbmc#6708 addresses this problem. |
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Mar 8, 2022
The cleanup of 4d4f9e7 (PR diffblue#6684) made bounds checking of these bit count expressions unconditional. This did not affect any input coming from the C front-end, but became apparent with the Rust front-end as documented in model-checking/kani#886. This commit restores conditional bounds checking, but now actually uses the proper expression API rather than the low-level hack.
This is now merged in CBMC and will be part of the 5.53.0 release (due to be published 2022-03-17). |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This failure only occurs with the next, not-yet-integrated version of CBMC (5.52.0). This may be related to diffblue/cbmc#6703.
I tried this code:
using the following command line invocation:
with Kani version:
53f15955016
but with CBMC 5.52.0I expected to see this happen: Verification successful
Instead, this happened: Verification failed:
Running it with
rustc
produces no failures.The text was updated successfully, but these errors were encountered: