curl/tests/fuzz/Makefile.inc
Max Dymond efeb4a3176
ossfuzz: moving towards the ideal integration
- Start with the basic code from the ossfuzz project.
- Rewrite fuzz corpora to be binary files full of Type-Length-Value
  data, and write a glue layer in the fuzzing function to convert
  corpora into CURL options.
- Have supporting functions to generate corpora from existing tests
- Integrate with Makefile.am
2017-09-01 11:22:51 +02:00

15 lines
No EOL
361 B
Makefile

FUZZPROGS = curl_fuzzer
FUZZLIBS = libstandaloneengine.a
curl_fuzzer_SOURCES = curl_fuzzer.c
curl_fuzzer_CFLAGS = $(AM_CFLAGS)
libstandaloneengine_a_SOURCES = standalone_fuzz_target_runner.c
libstandaloneengine_a_CFLAGS = $(AM_CFLAGS)
# Some more targets.
zip:
zip -q -r curl_fuzzer_seed_corpus.zip curl_fuzz_data
check: all
./curl_fuzzer curl_fuzz_data/*