[PATCH] D20741: [LibFuzzer] Reimplement how the optional user functions are called.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 18:04:45 PDT 2016
delcypher updated the summary for this revision.
delcypher updated this revision to Diff 59323.
delcypher added a comment.
- Remove `static int FuzzerDriver(const std::vector<std::string> &Args, UserCallback Callback)`.
- Initialize a new `ExternalFunctions` inside the `Fuzzer` class.
- Rename `INIT_FUNC` macro to `EXT_FUNC` to better reflect how its being used.
- Use `INIT_FUNC` macro to add function pointer declaration to the `ExternalFunctions` macro to reduce redundancy.
http://reviews.llvm.org/D20741
Files:
lib/Fuzzer/CMakeLists.txt
lib/Fuzzer/FuzzerDriver.cpp
lib/Fuzzer/FuzzerExtFunctions.def
lib/Fuzzer/FuzzerExtFunctions.h
lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp
lib/Fuzzer/FuzzerExtFunctionsWeak.cpp
lib/Fuzzer/FuzzerInternal.h
lib/Fuzzer/FuzzerLoop.cpp
lib/Fuzzer/FuzzerMain.cpp
lib/Fuzzer/test/FuzzerUnittest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20741.59323.patch
Type: text/x-patch
Size: 11279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160602/b5c3ff02/attachment.bin>
More information about the llvm-commits
mailing list