From 9df95bd936fb27482755f26725360fd2fb4ae934 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Sun, 5 Mar 2023 23:23:42 +0900 Subject: [PATCH] Use InMemoryCorpus in libfuzzer_libpng (#1125) --- fuzzers/libfuzzer_libpng/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzers/libfuzzer_libpng/src/lib.rs b/fuzzers/libfuzzer_libpng/src/lib.rs index 587694d833..7e2653c102 100644 --- a/fuzzers/libfuzzer_libpng/src/lib.rs +++ b/fuzzers/libfuzzer_libpng/src/lib.rs @@ -112,7 +112,7 @@ fn fuzz(corpus_dirs: &[PathBuf], objective_dir: PathBuf, broker_port: u16) -> Re // RNG StdRand::with_seed(current_nanos()), // Corpus that will be evolved, we keep it in memory for performance - OnDiskCorpus::new("corpus_out").unwrap(), + InMemoryCorpus::new(), // Corpus in which we store solutions (crashes in this example), // on disk so the user can get them after stopping the fuzzer OnDiskCorpus::new(objective_dir).unwrap(),