[PATCH] D20943: [LibFuzzer] [WIP] Declare and use sanitizer functions in ``fuzzer::ExternalFunctions``

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 18:42:59 PDT 2016


delcypher created this revision.
delcypher added reviewers: kcc, aizatsky.
delcypher added subscribers: kcc, aizatsky, kubabrecka, zaks.anna, dcoughlin, llvm-commits.

[LibFuzzer] Declare and use sanitizer functions in ``fuzzer::ExternalFunctions``

This fixes a lot of the linking problems on OSX. Unfortunately it
doesn't fix all of them (some tests have calls to
``_sanitizer_cov_trace_pc_indir`` which we don't define).

This is very much WIP as there are bunch of things that needing doing properly.

http://reviews.llvm.org/D20943

Files:
  lib/Fuzzer/FuzzerExtFunctions.def
  lib/Fuzzer/FuzzerIO.cpp
  lib/Fuzzer/FuzzerLoop.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20943.59484.patch
Type: text/x-patch
Size: 11298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/ccecc152/attachment.bin>


More information about the llvm-commits mailing list