aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-04-18 12:37:07 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-04-30 09:36:03 +0000
commita80ca54def962002ad5ebed54459dc1667de4385 (patch)
tree2cf4d78ad9c4800f7bda9e7a42a013cfcd393d14 /pkg
parent67a25df5ff7f0d2a8b09049c3b30ecc79afa3f1e (diff)
syz-manager: check revisions on the host
Move revisions check to the host. Instead of sending host revisions to the VM, let the VM send own revisions to the host. This is a bit complicated by the fact that we still have the image testing procedure that also uses this code. For now keep it intact.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpctype/rpctype.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go
index b0d932714..fa728a494 100644
--- a/pkg/rpctype/rpctype.go
+++ b/pkg/rpctype/rpctype.go
@@ -67,14 +67,17 @@ type ExecTask struct {
}
type ConnectArgs struct {
- Name string
+ Name string
+ GitRevision string
+ SyzRevision string
+ ExecutorArch string
+ ExecutorGitRevision string
+ ExecutorSyzRevision string
}
type ConnectRes struct {
- EnabledCalls []int
- GitRevision string
- TargetRevision string
- AllSandboxes bool
+ EnabledCalls []int
+ AllSandboxes bool
// This is forwarded from CheckArgs, if checking was already done.
Features *host.Features
// Fuzzer reads these files inside of the VM and returns contents in CheckArgs.Files.