Skip to content

Commit 0505c24

Browse files
committed
Report invalid memory accesses in mem{cpy,set,move} as FALSE(valid-deref)
1 parent 20d0bed commit 0505c24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tool-wrapper.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ parse_result()
5151
elif tail -n 50 $LOG.ok | \
5252
grep -Eq "^(\[.*\] |[[:space:]]*)array.* upper bound in " ; then
5353
echo 'FALSE(valid-deref)'
54+
elif tail -n 50 $LOG.ok | \
55+
grep -Eq "^[[:space:]]+mem(cpy|set|move) (source region readable|destination region writeable)" ; then
56+
echo 'FALSE(valid-deref)'
5457
elif tail -n 50 $LOG.ok | \
5558
grep -Eq "^(\[.*\] double free|[[:space:]]*double free$)" ; then
5659
echo 'FALSE(valid-free)'

0 commit comments

Comments
 (0)