Skip to content

Commit be6e28b

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

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
@@ -78,6 +78,9 @@ func main() {
7878
}
7979
}
8080

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

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

0 commit comments

Comments
 (0)