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

Max Moroz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 17:29:49 PDT 2018


Dor1s added inline comments.


================
Comment at: lib/fuzzer/FuzzerTracePC.cpp:91
+      NumNewUnstableEdges++;
+    UnstableCounters[UnstableIdx].IsUnstable = true;
+    if (UnstableMode == ZeroUnstable)
----------------
Can you move this to line 89 please, and then have `switch (UnstableMode)` ? That way it would be slightly more readable and straightforward.


https://reviews.llvm.org/D49578





More information about the llvm-commits mailing list