[PATCH] D48054: [libFuzzer] Mutation tracking and logging implemented

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 18:04:47 PDT 2018


kcc added a comment.

a couple of nits, then good to go.



================
Comment at: lib/fuzzer/FuzzerMutate.cpp:549
+  Printf("\nstat::mutation_usefulness:      ");
+  for (unsigned int i = 0; i < Mutators.size(); i++) {
+    double UsefulPercentage =
----------------
the loop bound is a size_t, so please use size_t 


================
Comment at: lib/fuzzer/FuzzerMutate.h:91
+
+  void CountCurrentMutatorSequence();
 
----------------
Maybe try to find a better name.
(Nitpicking, feel free to ignore)


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48054





More information about the llvm-commits mailing list