From: Simon Ruderich Date: Fri, 3 Dec 2010 11:39:16 +0000 (+0100) Subject: bin/valgrind{,-ptr}.sh: Add. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=f0603be5c23e9cb2f1e32b0fdcac15848943ff93;p=config%2Fdotfiles.git bin/valgrind{,-ptr}.sh: Add. Useful options for valgrind. --- diff --git a/bin/valgrind-ptr.sh b/bin/valgrind-ptr.sh new file mode 100755 index 0000000..965a587 --- /dev/null +++ b/bin/valgrind-ptr.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +valgrind --tool=exp-ptrcheck --error-exitcode=1 "$@" diff --git a/bin/valgrind.sh b/bin/valgrind.sh new file mode 100755 index 0000000..dd8038a --- /dev/null +++ b/bin/valgrind.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +valgrind --leak-check=full --show-reachable=yes --error-exitcode=1 "$@"