File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1616
1717FROM gcr.io/oss-fuzz-base/base-builder
1818RUN apt-get update && apt-get install -y cmake libtiff-dev zip
19- RUN git clone --depth 1 https://github.com/aous72/OpenJPH.git
2019COPY build.sh .
Original file line number Diff line number Diff line change 1616# ###############################################################################
1717
1818# Build the fuzz targets
19+ git clone --branch issue/fix-oss-fuzz-build https://github.com/sandflow/OpenJPH.git
1920mkdir $SRC /build/
2021cd $SRC /build/
21- cmake $SRC /OpenJPH -DBUILD_SHARED_LIBS=OFF -DOJPH_BUILD_FUZZER=ON
22- make
22+ cmake $SRC /OpenJPH -DBUILD_SHARED_LIBS=OFF -DOJPH_BUILD_FUZZER=ON -DCMAKE_CXX_FLAGS= " $CXXFLAGS " -DCMAKE_C_FLAGS= " $CFLAGS "
23+ make -j $( nproc )
2324cp fuzzing/ojph_expand_fuzz_target $OUT
2425
2526# Initialize the seed corpus
Original file line number Diff line number Diff line change @@ -5,4 +5,11 @@ auto_ccs:
55 - " pal@sandflow.com"
66 - " miksmith@gmail.com"
77 - " aous@unsw.edu.au"
8+ fuzzing_engines :
9+ - libfuzzer
10+ - afl
11+ - honggfuzz
12+ sanitizers :
13+ - address
14+ - memory
815main_repo : " https://github.com/aous72/OpenJPH"
You can’t perform that action at this time.
0 commit comments