[PATCH] D70738: [libFuzzer] Add custom output function
Manish Goregaokar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 15:57:56 PST 2019
Manishearth added a comment.
In D70738#1773624 <https://reviews.llvm.org/D70738#1773624>, @Dor1s wrote:
> If you're running fuzz targets manually, then it makes sense -- you need to type one command less to print the crash input. Although it seems like `cargo fuzz` can do that for you as well, so it will be still a single command.
Kind of, `cargo fuzz` doesn't know how to format your code, only the fuzz target (written by the user) does, since `cargo-fuzz` is unaware of the types being used. Due to the way libFuzzer works -- it replaces your main function -- we can't add another code path that just loads the string from a specified file and formats it because no matter what libFuzzer will still be run.
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