Lgtm<br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 31, 2017 at 9:27 PM Marcos Pividori via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mpividori created this revision.<br class="gmail_msg">
<br class="gmail_msg">
The flag "/sumary" is necessary, otherwise it returns a non-zero value.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<a href="https://reviews.llvm.org/D29371" rel="noreferrer" class="gmail_msg" target="_blank">https://reviews.llvm.org/D29371</a><br class="gmail_msg">
<br class="gmail_msg">
Files:<br class="gmail_msg">
lib/Fuzzer/FuzzerUtilWindows.cpp<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
Index: lib/Fuzzer/FuzzerUtilWindows.cpp<br class="gmail_msg">
===================================================================<br class="gmail_msg">
--- lib/Fuzzer/FuzzerUtilWindows.cpp<br class="gmail_msg">
+++ lib/Fuzzer/FuzzerUtilWindows.cpp<br class="gmail_msg">
@@ -179,7 +179,7 @@<br class="gmail_msg">
}<br class="gmail_msg">
<br class="gmail_msg">
std::string DisassembleCmd(const std::string &FileName) {<br class="gmail_msg">
- if (ExecuteCommand("dumpbin > nul") == 0)<br class="gmail_msg">
+ if (ExecuteCommand("dumpbin /summary > nul") == 0)<br class="gmail_msg">
return "dumpbin /disasm " + FileName;<br class="gmail_msg">
if (ExecuteCommand("llvm-objdump > nul") == 0)<br class="gmail_msg">
return "llvm-objdump -d " + FileName;<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>