From f1c0e23cc3f6b6b9a77f5a803dacedb6e0d439b8 Mon Sep 17 00:00:00 2001 From: genewitch Date: Sun, 25 Jun 2017 23:43:22 -0500 Subject: [PATCH] Update main.go added 2 second delay on each startup because the stock run won't work properly on 128 cores, it only starts about 40 at a time. I figure someone can make this a command line option -delay or something. --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index fd3c69c..8e6d565 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( "regexp" "strconv" "strings" + "time" ) const MAXFUZZERS = 256 @@ -84,6 +85,7 @@ func spawn(fuzzerName string, args []string) { cmd := exec.Command(AFLNAME, args...) cmd.Stdout = fd err = cmd.Start() + time.Sleep(2 * time.Second) if err != nil { // If this fails to start it will be OS issues like no swap or rlimit // or something, so it's not something we can handle gracefully. It's