[PATCH] D60980: [libFuzzer] Replace -seed_corpus to better support fork mode on Win
Jonathan Metzman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 10:17:39 PDT 2019
metzman marked an inline comment as done.
metzman added inline comments.
================
Comment at: compiler-rt/lib/fuzzer/FuzzerFlags.def:23
"size up to max_len.")
-FUZZER_FLAG_STRING(seed_inputs, "A comma-separated list of input files "
- "to use as an additional seed corpus")
+FUZZER_FLAG_STRING(seed_inputs_file, "A file containing a comma-separated list "
+ "of input files to use as an additional seed corpus.")
----------------
kcc wrote:
> I found this flag to be useful by itself, outside the fork mode, so instead of replacing it with a new flag,
> I'd suggest enhancing it's behavior:
> * --seed_inputs=aaa,bbb keeps working as is
> * --seed_inputs=@file_path reads the list from the file
So that "@" will be necessary to distinguish between a case where we want to use one seed and a case where we want to use the file as the seed list?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60980/new/
https://reviews.llvm.org/D60980
More information about the llvm-commits
mailing list