From 6e8abe23246fd1bbef6c8cd77a2c0ec260a47e32 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Mon, 10 Dec 2018 21:02:46 +1100 Subject: [PATCH] run-tests: don't mix msan with ubsan. ubsan seems to be causing false positives for msan. We already try ubsan together with asan. --- devel/run-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/run-tests b/devel/run-tests index 3211308..12042ed 100755 --- a/devel/run-tests +++ b/devel/run-tests @@ -128,8 +128,8 @@ if [[ ! -e "$CLANG" ]]; then echo "***WARNING*** \$CLANG ($CLANG) doesn't exist." echo "Skipping memory sanitizer. Try setting the env var." else - echo "===> building a.out for msan + ubsan" - $CLANG -g -O2 -fsanitize=memory -fsanitize=undefined -DDEBUG -DAPBUF_INIT=1 \ + echo "===> building a.out for msan" + $CLANG -g -O2 -fsanitize=memory -DDEBUG -DAPBUF_INIT=1 \ ../darkhttpd.c || exit 1 (runtests) || { echo "FAILED! stderr was:"