diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2022-02-01 10:04:25 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-02-04 16:42:39 +0100 |
| commit | ba85f78eaa5355d3f47bd5a11663d614b2c1fa2d (patch) | |
| tree | c622a02a16eec5149dad1c229b84a27e66907c92 /syz-ci | |
| parent | 5b157182f8287432dc2380471292574e6401378c (diff) | |
syz-ci: set PreserveCorpus to false
There's not much point in keeping disabled progs in a corpus on syz-ci.
Diffstat (limited to 'syz-ci')
| -rw-r--r-- | syz-ci/manager.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go index 14e443c59..066b00188 100644 --- a/syz-ci/manager.go +++ b/syz-ci/manager.go @@ -507,6 +507,13 @@ func (mgr *Manager) writeConfig(buildTag string) (string, error) { } mgrcfg.Tag = buildTag mgrcfg.Workdir = mgr.workDir + // There's not much point in keeping disabled progs in the syz-ci corpuses. + // If the syscalls on some instance are enabled again, syz-hub will provide + // it with the missing progs over time. + // And, on the other hand, PreserveCorpus=false lets us disable syscalls in + // the least destructive way for the rest of the corpus - calls will be cut + // out the of programs and the leftovers will be retriaged. + mgrcfg.PreserveCorpus = false if err := instance.SetConfigImage(mgrcfg, mgr.currentDir, false); err != nil { return "", err } |
