util: Add valgrind suppressions and a helper script

pull/55/head
Andri Yngvason 2020-07-06 17:37:45 +00:00
parent cd7594320b
commit 3be37d24bd
2 changed files with 13 additions and 0 deletions

6
util/valgrind.sh 100755
View File

@ -0,0 +1,6 @@
#!/bin/sh
valgrind --leak-check=full \
--show-leak-kinds=all \
--suppressions=util/valgrind.supp \
$@

View File

@ -0,0 +1,7 @@
{
Ignore dlopen bug.
Memcheck:Leak
...
fun:_dl_*
...
}