Skip to content

Commit 82abd23

Browse files
committed
syz-cluster/workflow/fuzz-step: restart procs more frequently
This should increase the bug reproduction rate.
1 parent c232115 commit 82abd23

File tree

1 file changed

+5
-0
lines changed
  • syz-cluster/workflow/fuzz-step

1 file changed

+5
-0
lines changed

syz-cluster/workflow/fuzz-step/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ func main() {
7979
}
8080
}
8181

82+
// Do more frequent proc restarts to facilitate a higher reproducation rate.
83+
const procRestartFreq = 100
84+
8285
func run(baseCtx context.Context, client *api.Client, timeout time.Duration,
8386
store *manager.DiffFuzzerStore) error {
8487
series, err := client.GetSessionSeries(baseCtx, *flagSession)
@@ -95,6 +98,8 @@ func run(baseCtx context.Context, client *api.Client, timeout time.Duration,
9598
if err != nil {
9699
return fmt.Errorf("failed to load configs: %w", err)
97100
}
101+
base.Experimental.ProcRestartFreq = procRestartFreq
102+
patched.Experimental.ProcRestartFreq = procRestartFreq
98103

99104
baseSymbols, patchedSymbols, err := readSymbolHashes()
100105
if err != nil {

0 commit comments

Comments
 (0)