[PATCH] D29371: [libFuzzer] Properly check if we can use dumpbin .

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 10:10:34 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL293790: [libFuzzer] Properly check if we can use dumpbin. (authored by mpividori).

Changed prior to commit:
  https://reviews.llvm.org/D29371?vs=86573&id=86664#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29371

Files:
  llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp


Index: llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
===================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
+++ llvm/trunk/lib/Fuzzer/FuzzerUtilWindows.cpp
@@ -179,7 +179,7 @@
 }
 
 std::string DisassembleCmd(const std::string &FileName) {
-  if (ExecuteCommand("dumpbin > nul") == 0)
+  if (ExecuteCommand("dumpbin /summary > nul") == 0)
     return "dumpbin /disasm " + FileName;
   if (ExecuteCommand("llvm-objdump > nul") == 0)
     return "llvm-objdump -d " + FileName;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29371.86664.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170201/eb67df53/attachment.bin>


More information about the llvm-commits mailing list