diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-29 20:34:43 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-29 20:34:43 +0200 |
| commit | f7498af7af98d89cb5dc49c872213a3a5ef8268a (patch) | |
| tree | 32abb56358551c45dbce9a4c865781009fddd122 /pkg/signal | |
| parent | 0c4b1960d01985c2d8d6da62e8c82395b70838c8 (diff) | |
prog: add stronger fallback signal
Also mixin resource constructors and some signature
of flags values for successful calls into fallback coverage.
Diffstat (limited to 'pkg/signal')
| -rw-r--r-- | pkg/signal/signal.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/signal/signal.go b/pkg/signal/signal.go index 9af1bcce1..20deba46a 100644 --- a/pkg/signal/signal.go +++ b/pkg/signal/signal.go @@ -191,11 +191,3 @@ func Minimize(corpus []Context) []interface{} { } return result } - -func EncodeFallback(id, errno int) uint32 { - return uint32(id)<<16 | uint32(errno)&0x3ff -} - -func DecodeFallback(s uint32) (int, int) { - return int(s >> 16), int(s & 0x3ff) -} |
