From f8d0ee3c89b8914e75322e1117fd4b9b1f3668d5 Mon Sep 17 00:00:00 2001 From: Hajime Fujita Date: Wed, 30 Jun 2021 04:18:57 -0500 Subject: [PATCH] [h2o] Add options for http3 fuzzer (#5983) Now that h2o merged a new fuzzer for http3 (https://github.com/h2o/h2o/pull/2696) this commit adds options for running http3 fuzzer. --- projects/h2o/build.sh | 1 + projects/h2o/h2o-fuzzer-http3.options | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 projects/h2o/h2o-fuzzer-http3.options diff --git a/projects/h2o/build.sh b/projects/h2o/build.sh index 96c10de64..22b655d02 100755 --- a/projects/h2o/build.sh +++ b/projects/h2o/build.sh @@ -22,6 +22,7 @@ cp ./h2o-fuzzer-* $OUT/ 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-http3_seed_corpus.zip $SRC/h2o/fuzz/http3-corpus zip -jr $OUT/h2o-fuzzer-url_seed_corpus.zip $SRC/h2o/fuzz/url-corpus cp $SRC/*.options $SRC/h2o/fuzz/*.dict $OUT/ diff --git a/projects/h2o/h2o-fuzzer-http3.options b/projects/h2o/h2o-fuzzer-http3.options new file mode 100644 index 000000000..97ff13ba7 --- /dev/null +++ b/projects/h2o/h2o-fuzzer-http3.options @@ -0,0 +1,4 @@ +[libfuzzer] +close_fd_mask = 3 +max_len = 16384 +dict = http.dict