mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
12 lines
453 B
Bash
Executable File
12 lines
453 B
Bash
Executable File
#!/bin/sh
|
|
SUP="--suppressions=./cryptsetup-valg-supps"
|
|
CHILD="--trace-children=no --child-silent-after-fork=yes"
|
|
MALLOC="--malloc-fill=aa"
|
|
FREE="--free-fill=21"
|
|
STACK="--max-stackframe=300000"
|
|
EXTRAS="--read-var-info=yes --show-reachable=yes"
|
|
LOGFILE="--log-file=./valglog.$(date +%j:%H:%M:%S:%N)_${INFOSTRING}"
|
|
LEAKCHECK="--leak-check=full --track-origins=yes"
|
|
|
|
exec valgrind $SUP $GETSUP $CHILD $MALLOC $FREE $STACK $EXTRAS $LOGFILE $LEAKCHECK "$@"
|