1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/lib/Fuzzer
Marcos Pividori 79b26fd29b [libFuzzer] Properly use unsigned for workers, jobs and NumberOfCpuCores.
std:🧵:hardware_concurrency() returns an unsigned, so I modify
NumberOfCpuCores() to return unsigned too.
The number of cpus is used to define the number of workers, so I decided
to update the worker and jobs flags to be declared as unsigned too.

Differential Revision: https://reviews.llvm.org/D27685

llvm-svn: 289559
2016-12-13 17:45:53 +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] don't require extra flags with -minimize_crash=1 (default to -max_total_time=600). Also respect exact_artifact_path when outputting the end result 2016-12-13 00:40:47 +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] build libFuzzer itself with asan 2016-12-12 20:58:10 +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] Properly use unsigned for workers, jobs and NumberOfCpuCores. 2016-12-13 17:45:53 +00:00
FuzzerExtFunctions.def [libFuzzer] use __sanitizer_get_module_and_offset_for_pc to get the module name while printing the coverage 2016-12-10 01:19:35 +00:00
FuzzerExtFunctions.h [LibFuzzer] Declare and use sanitizer functions in `fuzzer::ExternalFunctions` 2016-06-07 23:32:50 +00:00
FuzzerExtFunctionsDlsym.cpp [libFuzzer] include FuzzerIO.h and hopefully fix the Mac build. reported by Dejan Mircevski 2016-12-07 21:02:48 +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] Properly use unsigned for workers, jobs and NumberOfCpuCores. 2016-12-13 17:45:53 +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] implement crash-resistant merge (https://github.com/google/sanitizers/issues/722). This is a first experimental variant that needs some more testing, thus not yet adding a lit test (but there are unit tests). 2016-12-09 01:17:24 +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] Properly use unsigned for Process ID. 2016-12-13 17:45:44 +00:00
FuzzerMain.cpp [libFuzzer] refactoring: split the large header into many; NFC 2016-09-21 01:50:50 +00:00
FuzzerMerge.cpp [libFuzzer] respect -max_len during merge 2016-12-12 20:39:35 +00:00
FuzzerMerge.h [libFuzzer] implement crash-resistant merge (https://github.com/google/sanitizers/issues/722). This is a first experimental variant that needs some more testing, thus not yet adding a lit test (but there are unit tests). 2016-12-09 01:17:24 +00:00
FuzzerMutate.cpp Resubmit "[LibFuzzer] Split FuzzerUtil for Posix and Windows." 2016-12-02 23:02:01 +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] Improve Signal Handler interface. 2016-12-13 17:45:20 +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] use __sanitizer_get_module_and_offset_for_pc to get the module name while printing the coverage 2016-12-10 01:19:35 +00:00
FuzzerTracePC.h [libFuzzer] refactor the code to allow collecting features in different ways. Also initialize a couple of Fuzzer:: members that might have been used uninitialized :( 2016-12-05 23:35:22 +00:00
FuzzerTraceState.cpp Resubmit "[LibFuzzer] Split FuzzerUtil for Posix and Windows." 2016-12-02 23:02:01 +00:00
FuzzerUtil.cpp [libFuzzer] Properly use unsigned for workers, jobs and NumberOfCpuCores. 2016-12-13 17:45:53 +00:00
FuzzerUtil.h [libFuzzer] Properly use unsigned for workers, jobs and NumberOfCpuCores. 2016-12-13 17:45:53 +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] Properly use unsigned for Process ID. 2016-12-13 17:45:44 +00:00
FuzzerUtilWindows.cpp [libFuzzer] Properly use unsigned for Process ID. 2016-12-13 17:45:44 +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