From 825bbd8e1b6fe2b042040a56d4c8ffe93e4ddf77 Mon Sep 17 00:00:00 2001 From: Amit Patankar Date: Tue, 15 Dec 2020 15:23:07 -0800 Subject: [PATCH] Ignore the AttrValues fuzzer for tensorflow (#4852) Fix the build breakage caused by the AttrValues fuzzer in OSS. The target requires large artifacts to link against which are not optimal for OSS fuzzing. --- projects/tensorflow/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh index 0412009e3..a7f196f95 100755 --- a/projects/tensorflow/build.sh +++ b/projects/tensorflow/build.sh @@ -47,7 +47,8 @@ fi # Determine all fuzz targets. To control what gets fuzzed with OSSFuzz, all # supported fuzzers are in `//tensorflow/security/fuzzing`. -declare -r FUZZERS=$(bazel query 'tests(//tensorflow/security/fuzzing/...)' | grep -v identity) +# Ignore the identity and AttrValues fuzzer in opensource. +declare -r FUZZERS=$(bazel query 'tests(//tensorflow/security/fuzzing/...)' | grep -v identity | grep -v AttrValues) # Build the fuzzer targets. # Pass in `--config=libc++` to link against libc++.