lib/fuzzing: Support an oss-fuzz build with either address or undefined behaviour...
authorAndrew Bartlett <abartlet@samba.org>
Sat, 7 Dec 2019 00:01:58 +0000 (13:01 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Dec 2019 07:50:29 +0000 (07:50 +0000)
commit5bb9ecdf15febb492bf9b65f5811ca0b59fefec8
treefff908f260b1c98c9e2dca346ed9f2f02cdd89da
parentf79caf3b6bf4b3c4942874af70cfa8c912959faa
lib/fuzzing: Support an oss-fuzz build with either address or undefined behaviour sanitizers

Add handler for $SANITIZER in build.sh

This allows a build with the undefined behaviour sanitizer.

Otherwise we fail the oss-fuzz CI because the UBSan build links with ASan.

Once this in in then https://github.com/google/oss-fuzz/pull/3094
can be merged to oss-fuzz.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/fuzzing/oss-fuzz/build_samba.sh