mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Disable msan because it's not working.
It looks like parts of dlent are not being unpoisoned.
This commit is contained in:
parent
a981031e6f
commit
1e4cddb6b6
@ -158,22 +158,23 @@ $CC -O2 -Wall -DNO_IPV6 ../darkhttpd.c || exit 1
|
|||||||
# -fsanitize=address produces stderr and crashes.
|
# -fsanitize=address produces stderr and crashes.
|
||||||
# -fsanitize=memory produces stderr and crashes.
|
# -fsanitize=memory produces stderr and crashes.
|
||||||
|
|
||||||
# msan first.
|
# msan disabled due to issues with dlent.
|
||||||
if ! $CLANG -v 2>/dev/null; then
|
## # msan first.
|
||||||
echo "***WARNING*** Can't find clang."
|
## if ! $CLANG -v 2>/dev/null; then
|
||||||
echo "Skipping memory sanitizer. Try setting the \$CLANG env var."
|
## echo "***WARNING*** Can't find clang."
|
||||||
else
|
## echo "Skipping memory sanitizer. Try setting the \$CLANG env var."
|
||||||
echo "===> building a.out for msan"
|
## else
|
||||||
$CLANG -g -O2 -fsanitize=memory -DDEBUG -DAPBUF_INIT=1 \
|
## echo "===> building a.out for msan"
|
||||||
../darkhttpd.c || exit 1
|
## $CLANG -g -O2 -fsanitize=memory -DDEBUG -DAPBUF_INIT=1 \
|
||||||
(runtests) || {
|
## ../darkhttpd.c || exit 1
|
||||||
echo "FAILED! stderr was:"
|
## (runtests) || {
|
||||||
echo "---"
|
## echo "FAILED! stderr was:"
|
||||||
cat test.out.stderr
|
## echo "---"
|
||||||
echo "---"
|
## cat test.out.stderr
|
||||||
exit 1
|
## echo "---"
|
||||||
}
|
## exit 1
|
||||||
fi
|
## }
|
||||||
|
## fi
|
||||||
|
|
||||||
# asan and coverage next.
|
# asan and coverage next.
|
||||||
echo "===> building a.out and darkhttpd.gcno for coverage + asan + ubsan"
|
echo "===> building a.out and darkhttpd.gcno for coverage + asan + ubsan"
|
||||||
|
Loading…
Reference in New Issue
Block a user