nghttp2: extend build to match upstream fuzzers (#8193)

New fuzzer in upstream. Updating build.
This commit is contained in:
DavidKorczynski 2022-08-09 15:05:46 +01:00 committed by GitHub
parent 66f0278fb3
commit 075d60d201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ $CXX $CXXFLAGS -std=c++11 -Ilib/includes \
fuzz/fuzz_target.cc -o $OUT/nghttp2_fuzzer \
$LIB_FUZZING_ENGINE lib/.libs/libnghttp2.a
$CXX $CXXFLAGS -std=c++11 -Ilib/includes \
fuzz/fuzz_target_fdp.cc -o $OUT/nghttp2_fuzzer_fdp \
$LIB_FUZZING_ENGINE lib/.libs/libnghttp2.a
cp $SRC/*.options $OUT
zip -j $OUT/nghttp2_fuzzer_seed_corpus.zip fuzz/corpus/*/*