From 7e74405b2d6d0b957b4c96ae9f6a1ba5d92de508 Mon Sep 17 00:00:00 2001 From: Muhammad Haseeb Ahmad Date: Fri, 25 Mar 2022 22:50:53 +0000 Subject: Add jni support to java_fuzz_host Bug: 219782880 Test: m example_java_fuzzer_with_native_lib, go test -run TestJavaFuzz Change-Id: I1d05fb449e5378a27a0096869d9c12ca0a1245c6 --- fuzz/fuzz_common.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fuzz/fuzz_common.go') 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 { -- cgit v1.2.3-59-g8ed1b