From babbf71b140500d52c982bead33f7575fc23ecab Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Fri, 29 Mar 2019 18:54:25 +0300 Subject: syz-repro: print detailed listings Final reproducers are crafty. Sometimes they just stop working. In that case the detailed listings of the programs executed by syz-repro are very helpful. Let's print them at the loglevel 3. --- pkg/repro/repro.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go index 7aafdde31..5db411617 100644 --- a/pkg/repro/repro.go +++ b/pkg/repro/repro.go @@ -548,6 +548,7 @@ func (ctx *context) testProgs(entries []*prog.LogEntry, duration time.Duration, ctx.cfg.TargetOS, ctx.cfg.TargetArch, opts.Sandbox, opts.Repeat, opts.Threaded, opts.Collide, opts.Procs, -1, -1, vmProgFile) ctx.reproLog(2, "testing program (duration=%v, %+v): %s", duration, opts, program) + ctx.reproLog(3, "detailed listing:\n%s", pstr) return ctx.testImpl(inst.Instance, command, duration) } -- cgit mrf-deployment