Lines Matching +full:build +full:- +full:clang
1 #!/bin/bash -e
3 # Compile and check with oss-fuzz.
10 # SPDX-License-Identifier: GPL-2.0-or-later
14 requires_binary clang
16 # the build script runs out of $src so we need to copy across
18 cp -a $QEMU_SRC .
20 mkdir build-oss-fuzz
21 export LSAN_OPTIONS=suppressions=scripts/oss-fuzz/lsan_suppressions.txt
22 env CC="clang" CXX="clang++" CFLAGS="-fsanitize=address" ./scripts/oss-fuzz/build.sh
24 for fuzzer in $(find ./build-oss-fuzz/DEST_DIR/ -executable -type f | grep -v slirp); do
27 "${fuzzer}" -runs=1 -seed=1 || exit 1 ;