diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-02-07 13:51:20 +0100 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-02-07 15:24:58 +0000 |
| commit | ef44b750e8fab8d6d5cb84920680581b13e0d470 (patch) | |
| tree | 66f14e7068bddf4859f473d2c6cbdce4b7404926 /pkg/fuzzer/queue/queue.go | |
| parent | cd3f2c0f937456cc2abfe12b914e4e1f20963867 (diff) | |
all: fix recvcheck errors
Diffstat (limited to 'pkg/fuzzer/queue/queue.go')
| -rw-r--r-- | pkg/fuzzer/queue/queue.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/fuzzer/queue/queue.go b/pkg/fuzzer/queue/queue.go index 1b98d768e..37e69837f 100644 --- a/pkg/fuzzer/queue/queue.go +++ b/pkg/fuzzer/queue/queue.go @@ -16,7 +16,6 @@ import ( "github.com/google/syzkaller/pkg/flatrpc" "github.com/google/syzkaller/pkg/hash" - "github.com/google/syzkaller/pkg/signal" "github.com/google/syzkaller/pkg/stat" "github.com/google/syzkaller/prog" ) @@ -32,11 +31,6 @@ type Request struct { BinaryFile string // for RequestTypeBinary GlobPattern string // for RequestTypeGlob - // If specified, the resulting signal for call SignalFilterCall - // will include subset of it even if it's not new. - SignalFilter signal.Signal - SignalFilterCall int - // Return all signal for these calls instead of new signal. ReturnAllSignal []int ReturnError bool @@ -123,9 +117,6 @@ func (r *Request) Validate() error { if len(r.ReturnAllSignal) != 0 && !collectSignal { return fmt.Errorf("ReturnAllSignal is set, but FlagCollectSignal is not") } - if r.SignalFilter != nil && !collectSignal { - return fmt.Errorf("SignalFilter must be used with FlagCollectSignal") - } collectComps := r.ExecOpts.ExecFlags&flatrpc.ExecFlagCollectComps > 0 collectCover := r.ExecOpts.ExecFlags&flatrpc.ExecFlagCollectCover > 0 if (collectComps) && (collectSignal || collectCover) { |
