aboutsummaryrefslogtreecommitdiff
path: root/projects/tensorflow
diff options
context:
space:
mode:
authorAmit Patankar <amitpatankar@google.com>2021-02-17 18:30:47 -0800
committerGitHub <noreply@github.com>2021-02-17 18:30:47 -0800
commit4f3158373d766710f9ec9fe7e1b1b78d30553c60 (patch)
treebd8078e196eb7642874a7c5138ed97c714153da3 /projects/tensorflow
parent587a0bde3f5da89c460dd47ed8edab8cf8601d3d (diff)
downloadoss-fuzz-4f3158373d766710f9ec9fe7e1b1b78d30553c60.tar.gz
Remove manual denylisting in tensorflow (#5210)
* Remove manual denylisting in tensorflow Remove manual denylisting of fuzzing targets using bazel query via tags. * Add a space in the bazel query. * Update the tag we should denylist. * Update the comment.
Diffstat (limited to 'projects/tensorflow')
-rwxr-xr-xprojects/tensorflow/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/tensorflow/build.sh b/projects/tensorflow/build.sh
index 8f793951d..012642389 100755
--- a/projects/tensorflow/build.sh
+++ b/projects/tensorflow/build.sh
@@ -47,8 +47,8 @@ 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 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...))' | grep -v identity | grep -v AttrValues | grep -v bfloat16)
+# Ignore fuzzers tagged with `no_oss` in opensource.
+declare -r FUZZERS=$(bazel query 'kind(cc_.*, tests(//tensorflow/security/fuzzing/...)) - attr(tags, no_oss, kind(cc_.*, tests(//tensorflow/security/fuzzing/...)))')
# Build the fuzzer targets.
# Pass in `--config=libc++` to link against libc++.