summaryrefslogtreecommitdiff
path: root/fuzz/fuzz_common.go
diff options
context:
space:
mode:
author Muhammad Haseeb Ahmad <mhahmad@google.com> 2022-03-25 22:50:53 +0000
committer Muhammad Haseeb Ahmad <mhahmad@google.com> 2022-04-26 18:49:02 +0000
commit7e74405b2d6d0b957b4c96ae9f6a1ba5d92de508 (patch)
tree290ee802ceeee781cf9d8e71d24e30a538d7fb57 /fuzz/fuzz_common.go
parent7cd255fa8d6866454d51d7014451fc7b5c5b321c (diff)
Add jni support to java_fuzz_host
Bug: 219782880 Test: m example_java_fuzzer_with_native_lib, go test -run TestJavaFuzz Change-Id: I1d05fb449e5378a27a0096869d9c12ca0a1245c6
Diffstat (limited to 'fuzz/fuzz_common.go')
-rw-r--r--fuzz/fuzz_common.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/fuzz/fuzz_common.go b/fuzz/fuzz_common.go
index 89f81879f..700cdf0a7 100644
--- a/fuzz/fuzz_common.go
+++ b/fuzz/fuzz_common.go
@@ -82,6 +82,9 @@ type FuzzConfig struct {
Hwasan_options []string `json:"hwasan_options,omitempty"`
// Additional options to be passed to HWASAN when running on host in Haiku.
Asan_options []string `json:"asan_options,omitempty"`
+ // If there's a Java fuzzer with JNI, a different version of Jazzer would
+ // need to be added to the fuzzer package than one without JNI
+ IsJni *bool `json:"is_jni,omitempty"`
}
type FuzzProperties struct {