fuzz.sh 306 B

123456789
  1. #!/bin/bash
  2. # This script mimics an invocation from https://github.com/google/oss-fuzz
  3. cd $(dirname $0)
  4. export CXX='clang++'
  5. export CXXFLAGS='-fsanitize-coverage=trace-pc-guard -fsanitize=address'
  6. export LIB_FUZZING_ENGINE=-lFuzzer
  7. make OUT=.
  8. ./json_fuzzer my_corpus seed_corpus -max_len=1024 -timeout=10