[llvm-dev] LibFuzzer and platforms availability

Kostya Serebryany via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 9 09:41:20 PDT 2015


On Wed, Sep 9, 2015 at 12:57 AM, AlexDenisov via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi there.
>
> I’m trying to use LibFuzzer on OSX and face some issues:
> I checked out LibFuzzer documentation[1] and managed to proceed until the
> final step of the first example.
> Now I see linker errors related to dfsan, dfsan’s documentation[2] states
> explicitly “DataFlowSanitizer is a work in progress, currently under
> development for x86_64 Linux.”.
>

Yes, libFuzzer does not build on OSX today.
Marshall (CC-ed) has managed to make it work with a couple of #ifdefs
in FuzzerTraceState.cpp.

I'll try to commit such patches later this week, but I don't have a Mac so
it will be harder for me to test.
If anyone wants it quicker -- patches are welcome.
I would also appreciate if someone can set up a build bot for libFuzzer on
Mac :)
(similar to lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fuzzer)


>
> Does it mean that LibFuzzer available only on Linux platform? Can somebody
> confirm or refute my conclusion?
>
> [1] http://llvm.org/docs/LibFuzzer.html
> [2] http://clang.llvm.org/docs/DataFlowSanitizer.html
> --
> AlexDenisov
> Software Engineer, http://lowlevelbits.org
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150909/e87fec9b/attachment.html>


More information about the llvm-dev mailing list