bin/oss-fuzz-build.sh | 2 +- bin/sanitize-blacklist.txt | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)
New commits: commit 5efc05bf398ace1170b3e6e2276d79342f1f607a Author: Caolán McNamara <caol...@redhat.com> Date: Sat Nov 25 15:55:18 2017 +0000 ofz#4424 black list the div by zero calc cases Change-Id: I30d06e762901027a50586fcd17398d74ab349373 Reviewed-on: https://gerrit.libreoffice.org/45272 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh index 812d632316bd..1dd26028e203 100755 --- a/bin/oss-fuzz-build.sh +++ b/bin/oss-fuzz-build.sh @@ -7,7 +7,7 @@ fi #shuffle CXXFLAGS -stdlib=libc++ arg into CXX as well because we use #the CXX as the linker and need to pass -stdlib=libc++ to build -export CXX="$CXX -stdlib=libc++" +export CXX="$CXX -stdlib=libc++ -fsanitize-blacklist=$SRC/libreoffice/bin/sanitize-blacklist.txt" #similarly force the -fsanitize etc args in as well as pthread to get #things to link successfully during the build export LDFLAGS="$CFLAGS -lpthread" diff --git a/bin/sanitize-blacklist.txt b/bin/sanitize-blacklist.txt new file mode 100644 index 000000000000..7c97ff4abd51 --- /dev/null +++ b/bin/sanitize-blacklist.txt @@ -0,0 +1,5 @@ +[float-divide-by-zero] +src:*/sc/source/core/tool/interpr1.cxx +src:*/sc/source/core/tool/interpr2.cxx +src:*/scaddins/source/analysis/analysis.cxx +src:*/scaddins/source/analysis/financial.cxx
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits