From 1e4cddb6b6f3c1c91357fa94028e284f6e033ebe Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Sun, 2 Oct 2022 11:34:56 +1100 Subject: [PATCH] Disable msan because it's not working. It looks like parts of dlent are not being unpoisoned. --- devel/run-tests | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/devel/run-tests b/devel/run-tests index b406203..ecca31c 100755 --- a/devel/run-tests +++ b/devel/run-tests @@ -158,22 +158,23 @@ $CC -O2 -Wall -DNO_IPV6 ../darkhttpd.c || exit 1 # -fsanitize=address produces stderr and crashes. # -fsanitize=memory produces stderr and crashes. -# msan first. -if ! $CLANG -v 2>/dev/null; then - echo "***WARNING*** Can't find clang." - echo "Skipping memory sanitizer. Try setting the \$CLANG env var." -else - echo "===> building a.out for msan" - $CLANG -g -O2 -fsanitize=memory -DDEBUG -DAPBUF_INIT=1 \ - ../darkhttpd.c || exit 1 - (runtests) || { - echo "FAILED! stderr was:" - echo "---" - cat test.out.stderr - echo "---" - exit 1 - } -fi +# msan disabled due to issues with dlent. +## # msan first. +## if ! $CLANG -v 2>/dev/null; then +## echo "***WARNING*** Can't find clang." +## echo "Skipping memory sanitizer. Try setting the \$CLANG env var." +## else +## echo "===> building a.out for msan" +## $CLANG -g -O2 -fsanitize=memory -DDEBUG -DAPBUF_INIT=1 \ +## ../darkhttpd.c || exit 1 +## (runtests) || { +## echo "FAILED! stderr was:" +## echo "---" +## cat test.out.stderr +## echo "---" +## exit 1 +## } +## fi # asan and coverage next. echo "===> building a.out and darkhttpd.gcno for coverage + asan + ubsan"