llvm/lib/Fuzzer
Zachary Turner a6ae0e2562 [LibFuzzer] Introduce a portable WeakAlias implementation.
Windows doesn't really support weak aliases, but with some
linker magic we can get something that's pretty close on
Windows.  This introduces an interface to accessing weakly
aliased symbols that will work on any platform.  Linker
magic changes to come in a separate patch.

Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27235

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288530 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02 19:41:17 +00:00
..
afl [libFuzzer] extend the messages printed by afl_driver 2016-07-19 23:18:28 +00:00
standalone [libFuzzer] add StandaloneFuzzTargetMain.c and a test for it 2016-10-25 22:30:34 +00:00
test [libFuzzer] add a test for r288389 (-rss_limit_mb=0 means no limit). 2016-12-01 18:02:07 +00:00
build.sh [libFuzzer] when shrinking the corpus, delete evicted files previously created by the current process 2016-10-08 23:24:45 +00:00
CMakeLists.txt [LibFuzzer] Introduce a portable WeakAlias implementation. 2016-12-02 19:41:17 +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
FuzzerCorpus.h [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerCrossOver.cpp [libFuzzer] more refactoring; NFC 2016-09-21 02:05:39 +00:00
FuzzerDefs.h [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerDictionary.h [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerDriver.cpp [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerExtFunctions.def [libFuzzer] remove the code for -print_pcs=1 with the old coverage. It still works with the new one (trace-pc-guard) 2016-09-30 01:24:57 +00:00
FuzzerExtFunctions.h [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerExtFunctionsDlsym.cpp [libFuzzer] more refactoring 2016-09-21 21:17:23 +00:00
FuzzerExtFunctionsWeak.cpp [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerExtFunctionsWeakAlias.cpp [LibFuzzer] Introduce a portable WeakAlias implementation. 2016-12-02 19:41:17 +00:00
FuzzerFlags.def [libFuzzer] fix -error_exitcode=N, now with a test 2016-11-03 19:31:18 +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] extend -rss_limit_mb to crash instantly on a single malloc that exceeds the limit 2016-11-30 22:39:35 +00:00
FuzzerIO.cpp [LibFuzzer] Add Windows implementations of some IO functions. 2016-11-30 21:44:26 +00:00
FuzzerIO.h [libFuzzer] extend -print_coverage to print the comma-separated list of covered dirs. Note: the Windows stub for DirName is left unimplemented 2016-11-30 21:53:32 +00:00
FuzzerIOPosix.cpp [libFuzzer] extend -print_coverage to print the comma-separated list of covered dirs. Note: the Windows stub for DirName is left unimplemented 2016-11-30 21:53:32 +00:00
FuzzerIOWindows.cpp [libFuzzer] extend -print_coverage to print the comma-separated list of covered dirs. Note: the Windows stub for DirName is left unimplemented 2016-11-30 21:53:32 +00:00
FuzzerLoop.cpp [libFuzzer] treat -rss_limit_mb=0 as no limit 2016-12-01 17:56:15 +00:00
FuzzerMain.cpp [libFuzzer] refactoring: split the large header into many; NFC 2016-09-21 01:50:50 +00:00
FuzzerMutate.cpp [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerMutate.h [libFuzzer] simplify the code for use_cmp, also use the position hint when available, add a test 2016-10-25 02:04:43 +00:00
FuzzerOptions.h [libFuzzer] add -trace_cmp=1 (guiding mutations based on the observed CMP instructions). This is a reincarnation of the previously deleted -use_traces, but using a different approach for collecting traces. Still a toy, but at least it scales well. Also fix -merge in trace-pc-guard mode 2016-10-14 20:20:33 +00:00
FuzzerRandom.h [libFuzzer] when mutating based on CMP traces also try adding +/- 1 to the desired bytes. Add another test for use_cmp 2016-10-25 20:15:15 +00:00
FuzzerSHA1.cpp [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerSHA1.h [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerTracePC.cpp [libFuzzer] extend -print_coverage to print the comma-separated list of covered dirs. Note: the Windows stub for DirName is left unimplemented 2016-11-30 21:53:32 +00:00
FuzzerTracePC.h [libFuzzer] do not initialize parts of TracePC -- let them be initialized by the linker. Add no-msan attribute to the memcmp hook. 2016-11-11 23:06:53 +00:00
FuzzerTraceState.cpp [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerUtil.cpp [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerUtil.h [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerUtilDarwin.cpp [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerUtilLinux.cpp [LibFuzzer] Split up some functions among different headers. 2016-11-30 19:06:14 +00:00
FuzzerUtilPosix.cpp [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerUtilWindows.cpp [LibFuzzer] Split FuzzerUtil for Posix and Windows. 2016-12-02 19:38:19 +00:00
FuzzerValueBitMap.h [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test. 2016-10-05 22:56:21 +00:00
README.txt Move lib/Fuzzer docs from a README.txt to a proper .rst file. 2015-03-30 23:05:30 +00:00

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