Skip to content

Commit 40dcadc

Browse files
committed
Enable SMT2 tests which pass with the overflow implementation
1 parent 508fece commit 40dcadc

14 files changed

+14
-14
lines changed

regression/cbmc-incr-smt2/bitvector-flag-tests/signed_overflow.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
signed_overflow.c
33
--incremental-smt2-solver 'z3 --smt2 -in' --signed-overflow-check --trace
44
^VERIFICATION FAILED$

regression/cbmc/overflow/leftshift_overflow-c89.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
leftshift_overflow.c
33
--signed-overflow-check --c89
44
^EXIT=10$

regression/cbmc/overflow/leftshift_overflow-c99.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
leftshift_overflow.c
33
--signed-overflow-check --c99
44
^EXIT=10$

regression/cbmc/overflow/mod_overflow.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
mod_overflow.c
33
--signed-overflow-check
44
^EXIT=10$

regression/cbmc/overflow/signed_addition_overflow1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
signed_addition_overflow1.c
33
--signed-overflow-check
44
^EXIT=10$

regression/cbmc/overflow/signed_addition_overflow2.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
signed_addition_overflow2.c
33
--signed-overflow-check
44
^EXIT=10$

regression/cbmc/overflow/signed_addition_overflow3.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
signed_addition_overflow3.c
33
--signed-overflow-check --conversion-check
44
^EXIT=10$

regression/cbmc/overflow/signed_addition_overflow4.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
signed_addition_overflow4.c
33
--signed-overflow-check --conversion-check
44
^EXIT=10$

regression/cbmc/overflow/signed_multiplication1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
signed_multiplication1.c
33
--signed-overflow-check
44
^EXIT=0$

regression/cbmc/overflow/signed_subtraction1.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
signed_subtraction1.c
33
--signed-overflow-check
44
^EXIT=0$

regression/cbmc/overflow/unary_minus_overflow.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
unary_minus_overflow.c
33
--signed-overflow-check --unsigned-overflow-check
44
^EXIT=10$

regression/cbmc/pragma_cprover2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
main.c
33
--signed-overflow-check
44
^\[main.overflow\.1\] line 21 arithmetic overflow on signed \+ in n \+ n: FAILURE$

regression/cbmc/set-property-inline1/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
main.c
33
--property inc.overflow.1 --property inc.overflow.2 --slice-formula --signed-overflow-check --conversion-check
44
^EXIT=10$

regression/contracts/variant_init_inside_loop/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE new-smt-backend
22
main.c
33
--apply-loop-contracts _ --unsigned-overflow-check
44
^\[main\.\d+\] .* Check loop invariant before entry: SUCCESS$

0 commit comments

Comments
 (0)