Add jni support to java_fuzz_host

Bug: 219782880
Test: m example_java_fuzzer_with_native_lib, go test -run TestJavaFuzz
Change-Id: I1d05fb449e5378a27a0096869d9c12ca0a1245c6
This commit is contained in:
Muhammad Haseeb Ahmad
2022-03-25 22:50:53 +00:00
parent 7cd255fa8d
commit 7e74405b2d
6 changed files with 173 additions and 20 deletions

View File

@@ -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 {