You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using --uninitialized-check with code contracts, there's no way to make the contract say it only writes the pointer and does not read it. Minimal example:
[...]
** Results:
set42.c function main
[main.assertion.1] line 11 assertion x == 42: SUCCESS
[main.uninitialized_local.1] line 11 use of uninitialized local variable main::1::x: FAILURE
[...]
** 1 of 12 failed (2 iterations)
VERIFICATION FAILED
If there is a way to do this, then please consider this bug report a missing documentation bug instead.
CBMC version: 6.3.1
The text was updated successfully, but these errors were encountered:
When using
--uninitialized-check
with code contracts, there's no way to make the contract say it only writes the pointer and does not read it. Minimal example:Run like this:
Output:
If there is a way to do this, then please consider this bug report a missing documentation bug instead.
CBMC version: 6.3.1
The text was updated successfully, but these errors were encountered: