llvm/lib/Fuzzer/test
Ivan Krasin 9e01a11e67 [libFuzzer]Add a test for defeating a hash sum.
Summary:
Add a test for a data followed by 4-byte hash value.
I use a slightly modified Jenkins hash function,
as described in https://en.wikipedia.org/wiki/Jenkins_hash_function

The modification is to ensure that hash(zeros) != 0.

Reviewers: kcc

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247076 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-08 21:22:52 +00:00
..
dfsan
unit
CMakeLists.txt [libFuzzer]Add a test for defeating a hash sum. 2015-09-08 21:22:52 +00:00
CounterTest.cpp
CxxTokensTest.cpp
dict1.txt [libFuzzer] actually make the dictionaries work (+docs) 2015-09-04 00:12:11 +00:00
FourIndependentBranchesTest.cpp
FullCoverageSetTest.cpp
fuzzer-dfsan.test [libFuzzer] add two flags, -tbm_depth and -tbm_width to control how the trace-based-mutations are applied 2015-08-12 01:55:37 +00:00
fuzzer.test [libFuzzer]Add a test for defeating a hash sum. 2015-09-08 21:22:52 +00:00
FuzzerUnittest.cpp [libFuzzer] add one more mutator: Mutate_ChangeASCIIInteger 2015-09-08 17:19:31 +00:00
InfiniteTest.cpp
lit.cfg
lit.site.cfg.in
MemcmpTest.cpp [libFuzzer] implement strncmp hook for data-flow-guided fuzzing (w/ and w/o dfsan), add a test 2015-07-30 02:33:45 +00:00
NullDerefTest.cpp
SimpleCmpTest.cpp
SimpleDictionaryTest.cpp [libFuzzer] actually make the dictionaries work (+docs) 2015-09-04 00:12:11 +00:00
SimpleHashTest.cpp [libFuzzer]Add a test for defeating a hash sum. 2015-09-08 21:22:52 +00:00
SimpleTest.cpp
StrcmpTest.cpp [libFuzzer] add a missing test file 2015-08-05 21:32:13 +00:00
StrncmpTest.cpp [libFuzzer] fix the strncmp interceptor -- it should respect short strings. 2015-07-30 21:22:22 +00:00
SwitchTest.cpp [libFuzzer] make sure that 2-byte arguments of switch() are handled properly 2015-07-31 20:58:55 +00:00
TimeoutTest.cpp
UserSuppliedFuzzerTest.cpp [libFuzzer] move the mutators to public interface so that custom mutators may reuse these functions directly 2015-08-06 19:19:55 +00:00