llvm-project/llvm/lib/Fuzzer
Kostya Serebryany 96eab65d81 [lib/Fuzzer] Add SHA1 implementation from public domain.
Summary:
This adds a SHA1 implementation taken from public domain code.
The change is trivial, but as it involves third-party code I'd like
a second pair of eyes before commit.

LibFuzzer can not use SHA1 from openssl because openssl may not be available
and because we may be fuzzing openssl itself.
Using sha1sum via a pipe is too slow.

Test Plan: n/a

Reviewers: chandlerc

Reviewed By: chandlerc

Subscribers: majnemer, llvm-commits

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

llvm-svn: 237400
2015-05-14 22:41:49 +00:00
..
test [lib/Fuzzer] Add SHA1 implementation from public domain. 2015-05-14 22:41:49 +00:00
CMakeLists.txt [lib/Fuzzer] Add SHA1 implementation from public domain. 2015-05-14 22:41:49 +00:00
FuzzerCrossOver.cpp Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. 2015-01-29 16:58:29 +00:00
FuzzerDriver.cpp [lib/Fuzzer] guess the right number of workers if -jobs=N is given but -workers=M is not. Update the docs. 2015-05-12 18:51:57 +00:00
FuzzerFlags.def [lib/Fuzzer] enable -use_counters=1 by default 2015-05-13 18:31:46 +00:00
FuzzerIO.cpp [lib/Fuzzer] use -fsanitize-coverage=trace-cmp when building LLVM with LLVM_USE_SANITIZE_COVERAGE; in lib/Fuzzer try to reload the corpus to pick up new units from other processes 2015-05-08 21:30:55 +00:00
FuzzerInterface.h [fuzzer] split main() into FuzzerDriver() that takes a callback as a parameter and a tiny main() in a separate file 2015-02-19 18:45:37 +00:00
FuzzerInternal.h [lib/Fuzzer] Add SHA1 implementation from public domain. 2015-05-14 22:41:49 +00:00
FuzzerLoop.cpp [lib/Fuzzer] rename FuzzerDFSan.cpp to FuzzerTraceState.cpp; update comments. NFC expected 2015-05-11 21:16:27 +00:00
FuzzerMain.cpp [lib/Fuzzer] rename TestOneInput to LLVMFuzzerTestOneInput to make it more unique 2015-05-06 22:19:00 +00:00
FuzzerMutate.cpp [fuzzer] properly annotate fallthrough, add one more entry to FAQ 2015-02-19 18:21:12 +00:00
FuzzerSHA1.cpp [lib/Fuzzer] Add SHA1 implementation from public domain. 2015-05-14 22:41:49 +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
FuzzerTraceState.cpp [lib/Fuzzer] remove the -dfsan=1 flag, just use -use_traces=1 (w/ or w/o dfsan) 2015-05-12 01:58:34 +00:00
FuzzerUtil.cpp [lib/Fuzzer] Add SHA1 implementation from public domain. 2015-05-14 22:41:49 +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
cxx_fuzzer_tokens.txt [fuzzer] Add support for token-based fuzzing (e.g. for C++). Allow string flags. 2015-03-31 20:13:20 +00:00
pull_and_push_fuzz_corpus.sh [lib/Fuzzer] A simple script to synchronise a fuzz test corpus with an external git repository. 2015-05-12 23:19:12 +00:00

README.txt

Move to http://llvm.org/docs/LibFuzzer.html