[PATCH] D27943: [libFuzzer] Diff 32 - [FuzzerSupport] Move platform flags to Support directory.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 13:58:46 PST 2016


mpividori created this revision.
mpividori added reviewers: kcc, zturner.
mpividori added a subscriber: llvm-commits.
mpividori set the repository for this revision to rL LLVM.

This diff and the following diffs with the tag [FuzzerSupport] are related to a proposal to move all the independent functionalities from `FuzzerIO` and `FuzzerUtils` into a separate static library: `FuzzerSupport`.
The main advantage of these changes is that we can reuse that library for both: `LLVMFuzzer` and `LLVMAflDriver`.
Also, it simplifies the code, since all different implementations for different platforms are included in the `FuzzerSupport` library, separated from libFuzzer main implementation.


Repository:
  rL LLVM

https://reviews.llvm.org/D27943

Files:
  lib/Fuzzer/FuzzerDefs.h
  lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp
  lib/Fuzzer/FuzzerExtFunctionsWeak.cpp
  lib/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp
  lib/Fuzzer/FuzzerIOPosix.cpp
  lib/Fuzzer/FuzzerIOWindows.cpp
  lib/Fuzzer/FuzzerUtilDarwin.cpp
  lib/Fuzzer/FuzzerUtilLinux.cpp
  lib/Fuzzer/FuzzerUtilPosix.cpp
  lib/Fuzzer/FuzzerUtilWindows.cpp
  lib/Fuzzer/Support/Platform.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27943.82002.patch
Type: text/x-patch
Size: 6719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161219/d7e7bb02/attachment.bin>


More information about the llvm-commits mailing list