Skip to content

Commit 3f42fcf

Browse files
committed
Fix property parsing for out-of-bounds, disable assertions in overflow/memsafety
1 parent cf9c639 commit 3f42fcf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tool-wrapper.inc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ declare -A OPTIONS
88
OPTIONS["label"]="--error-label"
99
OPTIONS["unreach_call"]=""
1010
OPTIONS["termination"]=""
11-
OPTIONS["overflow"]="--signed-overflow-check"
12-
OPTIONS["memsafety"]="--pointer-check --memory-leak-check --bounds-check"
11+
OPTIONS["overflow"]="--signed-overflow-check --no-assertions"
12+
OPTIONS["memsafety"]="--pointer-check --memory-leak-check --bounds-check --no-assertions"
1313

1414
parse_property_file()
1515
{
@@ -34,6 +34,9 @@ parse_result()
3434
elif tail -n 50 $LOG.ok | \
3535
grep -Eq "^(\[.*\] |[[:space:]]*)dereference failure:" ; then
3636
echo 'FALSE(valid-deref)'
37+
elif tail -n 50 $LOG.ok | \
38+
grep -Eq "^(\[.*\] |[[:space:]]*)array.* upper bound in " ; then
39+
echo 'FALSE(valid-deref)'
3740
elif tail -n 50 $LOG.ok | \
3841
grep -Eq "^(\[.*\] |[[:space:]]*)double free$" ; then
3942
echo 'FALSE(valid-free)'

0 commit comments

Comments
 (0)