summaryrefslogtreecommitdiff
path: root/fuzz/fuzz_common.go
diff options
context:
space:
mode:
author hamzeh <hamzeh@google.com> 2022-07-26 14:19:22 -0700
committer hamzeh <hamzeh@google.com> 2022-07-26 14:19:22 -0700
commit3c983d2ba6473d2920ea459207998bcc787e5944 (patch)
tree8566e8c9f91733cd9a215c6b37daf9f7db3f63f2 /fuzz/fuzz_common.go
parentb1c8940be1fa7628d161769f95ad1cfd298727ff (diff)
Fixing issue with boolean params in cc_fuzz
Test: m example_fuzzer Change-Id: I2661d9915949d4150876db6527b865e63d356e5e
Diffstat (limited to 'fuzz/fuzz_common.go')
-rw-r--r--fuzz/fuzz_common.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/fuzz/fuzz_common.go b/fuzz/fuzz_common.go
index 1a87b30d4..2474cbc9e 100644
--- a/fuzz/fuzz_common.go
+++ b/fuzz/fuzz_common.go
@@ -106,21 +106,21 @@ type FuzzConfig struct {
// A brief description of what the fuzzed code does.
Description string `json:"description,omitempty"`
// Can this code be triggered remotely or only locally.
- Remotely_accessible bool `json:"remotely_accessible,omitempty"`
+ Remotely_accessible *bool `json:"remotely_accessible,omitempty"`
// Is the fuzzed code host only, i.e. test frameworks or support utilities.
- Host_only bool `json:"host_only,omitempty"`
+ Host_only *bool `json:"host_only,omitempty"`
// Can third party/untrusted apps supply data to fuzzed code.
- Untrusted_data bool `json:"untrusted_data,omitempty"`
+ Untrusted_data *bool `json:"untrusted_data,omitempty"`
// Is the code being fuzzed in a privileged, constrained or any other
// context from:
// https://source.android.com/security/overview/updates-resources#context_types.
Privilege_level PrivilegedLevel `json:"privilege_level,omitempty"`
// Can the fuzzed code isolated or can be called by multiple users/processes.
- Isolated bool `json:"users_isolation,omitempty"`
+ Isolated *bool `json:"users_isolation,omitempty"`
// When code was relaeased or will be released.
Production_date string `json:"production_date,omitempty"`
// Prevents critical service functionality like phone calls, bluetooth, etc.
- Critical bool `json:"critical,omitempty"`
+ Critical *bool `json:"critical,omitempty"`
// Specify whether to enable continuous fuzzing on devices. Defaults to true.
Fuzz_on_haiku_device *bool `json:"fuzz_on_haiku_device,omitempty"`
// Specify whether to enable continuous fuzzing on host. Defaults to true.