[PATCH] D39850: [libFuzzer] Don't add leaking inputs to corpus.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 11:45:19 PST 2017


kcc added inline comments.


================
Comment at: compiler-rt/test/fuzzer/fuzzer-leak.test:16
+// Verify leaking input was not added to corpus
+RUN: not ls %t-corpus/$(grep 'Test unit written to ./leak-' %t.log | sed 's/.*-//')
+
----------------
This is too involved. I would just run the same test with -runs=0 on the corpus. 
If there are leaky inputs in the corpus that will fail. 


https://reviews.llvm.org/D39850





More information about the llvm-commits mailing list