llvm-project/llvm/lib/Fuzzer/test
Mike Aizatsky b8627a89a6 [libfuzzer] arbitrary function adapter.
The adapter automates converting sequence of bytes into arbitrary
arguments.

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

llvm-svn: 262673
2016-03-03 23:45:29 +00:00
..
dfsan [lib/Fuzzer] build tests that work well with dfsan also w/o dfsan 2015-05-08 21:45:19 +00:00
trace-bb [libFuzzer] add a test that is built with -fsanitize-coverage=trace-bb 2015-12-02 02:49:37 +00:00
trace-pc [libFuzzer] initial implementation of path coverage based on -fsanitize-coverage=trace-pc. This does not scale well yet, but already cracks FullCoverageSetTest in seconds 2016-02-26 21:33:56 +00:00
uninstrumented [libFuzzer] fix the libFuzzer bot 2016-02-18 02:02:40 +00:00
unit [fuzzer] Add a gtest-style test 2015-01-30 23:26:57 +00:00
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
CMakeLists.txt [libfuzzer] arbitrary function adapter. 2016-03-03 23:45:29 +00:00
CallerCalleeTest.cpp [libFuzzer] use the indirect caller-callee counter as an independent search heuristic 2015-10-22 23:55:39 +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
CustomMutatorTest.cpp [libFuzzer] don't require seed in fuzzer::Mutate, instead use the global Fuzzer object for fuzzer::Mutate. This makes custom mutators fast 2016-02-13 06:24:18 +00:00
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
FuzzerFnAdapterUnittest.cpp [libfuzzer] arbitrary function adapter. 2016-03-03 23:45:29 +00:00
FuzzerUnittest.cpp [libFuzzer] get rid of UserSuppliedFuzzer; NFC 2016-02-13 03:25:16 +00:00
InitializeTest.cpp [libFuzzer] introduce LLVMFuzzerInitialize 2016-01-16 01:23:12 +00:00
LeakTest.cpp [libFuzzer] don't write the test unit when a leak is detected (since we don't know which unit causes the leak) 2016-02-04 00:02:17 +00:00
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
NthRunCrashTest.cpp [libFuzzer] make -runs=N flag also affect the simple runner (will execute every input N times) 2016-02-12 02:32:03 +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
SimpleFnAdapterTest.cpp [libfuzzer] arbitrary function adapter. 2016-03-03 23:45:29 +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
dict1.txt [libFuzzer] actually make the dictionaries work (+docs) 2015-09-04 00:12:11 +00:00
fuzzer-dfsan.test [libFuzzer] get rid of UserSuppliedFuzzer; NFC 2016-02-13 03:25:16 +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-fn-adapter.test [libfuzzer] arbitrary function adapter. 2016-03-03 23:45:29 +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] add generic signal handlers so that libFuzzer can report at least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag. 2016-03-01 22:19:21 +00:00
fuzzer-trace-pc.test [libFuzzer] fixing the bot 2016-02-27 03:14:23 +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] add generic signal handlers so that libFuzzer can report at least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag. 2016-03-01 22:19:21 +00:00
hi.txt [LibFuzzer] test_single_input option to run a single test case. 2015-10-01 23:23:06 +00:00
lit.cfg [Fuzzer] Rely on $PATH expansion instead of hardcoding paths in tests. NFC. 2015-07-21 22:51:55 +00:00
lit.site.cfg.in [fuzzer] Add proper dependensices to the fuzzer tests 2015-02-03 21:57:32 +00:00
merge.test [libFuzzer] add -merge flag to merge corpora 2015-10-24 01:16:40 +00:00