From 979d7fd41775a31d7f0af61a9449d9be3a6712e9 Mon Sep 17 00:00:00 2001 From: Frank Yung-Fong Tang Date: Thu, 25 Jan 2024 02:57:58 -0800 Subject: [PATCH] Turn off ubsan enum check for ICU project (#11539) Our fuzzer try to use out of bound enum to make sure the API will not crash so we like to turn that enum check off to avoid noise. --- projects/icu/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/icu/build.sh b/projects/icu/build.sh index 58de13380..a34126c64 100755 --- a/projects/icu/build.sh +++ b/projects/icu/build.sh @@ -30,7 +30,7 @@ CFLAGS=$CFLAGS CXXFLAGS=$CXXFLAGS CC=$CC CXX=$CXX \ --with-library-bits=64 --with-data-packaging=static --enable-static --disable-shared export ASAN_OPTIONS="detect_leaks=0" -export UBSAN_OPTIONS="detect_leaks=0" +export UBSAN_OPTIONS="detect_leaks=0,enum=0" make -j$(nproc)