aboutsummaryrefslogtreecommitdiff
path: root/examples/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/BUILD.bazel')
-rw-r--r--examples/BUILD.bazel12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/BUILD.bazel b/examples/BUILD.bazel
index 3e1c1f33..0d5f6bc4 100644
--- a/examples/BUILD.bazel
+++ b/examples/BUILD.bazel
@@ -4,6 +4,18 @@ load("//bazel:compat.bzl", "SKIP_ON_MACOS", "SKIP_ON_WINDOWS")
load("//bazel:fuzz_target.bzl", "java_fuzz_target_test")
java_fuzz_target_test(
+ name = "Autofuzz",
+ fuzzer_args = [
+ "--autofuzz=com.google.json.JsonSanitizer::sanitize",
+ # Exit after the first finding for testing purposes.
+ "--keep_going=1",
+ ],
+ runtime_deps = [
+ "@maven//:com_mikesamuel_json_sanitizer",
+ ],
+)
+
+java_fuzz_target_test(
name = "ExampleFuzzer",
srcs = [
"src/main/java/com/example/ExampleFuzzer.java",