[PATCH] D40103: [libFuzzer] Encapsulate commands in a class

Aaron Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 14:55:22 PST 2017


aarongreen created this revision.
Herald added a subscriber: mgorny.

To be more portable (especially w.r.t. platforms without system()), commands should be managed programmatically rather than via string manipulation on the command line.  This change introduces Fuzzer::Command, with methods to manage arguments and flags, set output options, and execute the command.


https://reviews.llvm.org/D40103

Files:
  lib/fuzzer/CMakeLists.txt
  lib/fuzzer/FuzzerCommand.cpp
  lib/fuzzer/FuzzerCommand.h
  lib/fuzzer/FuzzerDriver.cpp
  lib/fuzzer/FuzzerMerge.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40103.123086.patch
Type: text/x-patch
Size: 14091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171115/a98ff415/attachment-0001.bin>


More information about the llvm-commits mailing list