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

Manish Goregaokar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 11:56:28 PST 2019


Manishearth added a comment.

We're hoping to use this in cargo-fuzz: https://github.com/rust-fuzz/libfuzzer-sys/pull/48

cargo-fuzz supports smoothly using non-bytestrings as inputs to fuzz targets, so you can ask for a `String` and the underlying library will construct one from the bytestring for you. However, this does mean that the actual underlying byte string may be harder to read, which can be annoying when debugging failures. We'd like to be able to hook into this and automatically format the output.


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