mirror of https://github.com/google/oss-fuzz.git
add url handler fuzz target (#601)
This commit is contained in:
parent
15bbcc13f2
commit
c4054c4d8e
|
@ -18,10 +18,11 @@
|
||||||
pushd $SRC/h2o
|
pushd $SRC/h2o
|
||||||
cmake -DBUILD_FUZZER=ON -DOSS_FUZZ=ON -DOPENSSL_USE_STATIC_LIBS=TRUE .
|
cmake -DBUILD_FUZZER=ON -DOSS_FUZZ=ON -DOPENSSL_USE_STATIC_LIBS=TRUE .
|
||||||
make
|
make
|
||||||
cp ./h2o-fuzzer-http* $OUT/
|
cp ./h2o-fuzzer-* $OUT/
|
||||||
|
|
||||||
zip -jr $OUT/h2o-fuzzer-http1_seed_corpus.zip $SRC/h2o/fuzz/http1-corpus
|
zip -jr $OUT/h2o-fuzzer-http1_seed_corpus.zip $SRC/h2o/fuzz/http1-corpus
|
||||||
zip -jr $OUT/h2o-fuzzer-http2_seed_corpus.zip $SRC/h2o/fuzz/http2-corpus
|
zip -jr $OUT/h2o-fuzzer-http2_seed_corpus.zip $SRC/h2o/fuzz/http2-corpus
|
||||||
|
zip -jr $OUT/h2o-fuzzer-url_seed_corpus.zip $SRC/h2o/fuzz/url-corpus
|
||||||
|
|
||||||
cp $SRC/*.options $SRC/h2o/fuzz/*.dict $OUT/
|
cp $SRC/*.options $SRC/h2o/fuzz/*.dict $OUT/
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[libfuzzer]
|
||||||
|
close_fd_mask = 3
|
Loading…
Reference in New Issue