Skip to content

Commit

Permalink
remove usage of OLD_LLVMPASS (#12561)
Browse files Browse the repository at this point in the history
Following #12365
cc @maflcko
  • Loading branch information
catenacyber authored Oct 9, 2024
1 parent 7eef546 commit aebe4a9
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 27 deletions.
3 changes: 0 additions & 3 deletions projects/bearssl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz
RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz-corpora
RUN wget https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.bz2
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/bls-signatures/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ RUN wget -q https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.lz
RUN wget -q https://nim-lang.org/download/nim-2.0.8-linux_x64.tar.xz
RUN wget -q https://nim-lang.org/download/nim-2.0.8-linux_x32.tar.xz
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/cmake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ RUN git clone --depth 1 https://gitlab.kitware.com/cmake/cmake CMake
RUN git clone --depth 1 https://github.com/strongcourage/fuzzing-corpus
WORKDIR CMake
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/firestore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@ FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make autoconf automake libtool wget golang python python-protobuf python-six
RUN git clone --depth 1 https://github.com/firebase/firebase-ios-sdk.git
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/flatbuffers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ RUN git clone https://github.com/google/flatbuffers

WORKDIR $SRC/
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/json/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ RUN apt-get update && apt-get install -y binutils make
RUN git clone --depth 1 -b develop https://github.com/nlohmann/json.git
WORKDIR json/
COPY build.sh *.options parse_afl_fuzzer.dict $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/libecc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,3 @@ RUN wget -q https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.lz
RUN test "$(sha256sum gmp-6.2.1.tar.lz)" = "2c7f4f0d370801b2849c48c9ef3f59553b5f1d3791d070cffb04599f9fc67b41 gmp-6.2.1.tar.lz"
RUN wget -q https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.bz2
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/nettle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ RUN wget https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.bz2
RUN wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.lz
RUN test "$(sha256sum gmp-6.2.1.tar.lz)" = "2c7f4f0d370801b2849c48c9ef3f59553b5f1d3791d070cffb04599f9fc67b41 gmp-6.2.1.tar.lz"
COPY build.sh $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
3 changes: 0 additions & 3 deletions projects/opencv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,5 @@ WORKDIR opencv/

COPY build.sh $SRC/
COPY *.cc *.h $SRC/
# This is to fix Fuzz Introspector build by using LLVM old pass manager
# re https://github.com/ossf/fuzz-introspector/issues/305
ENV OLD_LLVMPASS 1
# Runner have memory limit 2048Mb, set imread pixel limit 712Mpix ~ 2037Mb (BGR)
ENV OPENCV_IO_MAX_IMAGE_PIXELS=712000000

0 comments on commit aebe4a9

Please sign in to comment.