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 version: 5.95.1 Operating system: Both Ubuntu 22.04.4 and Windows 11 22H2 Exact command line resulting in the issue:
I have the following C program in a file named bug1.c:
What behaviour did you expect:
All four verification cases pass.
What happened instead:
Verification of test2 and test4 fails, with the following unmet assertion:
** Results:
<builtin-library-strcmp> function strcmp
[strcmp.precondition.1] line 14 strcmp zero-termination of 1st argument: SUCCESS
[strcmp.precondition.2] line 16 strcmp zero-termination of 2nd argument: FAILURE
Indeed, memory-safe strcmp requires both its arguments to be null-terminated. However, all my test harnesses meet this assumption already.
The text was updated successfully, but these errors were encountered:
Possibly related to #8310.
CBMC version: 5.95.1
Operating system: Both Ubuntu 22.04.4 and Windows 11 22H2
Exact command line resulting in the issue:
I have the following C program in a file named
bug1.c
:I run the following commands:
What behaviour did you expect:
All four verification cases pass.
What happened instead:
Verification of
test2
andtest4
fails, with the following unmet assertion:Indeed, memory-safe
strcmp
requires both its arguments to be null-terminated. However, all my test harnesses meet this assumption already.The text was updated successfully, but these errors were encountered: