diff --git a/projects/reqwest/Dockerfile b/projects/reqwest/Dockerfile new file mode 100644 index 000000000000..beab865cb434 --- /dev/null +++ b/projects/reqwest/Dockerfile @@ -0,0 +1,5 @@ +# Copyright 2026 Google LLC +FROM gcr.io/oss-fuzz-base/base-builder-rust +RUN git clone --depth 1 https://github.com/seanmonstar/reqwest.git reqwest +WORKDIR reqwest +COPY build.sh $SRC/ diff --git a/projects/reqwest/build.sh b/projects/reqwest/build.sh new file mode 100644 index 000000000000..5636ed80711a --- /dev/null +++ b/projects/reqwest/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash -eu +cd $SRC/reqwest +cargo fuzz build -O --debug-assertions +cp fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_url / diff --git a/projects/reqwest/project.yaml b/projects/reqwest/project.yaml new file mode 100644 index 000000000000..cfe929ded24e --- /dev/null +++ b/projects/reqwest/project.yaml @@ -0,0 +1,6 @@ +homepage: "https://github.com/seanmonstar/reqwest" +language: rust +primary_contact: "security@rust-lang.org" +main_repo: "https://github.com/seanmonstar/reqwest" +sanitizers: [address] +fuzzing_engines: [libfuzzer] diff --git a/projects/rocket/Dockerfile b/projects/rocket/Dockerfile new file mode 100644 index 000000000000..50f103d98a82 --- /dev/null +++ b/projects/rocket/Dockerfile @@ -0,0 +1,19 @@ +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +FROM gcr.io/oss-fuzz-base/base-builder-rust +RUN git clone --depth 1 https://github.com/rwf2/Rocket +clap-rs/clap.git rocket +WORKDIR rocket +COPY build.sh $SRC/ diff --git a/projects/rocket/build.sh b/projects/rocket/build.sh new file mode 100644 index 000000000000..a379993bb1f2 --- /dev/null +++ b/projects/rocket/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash -eu +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +cd $SRC/rocket +cargo fuzz build -O --debug-assertions +cp fuzz/target/x86_64-unknown-linux-gnu/release/fuzz_* $OUT/ diff --git a/projects/rocket/project.yaml b/projects/rocket/project.yaml new file mode 100644 index 000000000000..800ee72f37db --- /dev/null +++ b/projects/rocket/project.yaml @@ -0,0 +1,6 @@ +homepage: "https://github.com/rwf2/Rocket" +language: rust +primary_contact: "security@rust-lang.org" +main_repo: "https://github.com/rwf2/Rocket" +sanitizers: [address] +fuzzing_engines: [libfuzzer]