Skip to content

Commit e9545d5

Browse files
authored
Merge pull request #27 from tautschnig/fix-memtrack
Parse new memory leak output
2 parents def3ba5 + 0873749 commit e9545d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tool-wrapper.inc

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ parse_result()
3232
if tail -n 50 $LOG.ok | \
3333
grep -Eq "^(\[.*\] .*__CPROVER_memory_leak == NULL|[[:space:]]*__CPROVER_memory_leak == NULL$)" ; then
3434
echo 'FALSE(valid-memtrack)'
35+
elif tail -n 50 $LOG.ok | \
36+
grep -Eq "^(\[.*\] |[[:space:]]*)dynamically allocated memory never freed in " ; then
37+
echo 'FALSE(valid-memtrack)'
3538
elif tail -n 50 $LOG.ok | \
3639
grep -Eq "^(\[.*\] |[[:space:]]*)dereference failure:" ; then
3740
echo 'FALSE(valid-deref)'

0 commit comments

Comments
 (0)