From 296be8cc8dc8595f4d4504e3dd27f586785e0024 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Oct 2017 16:39:32 +0200 Subject: pkg/ipc: move fallback coverage into executor It seems to explode linux corpus. So make it freebsd-specific. --- pkg/ipc/ipc.go | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'pkg/ipc') diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go index a28eedcfa..8abf54054 100644 --- a/pkg/ipc/ipc.go +++ b/pkg/ipc/ipc.go @@ -477,20 +477,6 @@ func (env *Env) readOutCoverage(p *prog.Prog) (info []CallInfo, err0 error) { } info[callIndex].Comps = compMap } - if env.config.Flags&FlagSignal != 0 { - // This is fallback coverage used when no real coverage available. - // We use syscall number or-ed with returned errno value as signal. - // At least this gives us all combinations of syscall+errno. - for i := range info { - ci := &info[i] - if len(ci.Signal) != 0 { - continue - } - num := p.Calls[i].Meta.ID - sig := uint32(num<<16) | uint32(ci.Errno)&0x3ff - ci.Signal = []uint32{sig} - } - } return } -- cgit mrf-deployment