mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
[lib/Fuzzer] when -sync_command=<CMD> is given, periodically execute 'CMD CORPUS' to synchronize with other processes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -230,6 +230,9 @@ int FuzzerDriver(int argc, char **argv, UserCallback Callback) {
|
||||
Options.MaxNumberOfRuns = Flags.runs;
|
||||
if (!inputs.empty())
|
||||
Options.OutputCorpus = inputs[0];
|
||||
if (Flags.sync_command)
|
||||
Options.SyncCommand = Flags.sync_command;
|
||||
Options.SyncTimeout = Flags.sync_timeout;
|
||||
Fuzzer F(Callback, Options);
|
||||
|
||||
unsigned seed = Flags.seed;
|
||||
|
Reference in New Issue
Block a user