Skip to content

Commit 890ad96

Browse files
authored
Merge pull request #50 from tautschnig/lower-bound
Also detect violations of lower bounds as invalid dereference
2 parents da29ce6 + e0daa1f commit 890ad96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool-wrapper.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ parse_result()
5252
grep -Eq "^(\[.*\] |[[:space:]]*)dereference failure:" ; then
5353
echo 'FALSE(valid-deref)'
5454
elif tail -n 50 $LOG.ok | \
55-
grep -Eq "^(\[.*\] |[[:space:]]*)array.* upper bound in " ; then
55+
grep -Eq "^(\[.*\] |[[:space:]]*)array.* (lower|upper) bound in " ; then
5656
echo 'FALSE(valid-deref)'
5757
elif tail -n 50 $LOG.ok | \
5858
grep -Eq "^[[:space:]]+mem(cpy|set|move) (source region readable|destination region writeable)" ; then

0 commit comments

Comments
 (0)