diff options
author | Kostya Serebryany <kcc@google.com> | 2016-10-14 20:20:33 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2016-10-14 20:20:33 +0000 |
commit | a5f94fb6c9cb447ebf32bef848d81ac867fd1c63 (patch) | |
tree | 7517f668bf9bcebd8fec1c80d44e3086426557e2 /llvm/lib/Fuzzer/FuzzerOptions.h | |
parent | 3ed0f643fc3267b7fbb319e4cb5610e5a7e1ba86 (diff) | |
download | bcm5719-llvm-a5f94fb6c9cb447ebf32bef848d81ac867fd1c63.tar.gz bcm5719-llvm-a5f94fb6c9cb447ebf32bef848d81ac867fd1c63.zip |
[libFuzzer] add -trace_cmp=1 (guiding mutations based on the observed CMP instructions). This is a reincarnation of the previously deleted -use_traces, but using a different approach for collecting traces. Still a toy, but at least it scales well. Also fix -merge in trace-pc-guard mode
llvm-svn: 284273
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerOptions.h')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerOptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerOptions.h b/llvm/lib/Fuzzer/FuzzerOptions.h index d0bac9cee83..59126a231e3 100644 --- a/llvm/lib/Fuzzer/FuzzerOptions.h +++ b/llvm/lib/Fuzzer/FuzzerOptions.h @@ -30,6 +30,7 @@ struct FuzzingOptions { bool UseIndirCalls = true; bool UseMemcmp = true; bool UseMemmem = true; + bool UseCmp = false; bool UseValueProfile = false; bool Shrink = false; int ReloadIntervalSec = 1; |