[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:
Kostya Serebryany
2015-05-18 21:34:20 +00:00
parent 825a528bbe
commit 05ef67b6b9
6 changed files with 29 additions and 1 deletions

View File

@ -70,4 +70,8 @@ int NumberOfCpuCores() {
return N;
}
void ExecuteCommand(const std::string &Command) {
system(Command.c_str());
}
} // namespace fuzzer