From 09f2fc65d5bf65b021d5b5a14a842c57b2715522 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Fri, 10 Dec 2021 21:18:04 +0000 Subject: [PATCH] libsndfile: ensure no logging to reduce CIFuzz time (#7004) --- projects/libsndfile/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/libsndfile/build.sh b/projects/libsndfile/build.sh index 77d3f65da..fc0a8ebcc 100755 --- a/projects/libsndfile/build.sh +++ b/projects/libsndfile/build.sh @@ -17,3 +17,9 @@ # Run the OSS-Fuzz script in the project. ./ossfuzz/ossfuzz.sh + +# To make CIFuzz fast, see here for details: https://github.com/libsndfile/libsndfile/pull/796 +for fuzzer in sndfile_alt_fuzzer sndfile_fuzzer; do + echo "[libfuzzer]" > ${OUT}/${fuzzer}.options + echo "close_fd_mask = 3" >> ${OUT}/${fuzzer}.options +done