diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-09-21 15:38:16 -0700 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2016-09-24 21:04:31 +0000 |
commit | 17546ad88378fbeaad25e571e0fa35e7a5bfa622 (patch) | |
tree | 8ec6e26fd8d5a5002513fe2e27428911139d1810 /tools/fuzz-test.sh | |
parent | 8b047554ee93fbbf7731da371df0779acc9fc87a (diff) |
Check for ASAN when fuzzing.
Try to determine if we passed -fsanitize=address to gcc or clang and
adjust the ASAN variable fuzz-test.sh, randpkt-test.sh and
test-captures.sh accordingly.
Change-Id: I88a34828fb5875e1a74a3b180ffb3da37daac0bd
Reviewed-on: https://code.wireshark.org/review/17848
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-x | tools/fuzz-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh index d1ca629dd6..7c6c7b7d02 100755 --- a/tools/fuzz-test.sh +++ b/tools/fuzz-test.sh @@ -46,7 +46,7 @@ CONFIG_PROFILE= VALGRIND=0 # Run under AddressSanitizer ? -ASAN=0 +ASAN=$CONFIGURED_WITH_ASAN # Don't skip any byte from being changed CHANGE_OFFSET=0 |