summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hamzeh Zawawy <hamzeh@google.com> 2022-08-03 00:09:04 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2022-08-03 00:09:04 +0000
commitf79bfe8b0366eb2b722f99abcadd070d1578d627 (patch)
treeae84654c5d635898c4f123c3d7a876b9eac34e45
parent801b058fe35eccc35ae4998faafd2428e51e863c (diff)
parent3c983d2ba6473d2920ea459207998bcc787e5944 (diff)
Merge "Fixing issue with boolean params in cc_fuzz"
-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.