summaryrefslogtreecommitdiff
path: root/fullcheck
blob: 5763278c03d8bf395958d9c79958eb7bb42a79fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

VALGRIND=''
if [ -x /usr/bin/valgrind ]; then
  VALGRIND=valgrind
fi

export MallocGuardEdges=1
export MallocScribble=1
export MallocPreScribble=1
export MallocCheckHeapStart=100
export MallocCheckHeapEach=100
export DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib

exec $VALGRIND $@