blob: 5c68ce588fe7c12ae5723fb84acdd927cce3a4dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash -eu
autoreconf -i
./configure
make -j$(nproc)
$CXX $CXXFLAGS -std=c++17 -Ilib/includes \
fuzz/fuzz_http3serverreq.cc -o $OUT/fuzz_http3serverreq \
$LIB_FUZZING_ENGINE lib/.libs/libnghttp3.a
$CXX $CXXFLAGS -std=c++17 -Ilib/includes \
fuzz/fuzz_qpackdecoder.cc -o $OUT/fuzz_qpackdecoder \
$LIB_FUZZING_ENGINE lib/.libs/libnghttp3.a
zip -j $OUT/fuzz_http3serverreq_seed_corpus.zip fuzz/corpus/fuzz_http3serverreq/*
zip -j $OUT/fuzz_qpackdecoder_seed_corpus.zip fuzz/corpus/fuzz_qpackdecoder/*
|