1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib/Fuzzer
Ivan Krasin db4009626d Use std::piecewise_constant_distribution instead of ad-hoc binary search.
Summary:
Fix the issue with the most recently discovered unit receiving much less attention.

Note: I had to change the seed for one test to make it pass. Alternatively,
the number of runs could be increased. I believe that the average time of
'foo' discovery is not increased, just seed=1 was particularly convenient
for the previous PRNG scheme used.

Reviewers: aizatsky, kcc

Subscribers: llvm-commits, kcc

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

llvm-svn: 258473
2016-01-22 01:32:34 +00:00
..
test Use std::piecewise_constant_distribution instead of ad-hoc binary search. 2016-01-22 01:32:34 +00:00
CMakeLists.txt Fuzzer: Fix library dependencies. 2015-12-16 02:14:57 +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 [libFuzzer] refactor the mutation functions so that they are now methods of a class. NFC 2015-09-03 21:24:19 +00:00
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] use std::mt19937 for generating random numbers by default. Fix MyStoll to handle negative values. Use std::any_of instead of std::find_if 2016-01-19 20:33:57 +00:00
FuzzerFlags.def [libFuzzer] do mutations based on memcmp/strcmp interceptors under a separate flag (-use_memcmp, default=1) 2016-01-15 06:24:05 +00:00
FuzzerInterface.cpp [libFuzzer] use std::mt19937 for generating random numbers by default. Fix MyStoll to handle negative values. Use std::any_of instead of std::find_if 2016-01-19 20:33:57 +00:00
FuzzerInterface.h Use std::piecewise_constant_distribution instead of ad-hoc binary search. 2016-01-22 01:32:34 +00:00
FuzzerInternal.h Use std::piecewise_constant_distribution instead of ad-hoc binary search. 2016-01-22 01:32:34 +00:00
FuzzerIO.cpp [libFuzzer] compute base64 in-process instead of using an external lib. Since libFuzzer should not depend on anything, just re-implement base64 encoder. PR25746 2015-12-04 22:29:39 +00:00
FuzzerLoop.cpp Use std::piecewise_constant_distribution instead of ad-hoc binary search. 2016-01-22 01:32:34 +00:00
FuzzerMain.cpp [libFuzzer] introduce LLVMFuzzerInitialize 2016-01-16 01:23:12 +00:00
FuzzerMutate.cpp [libFuzzer] don't use std::vector in one more hot path 2016-01-21 01:52:14 +00:00
FuzzerSanitizerOptions.cpp [lib/Fuzzer] use handle_abort=1 by default so that when assert() fires we save the test case 2015-05-05 01:42:55 +00:00
FuzzerSHA1.cpp [lib/Fuzzer] Add SHA1 implementation from public domain. 2015-05-14 22:41:49 +00:00
FuzzerTraceState.cpp [libFuzzer] don't do expensive memmem if the result will not be used 2016-01-22 01:04:58 +00:00
FuzzerUtil.cpp [libFuzzer] replace vector with a simpler data structure in the Dictionaries to avoid memory allocations on hot path 2016-01-16 03:53:32 +00:00
pull_and_push_fuzz_corpus.sh [lib/Fuzzer] ignore flags that start with --; use git pull --rebase instead of just git pull 2015-05-21 20:39:13 +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