diff options
| author | juanPabloMiceli <48705702+juanPabloMiceli@users.noreply.github.com> | 2023-01-19 15:59:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 15:59:14 -0500 |
| commit | 551737f1076a910f809cc27ac629c587bc84fc2d (patch) | |
| tree | 7e847ee19f02e49269ac04437a5e62852aa2bf7e /pkg/report | |
| parent | 71197f3ac138d7cb03551b7d2159bfc4ecf5c5c2 (diff) | |
vm/starnix: add support for fuzzing starnix (#3624)
This commit adds a new VM for fuzzing starnix.
The VM will boot a fuchsia image using the `ffx` tool and will connect to an adb server inside it. Fuzzing will be done using HostFuzzer mode due to some features not being implemented yet in starnix. Once this is possible, fuzzing will be performed without HostFuzzer mode.
Co-authored-by: Juampi Miceli <jpmiceli@google.com>
Diffstat (limited to 'pkg/report')
| -rw-r--r-- | pkg/report/report.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/report/report.go b/pkg/report/report.go index 8a710e062..7dd9714b3 100644 --- a/pkg/report/report.go +++ b/pkg/report/report.go @@ -101,7 +101,7 @@ func (t Type) String() string { // NewReporter creates reporter for the specified OS/Type. func NewReporter(cfg *mgrconfig.Config) (*Reporter, error) { typ := cfg.TargetOS - if cfg.Type == "gvisor" { + if cfg.Type == "gvisor" || cfg.Type == "starnix" { typ = cfg.Type } ctor := ctors[typ] @@ -151,6 +151,7 @@ const ( var ctors = map[string]fn{ targets.Akaros: ctorAkaros, targets.Linux: ctorLinux, + "starnix": ctorFuchsia, "gvisor": ctorGvisor, targets.FreeBSD: ctorFreebsd, targets.Darwin: ctorDarwin, |
