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 | 610cf4cbe1552fb5c7b14ffd7248f193bd40026f (patch) | |
tree | 4e25143dcdd9dfdaba5d87016fb997762550c307 | |
parent | 637ac6bdca43d90795f459a77eab532018a76851 (diff) |
[libFuzzer] make the stack depth signal less agressive, otherwise we are sometimes exploding the corpus size. This still needs more analysis and tuning
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320237 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/fuzzer/FuzzerTracePC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuzzer/FuzzerTracePC.h b/lib/fuzzer/FuzzerTracePC.h index f3bb41e42..bc7e5ec03 100644 --- a/lib/fuzzer/FuzzerTracePC.h +++ b/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; |