diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-06-25 17:57:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-06-26 07:11:49 +0200 |
| commit | 9d2ab5dfe7727dfea4b9b279f4edf731acb386ef (patch) | |
| tree | a56258ffd87a643c865e3ceab976e8ba948073e6 /pkg | |
| parent | ae6bf8ddebd14f2e21c155c0bdf555b92d3eaf7a (diff) | |
syz-manager, syz-fuzzer: filter stale glob values in the corpus
Corpus may accumulate glob values that are already filtered out
by descriptions (e.g. some harmful files), for an example see:
https://groups.google.com/g/syzkaller-bugs/c/W_R0O4XWpfY/m/sdwwg2_hAwAJ
Pass glob files to the manager and filter out values that
are not present in the glob already.
Also use the same caching scheme we use for features and
enabled syscalls so that fuzzers don't need to scan globs every time.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/rpctype/rpctype.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go index 94c62c2b3..07a2e5a64 100644 --- a/pkg/rpctype/rpctype.go +++ b/pkg/rpctype/rpctype.go @@ -47,6 +47,7 @@ type CheckArgs struct { EnabledCalls map[string][]int DisabledCalls map[string][]SyscallReason Features *host.Features + GlobFiles map[string][]string } type SyscallReason struct { |
