Skip to content

Commit

Permalink
Handle new support for alloca+free errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Nov 26, 2018
1 parent 5fbcded commit fb00248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tool-wrapper.inc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ parse_result()
elif tail -n 50 $LOG.ok | \
grep -Eq "^(\[.*\] double free|[[:space:]]*double free$)" ; then
echo 'FALSE(valid-free)'
elif tail -n 50 $LOG.ok | \
grep -Eq "^(\[.*\] free called for stack-allocated object|[[:space:]]*called for stack-allocated object$)" ; then
echo 'FALSE(valid-free)'
elif tail -n 50 $LOG.ok | \
grep -Eq "^(\[.*\] free argument has offset zero|[[:space:]]* free argument has offset zero$)" ; then
if tail -n 50 $LOG.ok | grep -Eq "^[[:space:]]+[a-zA-Z0-9_]+=INVALID-" ; then
Expand Down

0 comments on commit fb00248

Please sign in to comment.