diff options
| author | Alexander Popov <alex.popov@linux.com> | 2019-03-29 18:54:25 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-03-29 18:18:41 +0100 |
| commit | babbf71b140500d52c982bead33f7575fc23ecab (patch) | |
| tree | 4b30f2664b2da0578e14ac82d53a75dc8baa5a0d /pkg/repro | |
| parent | 9028d21e525f47597cf41d85ca617b588b03e4cd (diff) | |
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.
Diffstat (limited to 'pkg/repro')
| -rw-r--r-- | pkg/repro/repro.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) } |
