Added fuzzer

This commit is contained in:
Benoit Blanchon committed 2017-01-08 16:17:01 +01:00
1 parent 671329a3e9
commit 6b2f6a4f87
10 files changed
+238

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# This script mimics an invocation from https://github.com/google/oss-fuzz
export CXX='clang++'
export CXXFLAGS='-fsanitize-coverage=trace-pc-guard -fsanitize=address'
export LIB_FUZZING_ENGINE=-lFuzzer
make OUT=.
./json_fuzzer my_corpus seed_corpus