Wireshark-commits: [Wireshark-commits] master-2.0 3aae311: Check for ASAN when fuzzing.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3aae3114457c2377e1bcd284d568422fc29ce1a3
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
3aae311 by Gerald Combs (gerald@xxxxxxxxxxxxx):
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@xxxxxxxxx>
(cherry picked from commit 17546ad88378fbeaad25e571e0fa35e7a5bfa622)
Reviewed-on: https://code.wireshark.org/review/17935
Actions performed:
from 278e1b4 Add a -a flag to use if TShark was built with ASan.
adds 3aae311 Check for ASAN when fuzzing.
Summary of changes:
tools/fuzz-test.sh | 2 +-
tools/randpkt-test.sh | 2 +-
tools/test-captures.sh | 4 ++--
tools/test-common.sh | 9 +++++++++
4 files changed, 13 insertions(+), 4 deletions(-)