aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorbobogei81123 <chmnchiang@google.com>2020-09-12 08:17:22 -0700
committerGitHub <noreply@github.com>2020-09-12 17:17:22 +0200
commit7aa6bd6859a419bfb445a3621a14124fd7cecced (patch)
treecfed428b80dd9e76965f0a119c21f972d6d2c21a /pkg
parent9296c80bbce49adf175bb56d59ebf614b54ca190 (diff)
syz-manager: collect machine information
* syz-manager: finish a prototype Extract machine info from /proc/cpuinfo and /sys/kvm*/parameters/* and send it from syz-fuzzer to syz-manager. Append the machine info after crash reports. * syz-manager: refactor the code - Add kvm parameters machine info. - Store the machine info in the RPCServer instead of the manager. - Store the machine info in another field instead of appending it after the original report - Save the machine info locally in machineInfo*. * syz-manager: fix coding-style problems * syz-fuzzer: improve the output from /proc/cpuinfo Improve the machine info extracted from /proc/cpuinfo by grouping lines with the same key. * syz-manager: fix race condition in runInstance * syz-fuzzer: add tests for collecting machine info - Add some tests to test collecting machine information. - Split readCPUInfo into scanCPUInfo so that we can test it. * syz-fuzzer: refactor scanCPUInfo Refactor scanCPUInfo so that no sorting is needed. * syz-fuzzer: refactor some code Fix some issue that was pointed out on Github.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpctype/rpctype.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go
index fcc01a99a..c370b0a0e 100644
--- a/pkg/rpctype/rpctype.go
+++ b/pkg/rpctype/rpctype.go
@@ -25,7 +25,8 @@ type RPCCandidate struct {
}
type ConnectArgs struct {
- Name string
+ Name string
+ MachineInfo []byte
}
type ConnectRes struct {