-
Notifications
You must be signed in to change notification settings - Fork 273
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
Buggy handling of assignments involving pointer dereference #8610
Comments
This would be solved by #8494: we currently do not update our alias information upon assumptions. |
An uninitialized pointer doesn't become valid by branching on a condition on it. |
Thanks for the prompt reply and information! I will take a look and adjust the encoding if necessary. |
But then |
It is unreasonable to guarantee that the pointer out of If it can be invalid, then the issue is that comparing with |
cbmc <mwe below>
A false alarm is reported for the second assertion, following an assignment that involves a pointer dereference.
The first assignment, which directly copies a struct, verifies correctly.
However, the second assignment—using pointer dereference to copy the struct—results in an assertion failure, even though the copied values are identical.
The text was updated successfully, but these errors were encountered: