Search for local fuzzers on every run, not only on first run

This commit is contained in:
maride 2020-06-20 10:38:21 +02:00
parent 58b0820899
commit d986b6714c

View File

@ -23,10 +23,10 @@ func RegisterWatchdogFlags() {
// Watch over the specified directory, send updates to peers and re-scan after the specified amount of seconds
func WatchFuzzers(outputDirectory string) {
localFuzzers := detectLocalFuzzers(outputDirectory)
// Loop forever
for {
localFuzzers := detectLocalFuzzers(outputDirectory)
// Loop over local fuzzers
for _, localFuzzDir := range localFuzzers {
// Pack important parts of the fuzzer directory into a byte array