aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2022-10-07 20:39:14 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2022-10-17 11:22:20 +0200
commit2a376f2eef74cd16702da66b01b19555679b280e (patch)
tree15a27171fcc12d45ef5a2886fb5230f1a3ad686f /tests
parent53eacc7f554a60d2dfe651cf4f838fe1f42966d0 (diff)
downloadjazzer-api-2a376f2eef74cd16702da66b01b19555679b280e.tar.gz
bazel: Support real fuzz targets using the Java launcher
Diffstat (limited to 'tests')
-rw-r--r--tests/BUILD.bazel3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/BUILD.bazel b/tests/BUILD.bazel
index 338074ee..e89afad8 100644
--- a/tests/BUILD.bazel
+++ b/tests/BUILD.bazel
@@ -9,10 +9,11 @@ java_fuzz_target_test(
],
allowed_findings = ["com.code_intelligence.jazzer.api.FuzzerSecurityIssueLow"],
data = ["src/test/java/com/example/LongStringFuzzerInput"],
+ # Additionally verify that Jazzer-Fuzz-Target-Class is picked up if --target_class isn't set.
+ deploy_manifest_lines = ["Jazzer-Fuzz-Target-Class: com.example.LongStringFuzzer"],
fuzzer_args = [
"$(rootpath src/test/java/com/example/LongStringFuzzerInput)",
],
- target_class = "com.example.LongStringFuzzer",
verify_crash_input = False,
)