mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
pkg/repro: pass target OS to execprog
Pass target OS to execprog and pass executor the same way manager passes it to fuzzer.
This commit is contained in:
parent
3e6e034413
commit
2290cea0a3
@ -544,9 +544,9 @@ func (ctx *context) testProgs(entries []*prog.LogEntry, duration time.Duration,
|
||||
}
|
||||
program += "]"
|
||||
}
|
||||
command := fmt.Sprintf("%v -executor %v -arch=%v -cover=0 -procs=%v -repeat=%v"+
|
||||
command := fmt.Sprintf("%v -executor=%v -os=%v -arch=%v -cover=0 -procs=%v -repeat=%v"+
|
||||
" -sandbox %v -threaded=%v -collide=%v %v",
|
||||
inst.execprogBin, inst.executorBin, ctx.cfg.TargetArch, opts.Procs, repeat,
|
||||
inst.execprogBin, inst.executorBin, ctx.cfg.TargetOS, ctx.cfg.TargetArch, opts.Procs, repeat,
|
||||
opts.Sandbox, opts.Threaded, opts.Collide, vmProgFile)
|
||||
ctx.reproLog(2, "testing program (duration=%v, %+v): %s", duration, opts, program)
|
||||
return ctx.testImpl(inst.Instance, command, duration)
|
||||
|
Loading…
Reference in New Issue
Block a user