Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions projects/cura-engine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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
RUN apt-get update && apt-get install -y ninja-build cmake chrpath
# TODO: Change this back to the Ultimaker repo
RUN git clone --depth 1 https://github.com/silvergasp/CuraEngine CuraEngine
RUN pip3 install conan==1.56
RUN conan config install https://github.com/ultimaker/conan-config.git
RUN conan profile new default --detect --force
RUN conan profile update settings.compiler.libcxx=libc++ default
RUN cp CuraEngine/tests/fuzz/oss-fuzz-build.sh $SRC/build.sh
WORKDIR CuraEngine
3 changes: 2 additions & 1 deletion projects/cura-engine/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ language: c++
primary_contact: "[email protected]"
auto_ccs:
- "[email protected]"
- "[email protected]"
sanitizers:
- address
- undefined
main_repo: "https://github.com/Ultimaker/CuraEngine.git"

fuzzing_engines:
- afl
- honggfuzz
- libfuzzer
- centipede