Documentation ¶
Overview ¶
Package rpctype contains types of message passed via net/rpc connections between syz-manager and syz-hub.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubConnectArgs ¶
type HubConnectArgs struct { // Client/Key are used for authentication. Client string // The key may be a secret password or the oauth token prefixed by "Bearer ". Key string // Manager name, must start with Client. Manager string // See pkg/mgrconfig.Config.HubDomain. Domain string // Manager has started with an empty corpus and requests whole hub corpus. Fresh bool // Set of system call names supported by this manager. // Used to filter out programs with unsupported calls. Calls []string // Current manager corpus. Corpus [][]byte }
type HubSyncArgs ¶
type HubSyncArgs struct { // see HubConnectArgs. Client string Key string Manager string NeedRepros bool // Programs added to corpus since last sync or connect. Add [][]byte // Hashes of programs removed from corpus since last sync or connect. Del []string // Repros found since last sync. Repros [][]byte }
type HubSyncRes ¶
type HubSyncRes struct { // Set of inputs from other managers. Inputs []HubInput // Same as Inputs but for legacy managers that don't understand new format (remove later). Progs [][]byte // Set of repros from other managers. Repros [][]byte // Number of remaining pending programs, // if >0 manager should do sync again. More int }
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
func NewRPCClient ¶
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
func NewRPCServer ¶
Click to show internal directories.
Click to hide internal directories.