Skip to content

Commit ea790e6

Browse files
authored
Merge branch 'master' into master
2 parents 3dd8046 + 6c34576 commit ea790e6

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

projects/gpac/build.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ for f in $fuzzers; do
3535
zip -j $OUT/${fuzzerName}_seed_corpus.zip $SRC/gpac/testsuite/oss-fuzzers/${fuzzerName}_corpus/*
3636
fi
3737

38-
done
38+
if [ -f "$SRC/gpac/testsuite/oss-fuzzers/${fuzzerName}.dict" ]; then
39+
cp $SRC/gpac/testsuite/oss-fuzzers/${fuzzerName}.dict $OUT/
40+
fi
41+
if [ -f "$SRC/gpac/testsuite/oss-fuzzers/${fuzzerName}.options" ]; then
42+
cp $SRC/gpac/testsuite/oss-fuzzers/${fuzzerName}.options $OUT/
43+
fi
44+
done

projects/harfbuzz/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
FROM gcr.io/oss-fuzz-base/base-builder
1818
RUN apt-get update && apt-get install -y python3-pip ragel pkg-config zlib1g-dev:i386 && \
19+
pip3 install --upgrade pip && \
1920
pip3 install meson==1.2.0 ninja
2021
RUN git clone --depth 1 https://github.com/harfbuzz/harfbuzz.git
2122
WORKDIR harfbuzz

projects/harfbuzz/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ninja -v -j$(nproc) -C $build test/fuzzing/hb-{shape,raster,vector,gpu,subset,re
4444
mv $build/test/fuzzing/hb-{shape,raster,vector,gpu,subset,repacker}-fuzzer $OUT/
4545

4646
# Archive and copy to $OUT seed corpus if the build succeeded.
47-
mkdir all-fonts
47+
mkdir -p all-fonts
4848
for d in \
4949
test/shape/data/in-house/fonts \
5050
test/shape/data/aots/fonts \

projects/powerdns/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ if [ -f dnsdistdist/fuzz_dnsdistcache.cc ]; then
8383
${build_dir}
8484
meson compile -C ${build_dir} fuzz-targets
8585
# copy the fuzzing target binaries
86-
cp ${build_dir}/fuzz-target-* "${OUT}/"
86+
find ${build_dir} -type f -executable -name 'fuzz-target-*' -exec cp {} ${OUT}/ \;
8787
fi
8888

8989
# back to the pdns/ directory

projects/python3-libraries/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ zip -j $OUT/fuzzer-csv_seed_corpus.zip corp-csv/*
9090
cp $SRC/library-fuzzers/fuzzer-decode $OUT/
9191
cp $SRC/library-fuzzers/decode.py $OUT/
9292
zip -j $OUT/fuzzer-decode_seed_corpus.zip corp-decode/*
93-
cp $SRC/library-fuzzers/fuzzer-decode.dict $OUT/
9493

9594
cp $SRC/library-fuzzers/fuzzer-ast $OUT/
9695
cp $SRC/library-fuzzers/ast.py $OUT/

projects/vlc/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ cd ../../
5454
# Resume instrumentation
5555
export CFLAGS="${CFLAGS_SAVE}"
5656
export CXXFLAGS="${CXXFLAGS_SAVE}"
57+
# Disable asserts under ASAN to let the fuzzer find deeper bugs past debug checks
58+
if [ "$SANITIZER" = "address" ]; then
59+
export CFLAGS="$CFLAGS -DNDEBUG"
60+
export CXXFLAGS="$CXXFLAGS -DNDEBUG"
61+
fi
5762
unset AFL_NOOPT
5863

5964
# Use OSS-Fuzz environment rather than hardcoded setup.

0 commit comments

Comments
 (0)