diff options
| author | Laura Peskin <pesk@google.com> | 2024-09-16 17:03:51 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-09-24 14:52:23 +0000 |
| commit | 349a68c4b056a06438a1e75e9b8a3a583b06d511 (patch) | |
| tree | 7a095d526b059ff69ccadee7d20a89e1c4110c67 /pkg/instance/execprog.go | |
| parent | 5643e0e933eb9fd69bb78740a8f3967b4d37bc0e (diff) | |
tools/syz-execprog: pass the VM type to execprog
This makes it possible to skip certain machine
checks depending on the VM type, as syz-manager
already does.
Diffstat (limited to 'pkg/instance/execprog.go')
| -rw-r--r-- | pkg/instance/execprog.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/execprog.go b/pkg/instance/execprog.go index 4ab5c09a7..401da784e 100644 --- a/pkg/instance/execprog.go +++ b/pkg/instance/execprog.go @@ -177,7 +177,7 @@ func (inst *ExecProgInstance) RunSyzProgFile(progFile string, duration time.Dura if opts.Fault { faultCall = opts.FaultCall } - command := ExecprogCmd(inst.execprogBin, inst.executorBin, target.OS, target.Arch, opts.Sandbox, + command := ExecprogCmd(inst.execprogBin, inst.executorBin, target.OS, target.Arch, inst.mgrCfg.Type, opts.Sandbox, opts.SandboxArg, opts.Repeat, opts.Threaded, opts.Collide, opts.Procs, faultCall, opts.FaultNth, !inst.OldFlagsCompatMode, inst.mgrCfg.Timeouts.Slowdown, vmProgFile) return inst.runCommand(command, duration, exitCondition) |
