2 SUP="--suppressions=./cryptsetup-valg-supps"
3 CHILD="--trace-children=no --child-silent-after-fork=yes"
4 MALLOC="--malloc-fill=aa"
6 STACK="--max-stackframe=300000"
7 EXTRAS="--read-var-info=yes --show-reachable=yes"
8 LOGFILE="--log-file=./valglog.$(date +%H:%M:%S:%N)_${INFOSTRING}"
9 LEAKCHECK="--leak-check=full --track-origins=yes"
11 exec valgrind $SUP $GETSUP $CHILD $MALLOC $FREE $STACK $EXTRAS $LOGFILE $LEAKCHECK "$@"