diff options
author | Kostya Serebryany <kcc@google.com> | 2016-10-01 01:04:29 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-10-01 01:04:29 +0000 |
commit | d216922a806eee5b5119ffd2dee836c459654583 (patch) | |
tree | c155da1e865489be276f41cd5f0837a62d24e4ee /llvm/lib/Fuzzer/FuzzerInternal.h | |
parent | 73957e39a49e3d84e7b678fa6dd92255277d76f9 (diff) | |
download | bcm5719-llvm-d216922a806eee5b5119ffd2dee836c459654583.tar.gz bcm5719-llvm-d216922a806eee5b5119ffd2dee836c459654583.zip |
[libFuzzer] implement the -shrink=1 option that tires to make elements of the corpus smaller, off by default
llvm-svn: 282995
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInternal.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerInternal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInternal.h b/llvm/lib/Fuzzer/FuzzerInternal.h index e85bd8aa17e..ba538b89826 100644 --- a/llvm/lib/Fuzzer/FuzzerInternal.h +++ b/llvm/lib/Fuzzer/FuzzerInternal.h @@ -117,6 +117,7 @@ private: bool DuringInitialCorpusExecution); void AddToCorpus(const Unit &U); void CheckExitOnSrcPos(); + void CheckExitOnItem(); // Trace-based fuzzing: we run a unit with some kind of tracing // enabled and record potentially useful mutations. Then |