Skip to content

Commit b109282

Browse files
author
Enrico Steffinlongo
committed
malloc MAY fail cbmc/primitives
1 parent 2cb523f commit b109282

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

regression/cbmc-primitives/alternating_quantifiers_6231/exists_in_forall.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE no-new-smt
22
exists_in_forall.c
3-
--no-malloc-fail --pointer-check
3+
--no-malloc-may-fail --pointer-check
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main\.assertion\.1\] line \d* for all z, there exists a y so that y = z \+ 10 and y > 1: SUCCESS

regression/cbmc-primitives/alternating_quantifiers_6231/forall_in_exists.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE no-new-smt
22
forall_in_exists.c
3-
--no-malloc-fail --pointer-check
3+
--no-malloc-may-fail --pointer-check
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main\.assertion\.1\] line \d* there exists a z between 0 and 2 so that for all o between 10 and 20, o > z and z = 1: SUCCESS

regression/cbmc-primitives/exists_assume_6231/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE no-new-smt
22
test.c
3-
--no-malloc-fail --pointer-check
3+
--no-malloc-may-fail --pointer-check
44
^EXIT=0$
55
^SIGNAL=0$
66
\[main\.assertion\.1\] line \d+ this assertion should be satified: SUCCESS

regression/cbmc-primitives/exists_memory_checks/invalid_index_range.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE no-new-smt
22
invalid_index_range.c
3-
--no-malloc-fail --pointer-check
3+
--no-malloc-may-fail --pointer-check
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$

regression/cbmc-primitives/exists_memory_checks/negated_exists.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE no-new-smt
22
negated_exists.c
3-
--no-malloc-fail --pointer-check
3+
--no-malloc-may-fail --pointer-check
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/r_w_ok_valid/test-no-cp.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail --pointer-check --no-simplify --no-propagation
3+
--no-malloc-may-fail --pointer-check --no-simplify --no-propagation
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/r_w_ok_valid/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail --pointer-check
3+
--no-malloc-may-fail --pointer-check
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/same-object-01/test-no-cp.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail --no-simplify --no-propagation
3+
--no-malloc-may-fail --no-simplify --no-propagation
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/same-object-01/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail
3+
--no-malloc-may-fail
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/same-object-02/test-no-cp.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail --no-simplify --no-propagation
3+
--no-malloc-may-fail --no-simplify --no-propagation
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/same-object-02/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail
3+
--no-malloc-may-fail
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/same-object-03/test-no-cp.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail --no-simplify --no-propagation
3+
--no-malloc-may-fail --no-simplify --no-propagation
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc-primitives/same-object-03/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--no-malloc-fail
3+
--no-malloc-may-fail
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

0 commit comments

Comments
 (0)