mirror of https://github.com/google/oss-fuzz.git
[immer] Add Immer project (#4129)
* Delete files that clearly someone added by mistake * [immer] Add initial integration
This commit is contained in:
parent
9d61148f4d
commit
820d15ea83
Binary file not shown.
|
@ -0,0 +1,21 @@
|
|||
# Copyright 2020 Google Inc.
|
||||
#
|
||||
# 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
|
||||
RUN apt-get update && apt-get install -y cmake libgc-dev
|
||||
RUN git clone --depth 1 https://github.com/arximboldi/immer.git immer
|
||||
WORKDIR immer
|
||||
COPY build.sh $SRC/
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash -eu
|
||||
# Copyright 2020 Google Inc.
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
################################################################################
|
||||
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. \
|
||||
-DBOEHM_GC_INCLUDE_DIR=/usr/include \
|
||||
-DBOEHM_GC_LIBRARIES=/usr/lib/x86_64-linux-gnu/libgc.a
|
||||
make -j$(nproc) fuzzers
|
||||
|
||||
for fuzzer in extra/fuzzer/*; do
|
||||
if [[ -f $fuzzer && -x $fuzzer ]]; then
|
||||
cp $fuzzer $OUT
|
||||
fi
|
||||
done
|
|
@ -0,0 +1,3 @@
|
|||
homepage: "https://sinusoid.es/immer"
|
||||
language: c++
|
||||
primary_contact: "juanpe@sinusoid.al"
|
Loading…
Reference in New Issue