Skip to content

Commit 8fe1ec1

Browse files
authored
quiche-cloudfare: initial integration (#14150)
After merge of cloudflare/quiche#2089 cc @ghedo
1 parent 5f56013 commit 8fe1ec1

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
################################################################################
16+
FROM gcr.io/oss-fuzz-base/base-builder-rust
17+
18+
RUN git clone --recursive --depth 1 https://github.com/cloudflare/quiche quiche
19+
COPY build.sh $SRC/
20+
ENV RUSTUP_TOOLCHAIN nightly-2025-01-10
21+
RUN rustup update
22+
WORKDIR $SRC/quiche
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash -eu
2+
# Copyright 2025 Google LLC
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
################################################################################
16+
17+
cargo fuzz build
18+
cargo fuzz list | while read i; do
19+
cp fuzz/target/x86_64-unknown-linux-gnu/release/$i $OUT/
20+
zip -rj $OUT/${i}_seed_corpus.zip fuzz/corpus/${i}/
21+
done
22+
23+
mkdir $OUT/fuzz
24+
cp fuzz/cert* $OUT/fuzz
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
homepage: "https://docs.quic.tech/quiche/"
2+
primary_contact: "[email protected]"
3+
main_repo: "https://github.com/cloudflare/quiche"
4+
sanitizers:
5+
- address
6+
fuzzing_engines:
7+
- libfuzzer
8+
language: rust
9+
auto_ccs:
10+

0 commit comments

Comments
 (0)