mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 22:00:24 +00:00
ffe327412b
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).
69 lines
1.1 KiB
Go
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
|
|
}
|