From: Jonathan Metzman Date: Fri, 8 Feb 2019 19:35:04 +0000 (+0000) Subject: Document libFuzzer on Windows. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a54a8111c1c644b2e6fe18fd85ea804ec58515cd;p=llvm Document libFuzzer on Windows. Summary: Document that libFuzzer supports Windows, how to get it, and its limitations. Reviewers: kcc, morehouse, rnk, metzman Reviewed By: kcc, rnk, metzman Subscribers: hans, rnk Differential Revision: https://reviews.llvm.org/D57597 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353551 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LibFuzzer.rst b/docs/LibFuzzer.rst index b322726d8c9..eb68f12fdbe 100644 --- a/docs/LibFuzzer.rst +++ b/docs/LibFuzzer.rst @@ -646,10 +646,20 @@ coverage set of the process (since the fuzzer is in-process). In other words, by using more external dependencies we will slow down the fuzzer while the main reason for it to exist is extreme speed. -Q. What about Windows then? The fuzzer contains code that does not build on Windows. +Q. Does libFuzzer Support Windows? ------------------------------------------------------------------------------------ -Volunteers are welcome. +Yes, libFuzzer now supports Windows. Initial support was added in r341082. +Any build of Clang 9 supports it. You can download a build of Clang for Windows +that has libFuzzer from +`LLVM Snapshot Builds `_. + +Using libFuzzer on Windows without ASAN is unsupported. Building fuzzers with the +`/MD` (dynamic runtime library) compile option is unsupported. Support for these +may be added in the future. Linking fuzzers with the `/INCREMENTAL` link option +(or the `/DEBUG` option which implies it) is also unsupported. + +Send any questions or comments to the mailing list: libfuzzer(#)googlegroups.com Q. When libFuzzer is not a good solution for a problem? ---------------------------------------------------------