diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-09-13 15:52:07 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-09-13 15:52:07 +0000 |
commit | 8159506ae9aa909ae709939af0988b9530b96523 (patch) | |
tree | b7557d9dc81ed264cc81f455ff780e2c4e376a92 /tools | |
parent | 2c20392169c79e6a9424ba461db879e88b5d23b0 (diff) |
Set WIRESHARK_ABORT_ON_DISSECTOR_BUG when running test-fuzzed-cap.sh
to get a stack trace/core dump on dissector bugs.
svn path=/trunk/; revision=38985
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/test-fuzzed-cap.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-fuzzed-cap.sh b/tools/test-fuzzed-cap.sh index 881f3d8300..29de7e81fc 100755 --- a/tools/test-fuzzed-cap.sh +++ b/tools/test-fuzzed-cap.sh @@ -68,5 +68,7 @@ export MallocCheckHeapEach=1000 export MallocCheckHeapAbort=1 # Call abort() if an illegal free() call is made export MallocBadFreeAbort=1 +# Call abort() on dissector bugs to make it easier to get a stack trace +export WIRESHARK_ABORT_ON_DISSECTOR_BUG= $BIN_DIR/tshark -nVxr $1 > /dev/null |