From a80ca54def962002ad5ebed54459dc1667de4385 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 18 Apr 2024 12:37:07 +0200 Subject: 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. --- pkg/rpctype/rpctype.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'pkg') 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. -- cgit mrf-deployment