From 9232148686b36aed88151c1bf82b1a1294d76f37 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 29 Apr 2024 07:55:44 +0200 Subject: syz-fuzzer: pass bug frames in connect result Move bug frames from check result to connect result. This allows to create gate and start executing programs in the syz-fuzzer earlier (before check finished). This will be required for moving syscall/feature checks to the host. --- pkg/rpctype/rpctype.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg') diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go index fa728a494..d9119d24e 100644 --- a/pkg/rpctype/rpctype.go +++ b/pkg/rpctype/rpctype.go @@ -76,8 +76,10 @@ type ConnectArgs struct { } type ConnectRes struct { - EnabledCalls []int - AllSandboxes bool + EnabledCalls []int + MemoryLeakFrames []string + DataRaceFrames []string + 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. @@ -96,8 +98,6 @@ type CheckArgs struct { } type CheckRes struct { - MemoryLeakFrames []string - DataRaceFrames []string CoverFilterBitmap []byte } -- cgit mrf-deployment