[PATCH] D66107: [libFuzzer] Improve -merge= process to account for REDUCED corpus units.

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 15:47:55 PDT 2019


morehouse added a reviewer: kcc.
morehouse added a comment.

A few high-level thoughts/questions:

- What do you plan to use the improved merge stats for?
- With this change, `-merge` seems to no longer mean we're "merging" the input directories into the output directory, since existing files in the output can be deleted.
- The change seems a bit complex.  I wonder if there's a way to use the existing "greedy selection" approach to make things simpler.  Maybe if we combine the output corpus `SizedFile` vector into the input corpus `SizedFile` vector before sorting and writing the initial control file.




Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66107/new/

https://reviews.llvm.org/D66107





More information about the llvm-commits mailing list