Skip to content

Commit

Permalink
malloc MAY fail cbmc/primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Steffinlongo committed Dec 18, 2023
1 parent 13e38f8 commit 429d905
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE smt-backend no-new-smt
smt_missing_range_check.c
--pointer-check -z3
--no-malloc-may-fail --pointer-check -z3
^EXIT=10$
^SIGNAL=0$
^VERIFICATION FAILED$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE no-new-smt
valid_index_range.c
--pointer-check
--no-malloc-may-fail --pointer-check
^EXIT=0$
^SIGNAL=0$
^VERIFICATION SUCCESSFUL$
Expand Down
2 changes: 1 addition & 1 deletion regression/cbmc-primitives/forall_6231_1/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE no-new-smt
test.c
--pointer-check
--no-malloc-may-fail --pointer-check
^EXIT=0$
^SIGNAL=0$
\[main\.assertion\.2\] line \d+ assertion __CPROVER_forall \{ int i ; \(0 <= i && i < 1\) ==> \*\(a\+i\) == \*\(a\+i\) \}: SUCCESS
Expand Down
2 changes: 1 addition & 1 deletion regression/cbmc-primitives/forall_6231_2/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE no-new-smt
test.c
--pointer-check
--no-malloc-may-fail --pointer-check
^EXIT=0$
^SIGNAL=0$
\[main\.assertion\.1\] line \d+ assertion __CPROVER_forall \{ int i ; \(0 <= i && i < 1\) ==> \*\(a\+i\) == \*\(a\+i\) \}: SUCCESS
Expand Down
2 changes: 1 addition & 1 deletion regression/cbmc-primitives/forall_6231_3/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE no-new-smt
test.c
--pointer-check
--no-malloc-may-fail --pointer-check
^EXIT=0$
^SIGNAL=0$
\[main\.assertion\.2\] line \d+ assertion __CPROVER_forall \{ int i ; \(0 <= i && i < 10\) ==> \*\(a\+i\) == \*\(a\+i\) \}: SUCCESS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CORE no-new-smt
test_malloc_less_than_bound.c
--pointer-check
--no-malloc-may-fail --pointer-check
^EXIT=10$
^SIGNAL=0$
\[main\.assertion\.2\] line \d+ assertion __CPROVER_forall \{ int i ; \(0 <= i && i < 10\) ==> \*\(a\+i\) == \*\(a\+i\) \}: SUCCESS
Expand Down

0 comments on commit 429d905

Please sign in to comment.