aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-04-29 07:55:44 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-04-30 09:36:03 +0000
commit9232148686b36aed88151c1bf82b1a1294d76f37 (patch)
treecb2a32c0cb35877242a450326203c098fa0db6ea /pkg
parent9cce14289ad236f3533dc976312343f379116066 (diff)
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.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rpctype/rpctype.go8
1 files changed, 4 insertions, 4 deletions
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
}