[compiler-rt] r320237 - [libFuzzer] make the stack depth signal less agressive, otherwise we are sometimes exploding the corpus size. This still needs more analysis and tuning
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 18:45:23 PST 2017
Author: kcc
Date: Fri Dec 8 18:45:23 2017
New Revision: 320237
URL: http://llvm.org/viewvc/llvm-project?rev=320237&view=rev
Log:
[libFuzzer] make the stack depth signal less agressive, otherwise we are sometimes exploding the corpus size. This still needs more analysis and tuning
Modified:
compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.h
Modified: compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.h?rev=320237&r1=320236&r2=320237&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.h (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.h Fri Dec 8 18:45:23 2017
@@ -275,7 +275,7 @@ void TracePC::CollectFeatures(Callback H
}
if (auto MaxStackOffset = GetMaxStackOffset())
- HandleFeature(FirstFeature + MaxStackOffset);
+ HandleFeature(FirstFeature + MaxStackOffset / 128);
}
extern TracePC TPC;
More information about the llvm-commits
mailing list