1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Fuzzer
Vitaly Buka afa2c6c736 Enable libFuzzer's afl_driver to append stderr to a file.
Summary:
[libFuzzer] Enable afl_driver to append stderr to a user specified file.

Append stderr of afl_driver to the file specified by the environmental variable
AFL_DRIVER_STDERR_DUPLICATE_FILENAME if it is set. This lets users see outputs
on crashes without rerunning crashing test cases (which won't work for crashes
that are difficult to reproduce). Before this patch, stderr would only be sent to afl-fuzz
and users would have no way of seeing it.

Reviewers: llvm-commits, aizatsky, kcc, vitalybuka

Subscribers: vitalybuka

Differential Revision: http://reviews.llvm.org/D21194

llvm-svn: 272706
2016-06-14 20:42:05 +00:00
..
afl Enable libFuzzer's afl_driver to append stderr to a file. 2016-06-14 20:42:05 +00:00
test Enable libFuzzer's afl_driver to append stderr to a file. 2016-06-14 20:42:05 +00:00
CMakeLists.txt [LibFuzzer] Reimplement how the optional user functions are called. 2016-06-02 05:48:02 +00:00
cxx.dict [libFuzzer] add AFL-style dictionary for C++, remove the old file with tokens 2015-12-22 01:50:51 +00:00
FuzzerCrossOver.cpp
FuzzerDFSan.h [libFuzzer] make libFuzzer build even with a compiler that does not have sanitizer headers 2015-11-13 01:54:40 +00:00
FuzzerDriver.cpp [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerExtFunctions.def [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerExtFunctions.h [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerExtFunctionsDlsym.cpp [LibFuzzer] Reimplement how the optional user functions are called. 2016-06-02 05:48:02 +00:00
FuzzerExtFunctionsWeak.cpp [LibFuzzer] Reimplement how the optional user functions are called. 2016-06-02 05:48:02 +00:00
FuzzerFlags.def [libfuzzer] prune_corpus option for disabling pruning during the load. 2016-06-07 18:16:32 +00:00
FuzzerFnAdapter.h [LibFuzzer] Add missing #include<string> 2016-05-26 21:54:25 +00:00
FuzzerInterface.h [libfuzzer] custom crossover interface function. 2016-06-07 20:22:15 +00:00
FuzzerInternal.h [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerIO.cpp [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerLoop.cpp [libFuzzer] add 'weak' back to __sanitizer_malloc_hook and __sanitizer_free_hook 2016-06-08 04:49:29 +00:00
FuzzerMain.cpp [LibFuzzer] Reimplement how the optional user functions are called. 2016-06-02 05:48:02 +00:00
FuzzerMutate.cpp [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerSHA1.cpp
FuzzerTracePC.cpp [LibFuzzer] Provide stub implementation of __sanitizer_cov_trace_pc_indir 2016-06-06 20:27:09 +00:00
FuzzerTracePC.h [libfuzzer] Refactoring coverage state-management code. 2016-05-10 23:43:15 +00:00
FuzzerTraceState.cpp Fix compilation with GCC, which treats this as a constructor name not a type 2016-05-27 21:05:35 +00:00
FuzzerUtil.cpp [libFuzzer] make OOM-handling more portable. Instead of sending a signal to the main fuzzing thread, print the message in the getrusage thread and exit. 2016-05-27 00:54:15 +00:00
README.txt

Move to http://llvm.org/docs/LibFuzzer.html