File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed
Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2024 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+ #
15+ # ###############################################################################
16+
17+ FROM gcr.io/oss-fuzz-base/base-builder
18+
19+
20+ RUN apt-get update && apt-get install -y \
21+ autoconf \
22+ automake \
23+ libtool \
24+ make
25+
26+ RUN git clone \
27+ --depth 1 \
28+ --branch master \
29+ https://github.com/fancycode/lzma-fuzz.git \
30+ lzma-fuzz
31+
32+ WORKDIR lzma-fuzz
33+
34+ COPY build.sh $SRC/
Original file line number Diff line number Diff line change 1+ #! /bin/bash -eu
2+ # Copyright 2024 Google LLC
3+ #
4+ # Licensed under the Apache License, Version 2.0 (the "License");
5+ # you may not use this file except in compliance with the License.
6+ # You may obtain a copy of the License at
7+ #
8+ # http://www.apache.org/licenses/LICENSE-2.0
9+ #
10+ # Unless required by applicable law or agreed to in writing, software
11+ # distributed under the License is distributed on an "AS IS" BASIS,
12+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ # See the License for the specific language governing permissions and
14+ # limitations under the License.
15+ #
16+ # ###############################################################################
17+
18+ # build and install fuzzers
19+ make clean
20+ make -j$( nproc)
21+ make install DEST=$OUT
Original file line number Diff line number Diff line change 1+ homepage : " https://www.7-zip.org/sdk.html"
2+ main_repo : ' https://github.com/fancycode/lzma-fuzz.git'
3+ language : c++
4+ primary_contact :
" [email protected] " 5+ auto_ccs :
6+ 7+ sanitizers :
8+ - address
9+ - memory
10+ - undefined
11+
12+ fuzzing_engines :
13+ - afl
14+ - honggfuzz
15+ - libfuzzer
16+
You can’t perform that action at this time.
0 commit comments