diff options
| author | Kostya Serebryany <kcc@google.com> | 2017-12-09 02:45:23 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2017-12-09 02:45:23 +0000 |
| commit | f94d87aadf47596dbf8d135338423b0f5ff0c768 (patch) | |
| tree | 82c4b238485bc3e9e3237420c23021b9487cc2b5 /compiler-rt/lib/fuzzer | |
| parent | df8147e30dd68150157e86fa764fc43d2a01d81e (diff) | |
| download | bcm5719-llvm-f94d87aadf47596dbf8d135338423b0f5ff0c768.tar.gz bcm5719-llvm-f94d87aadf47596dbf8d135338423b0f5ff0c768.zip | |
[libFuzzer] make the stack depth signal less agressive, otherwise we are sometimes exploding the corpus size. This still needs more analysis and tuning
llvm-svn: 320237
Diffstat (limited to 'compiler-rt/lib/fuzzer')
| -rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerTracePC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerTracePC.h b/compiler-rt/lib/fuzzer/FuzzerTracePC.h index f3bb41e42fd..bc7e5ec0385 100644 --- a/compiler-rt/lib/fuzzer/FuzzerTracePC.h +++ b/compiler-rt/lib/fuzzer/FuzzerTracePC.h @@ -275,7 +275,7 @@ void TracePC::CollectFeatures(Callback HandleFeature) const { } if (auto MaxStackOffset = GetMaxStackOffset()) - HandleFeature(FirstFeature + MaxStackOffset); + HandleFeature(FirstFeature + MaxStackOffset / 128); } extern TracePC TPC; |

