From bc48c9ab65ed47d707bedef64ca52e1a5c383250 Mon Sep 17 00:00:00 2001 From: Mara Mihali Date: Mon, 19 Jul 2021 08:05:31 +0000 Subject: pkg/instance, syz-runner, syz-verifier: add option to create a new environment for each program --- pkg/instance/instance.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pkg/instance/instance.go') diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index c65d97cce..e0c1e3ce8 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -500,8 +500,7 @@ var MakeBin = func() string { return "make" }() -func RunnerCmd(prog, fwdAddr, os, arch string, poolIdx, vmIdx int, collide, threaded bool) string { +func RunnerCmd(prog, fwdAddr, os, arch string, poolIdx, vmIdx int, collide, threaded, newEnv bool) string { return fmt.Sprintf("%s -addr=%s -os=%s -arch=%s -pool=%d -vm=%d "+ - "-collide=%t -threaded=%t", prog, fwdAddr, os, arch, poolIdx, vmIdx, - collide, threaded) + "-collide=%t -threaded=%t -new-env=%t", prog, fwdAddr, os, arch, poolIdx, vmIdx, collide, threaded, newEnv) } -- cgit mrf-deployment