From f2548fc882ec951d48193ca488c41061cf887971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 20 Feb 2017 11:08:39 +0100 Subject: test/core: add msan make target --- core/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/Makefile b/core/Makefile index 26f7fcf..4dd4e06 100644 --- a/core/Makefile +++ b/core/Makefile @@ -42,6 +42,9 @@ asan: clean ubsan: clean $(MAKE) CFLAGS_EXTRA='-fsanitize=undefined' +msan: clean + $(MAKE) CFLAGS_EXTRA='-g -fsanitize=memory' + valgrind: clean ${ALL} @for test in ${ALL}; do \ valgrind --leak-check=full --log-file="$$test.valgrind" "./$$test"; \ @@ -58,4 +61,4 @@ clean: @rm -f *.gcov *.gcda *.gcno @rm -f *.valgrind -.PHONY: clean debug coverage tis valgrind asan ubsan +.PHONY: clean debug coverage tis valgrind asan ubsan msan -- cgit v1.2.3