diff options
author | Kostya Serebryany <kcc@google.com> | 2015-05-18 21:34:20 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2015-05-18 21:34:20 +0000 |
commit | 2da7b8485248c27083318302c30462ddbb5396ca (patch) | |
tree | 87e971d0edcf9040bf20121d2bf40fde54d81d11 /llvm/lib/Fuzzer/FuzzerFlags.def | |
parent | 1638f987f11fa1f8b4292b476b0ee3b92ca9b84c (diff) | |
download | bcm5719-llvm-2da7b8485248c27083318302c30462ddbb5396ca.tar.gz bcm5719-llvm-2da7b8485248c27083318302c30462ddbb5396ca.zip |
[lib/Fuzzer] when -sync_command=<CMD> is given, periodically execute 'CMD CORPUS' to synchronize with other processes
llvm-svn: 237617
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerFlags.def')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerFlags.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerFlags.def b/llvm/lib/Fuzzer/FuzzerFlags.def index 942bd59cb79..9d1b54524e9 100644 --- a/llvm/lib/Fuzzer/FuzzerFlags.def +++ b/llvm/lib/Fuzzer/FuzzerFlags.def @@ -53,3 +53,7 @@ FUZZER_FLAG_STRING(tokens, "Use the file with tokens (one token per line) to" " fuzz a token based input language.") FUZZER_FLAG_STRING(apply_tokens, "Read the given input file, substitute bytes " " with tokens and write the result to stdout.") +FUZZER_FLAG_STRING(sync_command, "Execute an external command " + "\"<sync_command> <test_corpus>\" " + "to synchronize the test corpus.") +FUZZER_FLAG_INT(sync_timeout, 600, "Minimal timeout between syncs.") |