We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0ac48 commit d64827bCopy full SHA for d64827b
Sources/Fuzzilli/Fuzzer.swift
@@ -597,7 +597,13 @@ public class Fuzzer {
597
return
598
}
599
600
- currentCorpusImportJob = CorpusImportJob(corpus: corpus, mode: importMode)
+ // In the default corpus import mode (where we only keep interesting samples), the order
601
+ // of imported programs matters as earlier samples may cause later samples to not be
602
+ // added to the corpus (because they no longer add any new coverage). To not create an
603
+ // artifical bias due to the order/filenames, we shuffle the corpus here.
604
+ let shuffledCorpus = corpus.shuffled()
605
+
606
+ currentCorpusImportJob = CorpusImportJob(corpus: shuffledCorpus, mode: importMode)
607
changeState(to: .corpusImport)
608
609
0 commit comments