mirror of
https://github.com/curl/curl.git
synced 2026-08-11 03:21:06 +03:00
- 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
15 lines
No EOL
361 B
Makefile
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/*
|