1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/Fuzzer/test
Ivan Krasin ce1bcd8c31 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: this is the second attempt (prev: r258473). Now, libc++ build is fixed.

Reviewers: aizatsky, kcc

Subscribers: llvm-commits

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

llvm-svn: 258571
2016-01-22 22:28:27 +00:00
..
dfsan
trace-bb [libFuzzer] add a test that is built with -fsanitize-coverage=trace-bb 2015-12-02 02:49:37 +00:00
uninstrumented [libFuzzer] make libFuzzer link if there is no sanitizer coverage instrumentation (it will fail at start-up time) 2015-11-09 23:17:45 +00:00
unit
BufferOverflowOnInput.cpp [libFuzzer] make sure we find buffer overflow in the input buffer. Previously, re-using the same vector object was hiding buffer overflows (unless we used annotated vector) 2016-01-13 23:02:30 +00:00
CallerCalleeTest.cpp [libFuzzer] use the indirect caller-callee counter as an independent search heuristic 2015-10-22 23:55:39 +00:00
CMakeLists.txt [libFuzzer] introduce LLVMFuzzerInitialize 2016-01-16 01:23:12 +00:00
CounterTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
dict1.txt
FourIndependentBranchesTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
FullCoverageSetTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
fuzzer-dfsan.test [libFuzzer] suggest a dictionary to the user of some of the trace-based dictionary entries were successful 2016-01-14 02:36:44 +00:00
fuzzer-dict.test [libFuzzer] add a position hint to the dictionary-based mutator 2016-01-07 01:49:35 +00:00
fuzzer-drill.test [libFuzzer] split the tests to run them in parallel, remove one redundant test 2015-12-19 03:35:30 +00:00
fuzzer-threaded.test [libFuzzer] make trace-based fuzzing not crash in presence of threads 2016-01-06 00:03:35 +00:00
fuzzer-timeout.test [libFuzzer] split the tests to run them in parallel, remove one redundant test 2015-12-19 03:35:30 +00:00
fuzzer-traces.test [libFuzzer] do mutations based on memcmp/strcmp interceptors under a separate flag (-use_memcmp, default=1) 2016-01-15 06:24:05 +00:00
fuzzer.test [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
FuzzerUnittest.cpp Use std::piecewise_constant_distribution instead of ad-hoc binary search. 2016-01-22 22:28:27 +00:00
hi.txt
InitializeTest.cpp [libFuzzer] introduce LLVMFuzzerInitialize 2016-01-16 01:23:12 +00:00
lit.cfg
lit.site.cfg.in
MemcmpTest.cpp [libFuzzer] suggest a dictionary to the user of some of the trace-based dictionary entries were successful 2016-01-14 02:36:44 +00:00
merge.test [libFuzzer] add -merge flag to merge corpora 2015-10-24 01:16:40 +00:00
NullDerefTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
RepeatedMemcmp.cpp [libFuzzer] suggest a dictionary to the user of some of the trace-based dictionary entries were successful 2016-01-14 02:36:44 +00:00
SimpleCmpTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
SimpleDictionaryTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
SimpleHashTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
SimpleTest.cpp Libfuzzer: do not pass null into user function 2015-12-02 22:43:53 +00:00
StrcmpTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
StrncmpTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
SwitchTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
ThreadedTest.cpp [libFuzzer] make trace-based fuzzing not crash in presence of threads 2016-01-06 00:03:35 +00:00
TimeoutTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00
UninstrumentedTest.cpp [libFuzzer] add UninstrumentedTest.cpp (missing from a previous commit) 2015-11-10 22:02:56 +00:00
UserSuppliedFuzzerTest.cpp [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. 2015-10-02 23:34:06 +00:00