mirror of https://github.com/google/oss-fuzz.git
[icu] disabling leak detection while building
There seem to be leaks in icu tools: LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/genrb --usePoolBundle -k -i ./out/build/icudt58l -s /src/icu/source/data/locales -d ./out/build/icudt58l ar.txt ================================================================= [1m[31m==7719==ERROR: LeakSanitizer: detected memory leaks [1m[0m [1m[34mDirect leak of 64 byte(s) in 1 object(s) allocated from: [1m[0m #0 0x4d3368 in malloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64 #1 0x5154fb in ucbuf_open /src/icu/source/tools/toolutil/ucbuf.cpp:469:36 #2 0x50d4b3 in main /src/icu/source/tools/gendict/gendict.cpp:316:19 #3 0x7ff77f72582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
This commit is contained in:
parent
01373acf7d
commit
74eb465532
|
@ -28,6 +28,9 @@ CFLAGS=$CFLAGS CXXFLAGS=$CXXFLAGS CC=$CC CXX=$CXX \
|
|||
/bin/bash $SRC/icu/source/runConfigureICU Linux \
|
||||
--with-library-bits=64 --with-data-packaging=static --enable-static --disable-shared
|
||||
|
||||
export ASAN_OPTIONS="detect_leaks=0"
|
||||
export UBSAN_OPTIONS="detect_leaks=0"
|
||||
|
||||
make -j$(nproc)
|
||||
|
||||
FUZZERS="break_iterator_fuzzer \
|
||||
|
|
Loading…
Reference in New Issue