diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-10-10 10:41:27 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-10-10 10:41:27 +0200 |
| commit | 354c3244659f5a81d9ccbdb4cddceeda30b90e9d (patch) | |
| tree | 218b321d369e72bc2c9039ce8319a9e486e8ad16 /pkg | |
| parent | 2ef9fcaf18a9db9e4efefdd35e056ce3599dba4b (diff) | |
syz-fuzzer: don't send/check CallIndex for inputs
The call index check episodically fails:
2017/10/02 22:07:32 bad call index 1, calls 1, program:
under unknown circumstances. I've looked at the code again
and don't see where/how we can mess CallIndex.
Added a new test for minimization that especially checks resulting
CallIndex.
It would be good to understand what happens, but we don't have
any reproducers. CallIndex is actually unused at this point.
Manager only needs call name. So remove CallIndex entirely.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/rpctype/rpctype.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go index 78f8938f8..efe9e4c1d 100644 --- a/pkg/rpctype/rpctype.go +++ b/pkg/rpctype/rpctype.go @@ -6,11 +6,10 @@ package rpctype type RpcInput struct { - Call string - Prog []byte - CallIndex int - Signal []uint32 - Cover []uint32 + Call string + Prog []byte + Signal []uint32 + Cover []uint32 } type RpcCandidate struct { |
