From: Colin Patrick McCabe Date: Tue, 9 Nov 2010 22:04:07 +0000 (-0800) Subject: Perturb malloc so that we spot bugs quicker X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8407c0eb7c3e30a5e1b1ddbfaccce76413469f3b;p=cmccabe-etc Perturb malloc so that we spot bugs quicker --- diff --git a/.bashrc b/.bashrc index b0df65b..5e07d40 100644 --- a/.bashrc +++ b/.bashrc @@ -47,3 +47,6 @@ case $- in # non-interactive shell ;; esac + +# Perturb malloc so that we spot bugs quicker! +export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))