File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,17 @@ matrix:
6161 packages :
6262 - gcc-multilib
6363 - libgmp-dev:i386
64+ # clang with memory sanitizer
65+ - compiler : clang
66+ # --disable-openssl-tests because openssl uses uninitialized memory. ASM
67+ # and BIGNUM are disabled because clang memory sanitizer does not work
68+ # with inline assembly (https://clang.llvm.org/docs/MemorySanitizer.html).
69+ # The memory sanitizer is instructed to exit with a different exit code
70+ # using MSAN_OPTIONS. This is because the default exit code is 77 - the
71+ # same exit code that autotools make check interprets as a test that is
72+ # supposed to be skipped.
73+ env : EXTRAFLAGS="--disable-openssl-tests CFLAGS=-fsanitize=memory" ASM=no BIGNUM=no EXPERIMENTAL=yes ENDOMORPHISM=yes RECOVERY=yes ECDH=yes MSAN_OPTIONS=exitcode=42
74+
6475before_install : mkdir -p `dirname $GUAVA_JAR`
6576install : if [ ! -f $GUAVA_JAR ]; then wget $GUAVA_URL -O $GUAVA_JAR; fi
6677before_script : ./autogen.sh
You can’t perform that action at this time.
0 commit comments