[PATCH] D21194: Enable libFuzzer's afl_driver to append stderr to a file.
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 12:00:58 PDT 2016
kcc added inline comments.
================
Comment at: lib/Fuzzer/test/FuzzerUnittest.cpp:455
@@ +454,3 @@
+// AFL_DRIVER_STDERR_DUPLICATE_FILENAME is set to the name of a valid file.
+TEST(DuplicateStderrTest, DuplicatesToValidFile) {
+ const char* DUPLICATE_FILENAME = "duplicated-stderr";
----------------
This test does not belong here.
Make it a separate lit-style test (like all other libFuzzer tests).
As the result, you will not need afl/afl_driver.h
http://reviews.llvm.org/D21194
More information about the llvm-commits
mailing list