summaryrefslogtreecommitdiff
path: root/tools/test-common.sh
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-12-28 17:09:07 +0000
committerEvan Huus <eapache@gmail.com>2012-12-28 17:09:07 +0000
commit5eacf33f1f579cd3a333b36cf0e411a3ddaf6ddb (patch)
tree3c16701ea7b315119b964978310c7b39783b54ff /tools/test-common.sh
parent0c66691b92668caaf51aac05a8c30f85867571db (diff)
downloadwireshark-5eacf33f1f579cd3a333b36cf0e411a3ddaf6ddb.tar.gz
Update wmem documentation for the new allocator.
Use the strict allocator when fuzzing (at least until the fuzz-bot starts running everything under valgrind). svn path=/trunk/; revision=46829
Diffstat (limited to 'tools/test-common.sh')
-rwxr-xr-xtools/test-common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh
index da3ccf3896..0484c866cc 100755
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -71,6 +71,8 @@ export WIRESHARK_DEBUG_SE_USE_CANARY=
# which need the memory to be persistent.
export WIRESHARK_EP_VERIFY_POINTERS=
export WIRESHARK_SE_VERIFY_POINTERS=
+# Use the Wmem strict allocator which does canaries and scrubbing etc.
+export WIRESHARK_DEBUG_WMEM_OVERRIDE=strict
# Turn on GLib memory debugging (since 2.13)
export G_SLICE=debug-blocks