[PATCH] D70738: [libFuzzer] Add custom output function

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 11:28:03 PST 2019


vitalybuka added a comment.

You can consider just to link needed code into small binary which will printout serialized inputs from the drive. And call that e.g. in the following way:

  my_fuzzer  |& my_printer

Then my_printer will match "Test unit written" and printout content of corresponding file.

This option existed before, but I don't see that it used a lot.
So having that workaround is quite simple I'd prefer to not extend API.


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D70738





More information about the llvm-commits mailing list