mirror of https://github.com/google/oss-fuzz.git
Initial integration of Bincode (#8045)
* add cloud-hypervisor * adding dockerfile and build.sh * fix issue * add copyright * fix year in copyright * optimise * add bincode * Update project.yaml Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
This commit is contained in:
parent
0296d0f379
commit
463073282c
|
@ -0,0 +1,19 @@
|
|||
# Copyright 2022 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 as builder
|
||||
RUN apt-get update
|
||||
RUN git clone --depth 1 https://github.com/bincode-org/bincode.git
|
||||
COPY build.sh $SRC/
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 2022 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/bincode
|
||||
cargo fuzz build -O
|
||||
cp $SRC/bincode/fuzz/target/x86_64-unknown-linux-gnu/release/compat $OUT/
|
||||
cp $SRC/bincode/fuzz/target/x86_64-unknown-linux-gnu/release/roundtrip $OUT/
|
|
@ -0,0 +1,12 @@
|
|||
homepage: "https://github.com/bincode-org/bincode"
|
||||
language: rust
|
||||
primary_contact: "nathan@mccarty.io"
|
||||
auto_ccs:
|
||||
- "zoey@dos.cafe"
|
||||
- "github@trangar.com"
|
||||
- "ty@pre-alpha.com"
|
||||
sanitizers:
|
||||
- address
|
||||
fuzzing_engines:
|
||||
- libfuzzer
|
||||
main_repo: 'https://github.com/bincode-org/bincode'
|
Loading…
Reference in New Issue