[PATCH] D49578: [libFuzzer] Handle unstable edges by poisoning unstable edges

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 27 14:13:10 PDT 2018


Dor1s added inline comments.


================
Comment at: lib/fuzzer/FuzzerLoop.cpp:496
 
-  if (Options.HandleUnstable || Options.PrintUnstableStats) {
+  if ((int)Options.HandleUnstable || Options.PrintUnstableStats) {
     TPC.CollectFeatures([&](size_t Feature) {
----------------
morehouse wrote:
> These casts are quite awkward.   Maybe we should just keep `Options.HandleUnstable` as an int.
I sort of insisted on not using an int in there, but final decision would yours :)


https://reviews.llvm.org/D49578





More information about the llvm-commits mailing list