syzkaller/rpctype/rpctype.go
Dmitry Vyukov ffe327412b syz-fuzzer: don't reminimize all programs from corpus on start
Minimization takes considerable time on start, but the programs were already minimized.
There are some chances that we could minimize it better this time,
but still it does not worth very slow start (which is especially painful for development).
2017-01-18 19:58:12 +01:00

69 lines
1.1 KiB
Go

// Copyright 2015 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
// Package rpctype contains types of message passed via net/rpc connections
// between various parts of the system.
package rpctype
type RpcInput struct {
Call string
Prog []byte
CallIndex int
Cover []uint32
}
type RpcCandidate struct {
Prog []byte
Minimized bool
}
type ConnectArgs struct {
Name string
}
type ConnectRes struct {
Prios [][]float32
EnabledCalls string
NeedCheck bool
}
type CheckArgs struct {
Name string
Kcov bool
Calls []string
}
type NewInputArgs struct {
Name string
RpcInput
}
type PollArgs struct {
Name string
Stats map[string]uint64
}
type PollRes struct {
Candidates []RpcCandidate
NewInputs []RpcInput
}
type HubConnectArgs struct {
Name string
Key string
Fresh bool
Calls []string
Corpus [][]byte
}
type HubSyncArgs struct {
Name string
Key string
Add [][]byte
Del []string
}
type HubSyncRes struct {
Inputs [][]byte
}