From 610cf4cbe1552fb5c7b14ffd7248f193bd40026f Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Sat, 9 Dec 2017 02:45:23 +0000 Subject: [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 --- lib/fuzzer/FuzzerTracePC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3