File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
regression/cbmc-incr-smt2
nondeterministic-int-assert Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ array_write.c
33--trace
44Passing problem to incremental SMT2 solving
55^Trace for main\.assertion\.2
6- example_array\[\d{1,4}ll ?\]=42
6+ example_array\[\d{1,4}l?l ?\]=42
77^EXIT=10$
88^SIGNAL=0$
99--
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ enum_in_array.c
44Passing problem to incremental SMT2 solving
55line 18 Array at index 0 is V0, so this should fail: FAILURE
66i=0u \(00000000 00000000 00000000 00000000\)
7- e\[0l+ \]=/\*enum\*/V0 \(00000000 00000000 00000000 00000000\)
8- e\[1l+ \]=/\*enum\*/V1 \(00000000 00000000 00000000 00000001\)
9- e\[2l+ \]=/\*enum\*/V2 \(00000000 00000000 00000000 00000010\)
7+ e\[0l* \]=/\*enum\*/V0 \(00000000 00000000 00000000 00000000\)
8+ e\[1l* \]=/\*enum\*/V1 \(00000000 00000000 00000000 00000001\)
9+ e\[2l* \]=/\*enum\*/V2 \(00000000 00000000 00000000 00000010\)
1010^EXIT=10$
1111^SIGNAL=0$
1212--
Original file line number Diff line number Diff line change 44Starting Bounded Model Checking
55^\(set-option :produce-models true\)$
66^\(set-logic ALL\)$
7- ^\(declare-fun size_of_object \(\(_ BitVec 8\)\) \(_ BitVec 64 \)\)$
7+ ^\(declare-fun size_of_object \(\(_ BitVec 8\)\) \(_ BitVec \d+ \)\)$
88^Passing problem to incremental SMT2 solving via SMT2 incremental dry-run$
99^\(define-fun B0 \(\) Bool true\)$
1010^\(define-fun B2 \(\) Bool \(not false\)\)$
1111^\(assert B2\)$
12- ^\(assert \(= \(size_of_object \(_ bv1 8\)\) \(_ bv0 64 \)\)\)$
13- ^\(assert \(= \(size_of_object \(_ bv0 8\)\) \(_ bv0 64 \)\)\)$
12+ ^\(assert \(= \(size_of_object \(_ bv1 8\)\) \(_ bv0 \d+ \)\)\)$
13+ ^\(assert \(= \(size_of_object \(_ bv0 8\)\) \(_ bv0 \d+ \)\)\)$
1414^\(check-sat\)$
1515^EXIT=0$
1616^SIGNAL=0$
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ line 12 Expected int sizes\.: SUCCESS
55line 13 Size is always 2\. \(Can be disproved\.\): FAILURE
66line 14 Size is always 4\. \(Can be disproved\.\): FAILURE
77line 16 Size of NULL\.: FAILURE
8- size=2ul
9- size=4ul
10- null_size=0ul
8+ size=2ul*
9+ size=4ul*
10+ null_size=0ul*
1111^EXIT=10$
1212^SIGNAL=0$
1313--
You can’t perform that action at this time.
0 commit comments