From 61e7c362f357e2a470c1737a0829f215ee90c874 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 2 Sep 2026 07:58:36 +0100 Subject: [PATCH 1/2] noyalib: initial integration Pure-Rust YAML 1.2 library (serde data binding + lossless CST editing). 12 libFuzzer targets built with cargo fuzz: parser, round-trip, CST editors, strict mode, YAML 1.1 mode, multi-doc, differential targets. Each ships with a shared seed corpus and a YAML dictionary. Build verified locally with the OSS-Fuzz builder image (x86_64, ASan); targets exercised natively with cargo fuzz. Assisted-by: Claude:claude-opus-5 --- projects/noyalib/Dockerfile | 20 ++++++++++++++++++++ projects/noyalib/build.sh | 30 ++++++++++++++++++++++++++++++ projects/noyalib/project.yaml | 9 +++++++++ 3 files changed, 59 insertions(+) create mode 100644 projects/noyalib/Dockerfile create mode 100644 projects/noyalib/build.sh create mode 100644 projects/noyalib/project.yaml diff --git a/projects/noyalib/Dockerfile b/projects/noyalib/Dockerfile new file mode 100644 index 000000000000..765056808af8 --- /dev/null +++ b/projects/noyalib/Dockerfile @@ -0,0 +1,20 @@ +# 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/sebastienrousseau/noyalib noyalib +WORKDIR noyalib +COPY build.sh $SRC/ diff --git a/projects/noyalib/build.sh b/projects/noyalib/build.sh new file mode 100644 index 000000000000..c1993ff937d0 --- /dev/null +++ b/projects/noyalib/build.sh @@ -0,0 +1,30 @@ +#!/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/noyalib/fuzz" + +cargo fuzz build -O --debug-assertions + +# Every [[bin]] in fuzz/Cargo.toml is a target; ship each with the +# shared seed corpus and the YAML dictionary. +FUZZ_TARGET_OUTPUT_DIR="target/x86_64-unknown-linux-gnu/release" +for f in fuzz_targets/*.rs; do + target=$(basename "$f" .rs) + cp "$FUZZ_TARGET_OUTPUT_DIR/$target" "$OUT/" + zip -q -j "$OUT/${target}_seed_corpus.zip" corpus/seed/* + cp yaml.dict "$OUT/${target}.dict" +done diff --git a/projects/noyalib/project.yaml b/projects/noyalib/project.yaml new file mode 100644 index 000000000000..d7c6efb5b602 --- /dev/null +++ b/projects/noyalib/project.yaml @@ -0,0 +1,9 @@ +homepage: "https://github.com/sebastienrousseau/noyalib" +main_repo: "https://github.com/sebastienrousseau/noyalib" +language: rust +primary_contact: "sebastian.rousseau@gmail.com" +fuzzing_engines: + - libfuzzer +sanitizers: + - address +vendor_ccs: [] From ca24c43eaff2c2176f02af528bde70d43599d7c9 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Wed, 2 Sep 2026 09:58:45 +0100 Subject: [PATCH 2/2] noyalib: retrigger CLA check after signing Assisted-by: Claude:claude-opus-5