Wireshark-commits: [Wireshark-commits] master-2.2 8d95155: Check for ASAN when fuzzing.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 25 Sep 2016 18:41:14 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8d95155048fdff8894a8ae6ff5f0edd81c8bbd4d
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

8d95155 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/17934
    

Actions performed:

    from  16781e7   Add a -a flag to use if TShark was built with ASan.
    adds  8d95155   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(-)