add options for LibFuzzer, HWASan, and ASan to fuzz_config

Bug: 176998722
Test: built fuzz target with these options specified, checked resulting
config.json

Change-Id: Id38668dd11e76eead4ec87bd225ba67e3b30b80d
This commit is contained in:
Kris Alder
2021-01-07 20:57:23 +00:00
parent ddac9bf3f2
commit c81f59f03e

View File

@@ -41,6 +41,12 @@ type FuzzConfig struct {
// Specify who should be acknowledged for CVEs in the Android Security
// Bulletin.
Acknowledgement []string `json:"acknowledgement,omitempty"`
// Additional options to be passed to libfuzzer when run in Haiku.
Libfuzzer_options []string `json:"libfuzzer_options,omitempty"`
// Additional options to be passed to HWASAN when running on-device in Haiku.
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"`
}
func (f *FuzzConfig) String() string {