aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/FuzzerUtil.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-11-12 01:02:01 +0000
committerKostya Serebryany <kcc@google.com>2015-11-12 01:02:01 +0000
commitdc3135db0593a6048f3373e061158022f9a6b283 (patch)
tree75c6e28988371babb6563771522a9d87986190af /llvm/lib/Fuzzer/FuzzerUtil.cpp
parent3f2b9c18e2384247d9592e8e618c01d16dcc9168 (diff)
downloadllvm-dc3135db0593a6048f3373e061158022f9a6b283.zip
llvm-dc3135db0593a6048f3373e061158022f9a6b283.tar.gz
llvm-dc3135db0593a6048f3373e061158022f9a6b283.tar.bz2
[libFuzzer] experimental flag -drill (another search heuristic; Mike Aizatsky's idea)
llvm-svn: 252838
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtil.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtil.cpp b/llvm/lib/Fuzzer/FuzzerUtil.cpp
index 8d3480c..20a41e0 100644
--- a/llvm/lib/Fuzzer/FuzzerUtil.cpp
+++ b/llvm/lib/Fuzzer/FuzzerUtil.cpp
@@ -69,8 +69,8 @@ int NumberOfCpuCores() {
return N;
}
-void ExecuteCommand(const std::string &Command) {
- system(Command.c_str());
+int ExecuteCommand(const std::string &Command) {
+ return system(Command.c_str());
}
bool ToASCII(Unit &U) {