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: cbmc-5.54.0-13-gf3e4096300
Operating system: Linux x86_64
Exact command line resulting in the issue: cbmc fam.c
What behaviour did you expect: termination with message VERIFICATION SUCCESSFUL and exit status 0
What happened instead: termination with message CONVERSION ERROR and exit status 6
The error occurs in the following scenario:
There is a struct St with a flexible array member
A global variable with type St is both forward declared and initialized
The test case fam.c.txt is attached.
The output is in file cbmc.log.
The problem was introduced by the following commit:
commit b16c7d7
Author: Michael Tautschnig [email protected]
Date: Fri Feb 11 13:17:17 2022 +0000
Reverting commit b16c7d7 on top of commit f3e4096 fixes the error, but I did not check if it causes other problems.
The text was updated successfully, but these errors were encountered:
Type checking must be ready to handle type changes between declaration
and definition, which b16c7d7 introduced. Also, bounds checking must
not use `size_of_expr` with these as 24eba85 rightly introduced a
distinction between "sizeof" and the actual object size as mandated by
the C standard.
Fixes: diffblue#6787
Type checking must be ready to handle type changes between declaration
and definition, which b16c7d7 introduced. Also, bounds checking must
not use `size_of_expr` with these as 24eba85 rightly introduced a
distinction between "sizeof" and the actual object size as mandated by
the C standard.
Fixes: diffblue#6787
Type checking must be ready to handle type changes between declaration
and definition, which b16c7d7 introduced. Also, bounds checking must
not use `size_of_expr` with these as 24eba85 rightly introduced a
distinction between "sizeof" and the actual object size as mandated by
the C standard.
Fixes: diffblue#6787
CBMC version: cbmc-5.54.0-13-gf3e4096300
Operating system: Linux x86_64
Exact command line resulting in the issue: cbmc fam.c
What behaviour did you expect: termination with message VERIFICATION SUCCESSFUL and exit status 0
What happened instead: termination with message CONVERSION ERROR and exit status 6
The error occurs in the following scenario:
The test case fam.c.txt is attached.
The output is in file cbmc.log.
The problem was introduced by the following commit:
commit b16c7d7
Author: Michael Tautschnig [email protected]
Date: Fri Feb 11 13:17:17 2022 +0000
Reverting commit b16c7d7 on top of commit f3e4096 fixes the error, but I did not check if it causes other problems.
The text was updated successfully, but these errors were encountered: