summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2018-08-29 18:40:41 +0000
committerMatt Morehouse <mascasa@google.com>2018-08-29 18:40:41 +0000
commitcf311cfc20a363ba1ee1a8115ab307d6745a6b73 (patch)
treeb08c29bb56ec4cd15a376d479731e5c5ef9ec4e8 /compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
parent8d8e1235abf72375b77ff7ad1e3b56dce32d23c0 (diff)
downloadbcm5719-llvm-cf311cfc20a363ba1ee1a8115ab307d6745a6b73.tar.gz
bcm5719-llvm-cf311cfc20a363ba1ee1a8115ab307d6745a6b73.zip
Revert "[libFuzzer] Port to Windows"
This reverts r340949 due to bot breakage again. llvm-svn: 340954
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp b/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
index 257723b6050..8227e778ea0 100644
--- a/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
@@ -179,9 +179,7 @@ const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt,
}
std::string DisassembleCmd(const std::string &FileName) {
- Vector<std::string> command_vector;
- command_vector.push_back("dumpbin /summary > nul");
- if (ExecuteCommand(Command(command_vector)) == 0)
+ if (ExecuteCommand("dumpbin /summary > nul") == 0)
return "dumpbin /disasm " + FileName;
Printf("libFuzzer: couldn't find tool to disassemble (dumpbin)\n");
exit(1);
OpenPOWER on IntegriCloud