mirror of https://github.com/google/oss-fuzz.git
[gluon] initial integration (#10170)
[Gluon](https://github.com/ProtonMail/gluon) is used by [ProtonMail](https://proton.me/mail). PR for fuzzing harness: https://github.com/ProtonMail/gluon/pull/341 --------- Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
This commit is contained in:
parent
c9abc07a64
commit
85f7a5e1d7
|
@ -0,0 +1,21 @@
|
||||||
|
# Copyright 2023 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-go
|
||||||
|
RUN git clone --depth 1 https://github.com/ProtonMail/gluon.git
|
||||||
|
RUN go install github.com/AdamKorcz/go-118-fuzz-build@latest
|
||||||
|
COPY build.sh $SRC/
|
||||||
|
WORKDIR $SRC/gluon
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash -eu
|
||||||
|
# Copyright 2023 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.
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
go get github.com/AdamKorcz/go-118-fuzz-build/testing
|
||||||
|
|
||||||
|
compile_native_go_fuzzer github.com/ProtonMail/gluon/imap FuzzNewParsedMessage fuzz_new_parsed_message
|
||||||
|
compile_native_go_fuzzer github.com/ProtonMail/gluon/rfc5322 FuzzParseAddress fuzz_parse_address
|
||||||
|
compile_native_go_fuzzer github.com/ProtonMail/gluon/rfc5322 FuzzRFC5322 fuzz_rfc5322
|
||||||
|
compile_native_go_fuzzer github.com/ProtonMail/gluon/rfc822 FuzzParseDec fuzz_parse_dec
|
|
@ -0,0 +1,10 @@
|
||||||
|
homepage: "https://proton.me"
|
||||||
|
language: go
|
||||||
|
primary_contact: "security@proton.me"
|
||||||
|
auto_ccs:
|
||||||
|
- "ajsinghyadav00@gmail.com"
|
||||||
|
fuzzing_engines:
|
||||||
|
- libfuzzer
|
||||||
|
sanitizers:
|
||||||
|
- address
|
||||||
|
main_repo: "https://github.com/ProtonMail/gluon"
|
Loading…
Reference in New Issue