[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

@@ -83,7 +83,7 @@ std::string DirPlusFile(const std::string &DirPath,
void PrintFileAsBase64(const std::string &Path) {
std::string Cmd = "base64 -w 0 < " + Path + "; echo";
system(Cmd.c_str());
ExecuteCommand(Cmd);
}
} // namespace fuzzer