mirror of https://github.com/google/oss-fuzz.git
Select only C++ fuzzers (#5021)
Specify only C++ fuzzers using [bazel query filters for C++](https://docs.bazel.build/versions/master/query-how-to.html#Which_of_those_are_C_tests_).
This commit is contained in:
parent
b998058ef3
commit
ca22eb6f12
|
@ -48,7 +48,7 @@ fi
|
|||
# Determine all fuzz targets. To control what gets fuzzed with OSSFuzz, all
|
||||
# supported fuzzers are in `//tensorflow/security/fuzzing`.
|
||||
# Ignore the identity and AttrValues fuzzer in opensource.
|
||||
declare -r FUZZERS=$(bazel query 'tests(//tensorflow/security/fuzzing/...)' | grep -v identity | grep -v AttrValues | grep -v bfloat16 | grep -v constant)
|
||||
declare -r FUZZERS=$(bazel query 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...))' | grep -v identity | grep -v AttrValues | grep -v bfloat16)
|
||||
|
||||
# Build the fuzzer targets.
|
||||
# Pass in `--config=libc++` to link against libc++.
|
||||
|
|
Loading…
Reference in New Issue