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
CBMC prints the values for __VERIFIER_nondet in both its console logs and GraphML witnesses when an error path is found.
However, sometimes these values do not match.
CBMC prints the values for
__VERIFIER_nondet
in both its console logs and GraphML witnesses when an error path is found.However, sometimes these values do not match.
Here is an example.
./cbmc --graphml-witness witness.graphml --propertyfile unreach-call.prp --64 cambridge.2.prop1-back-serstep.c > exe.log
The input and output files are also available here: example.zip
The values for
input_149 = __VERIFIER_nondet_ushort()
at line 181 of the program inexe.log
andwitness.graphml
mismatch, as shown by$ grep "input_149=" exe.log input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=0 (00000000 00000000) input_149=65535 (11111111 11111111) input_149=65535 (11111111 11111111) input_149=65535 (11111111 11111111)
Both files contain 11 occurrences of
input_149
.However, the values are different in the last 3 loop iterations (65535 vs. 0).
The text was updated successfully, but these errors were encountered: