"Fossies" - the Fresh Open Source Software Archive

Member "cryptsetup-2.4.3/tests/valg-api.sh" (13 Jan 2022, 453 Bytes) of package /linux/misc/cryptsetup-2.4.3.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "valg-api.sh": 2.3.6_vs_2.4.0.

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