syz-fuzzer: generate programs more frequently if no coverage

Generating every other time should be good,
because fallback signal is really weak.
This commit is contained in:
Dmitry Vyukov 2018-07-27 21:13:10 +02:00
parent 3abee99f46
commit ebf656d79b

View File

@ -68,7 +68,7 @@ func (proc *Proc) loop() {
if proc.fuzzer.config.Flags&ipc.FlagSignal == 0 {
// If we don't have real coverage signal, generate programs more frequently
// because fallback signal is weak.
generatePeriod = 10
generatePeriod = 2
}
for i := 0; ; i++ {
item := proc.fuzzer.workQueue.dequeue()