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.
Paths
| Differential D12648
[libFuzzer]Add a test for defeating a hash sum. ClosedPublic Authored by krasin on Sep 4 2015, 2:15 PM.
Details Summary Add a test for a data followed by 4-byte hash value. The modification is to ensure that hash(zeros) != 0.
Diff Detail Event Timelinekrasin updated this object. This revision is now accepted and ready to land.Sep 4 2015, 2:27 PM krasin retitled this revision from [libFuzzer]Add XFAIL test for defeating a hash sum. to [libFuzzer]Add a test for defeating a hash sum..Sep 8 2015, 2:21 PM krasin updated this object.
Revision Contents
Diff 34264 lib/Fuzzer/test/CMakeLists.txt
lib/Fuzzer/test/SimpleHashTest.cpp
lib/Fuzzer/test/fuzzer.test
|