diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-10-18 16:39:32 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-10-18 16:49:25 +0200 |
| commit | 296be8cc8dc8595f4d4504e3dd27f586785e0024 (patch) | |
| tree | b8ac1602d0a07d72a408237b40d76dcf7dbda469 /pkg/ipc | |
| parent | 5776783af1f0851f4fd7f401ef4509c54aa9d54f (diff) | |
pkg/ipc: move fallback coverage into executor
It seems to explode linux corpus.
So make it freebsd-specific.
Diffstat (limited to 'pkg/ipc')
| -rw-r--r-- | pkg/ipc/ipc.go | 14 |
1 files changed, 0 insertions, 14 deletions
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 } |
