From 349a68c4b056a06438a1e75e9b8a3a583b06d511 Mon Sep 17 00:00:00 2001 From: Laura Peskin Date: Mon, 16 Sep 2024 17:03:51 -0700 Subject: 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. --- pkg/instance/execprog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/instance/execprog.go') 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) -- cgit mrf-deployment