From bab8556f01b36f519f3f7bd9f616cab17a5bf862 Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Tue, 28 Aug 2018 19:07:24 +0000 Subject: Revert "[libFuzzer] Port to Windows" This reverts commit r340860 due to failing tests. llvm-svn: 340867 --- compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp') 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 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); -- cgit v1.2.3