diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-06-27 23:03:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 23:03:53 +0200 |
commit | 153116f7fd955bbcfee5fe80996a4619c7a343c3 (patch) | |
tree | 8bbe02cdfdd4720cce9c69f2f552775338f66038 /README.md | |
parent | 00291fd1811eba348f649f74f4c727625f0be945 (diff) | |
parent | a2f1f76dc38a34d0e3d97f75d1fee527931b6e8a (diff) |
Merge pull request #209 from philipturnbull/libFuzzer
Add libFuzzer harness for oss-fuzz
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -122,6 +122,13 @@ To do a more systematic fuzz test with [american fuzzy lop]: AFL_PATH=/path/to/afl_directory make afl +Fuzzing with [libFuzzer] is also supported but, because libFuzzer is still +under active development, may not work with your system-installed version of +clang. Assuming LLVM has been built in `$HOME/src/llvm/build` the fuzzer can be +run with: + + CC="$HOME/src/llvm/build/bin/clang" LIB_FUZZER_PATH="$HOME/src/llvm/lib/Fuzzer/libFuzzer.a" make libFuzzer + To make a release tarball and zip archive: make archive @@ -188,3 +195,4 @@ most of the C library's API and its test harness. [Build Status]: https://img.shields.io/travis/jgm/cmark/master.svg?style=flat [Windows Build Status]: https://ci.appveyor.com/api/projects/status/32r7s2skrgm9ubva?svg=true [american fuzzy lop]: http://lcamtuf.coredump.cx/afl/ +[libFuzzer]: http://llvm.org/docs/LibFuzzer.html |