-
Notifications
You must be signed in to change notification settings - Fork 273
__CPROVER_assume doesn't work as expected with large constant #6890
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
However, if I change the constant from |
The function |
I see. I think the documentation is a little bit confusing. It should probably not use the type in the function name in the example and emphasize that this function needs to be declared. |
@xx24678 Would you mind providing a pointer to the documentation that you would like to see us improve? Also, CBMC does say |
Here is the instructions from current user manual:
Maybe we should say something like "declaring a function without implementation" ? |
CBMC version:
CBMC version 5.56.0 (cbmc-5.56.0) 64-bit x86_64 linux
Operating system:
Linux
Exact command line resulting in the issue:
cbmc test.c --function cbmc_entry
What behaviour did you expect:
with the following test code, I'm expecting the first assertion succeeds and the second one fails
What happened instead:
both assertions are tested success
The text was updated successfully, but these errors were encountered: