From 450dbb986b10606a4052a934fb6ad9006eba6a4b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 4 Aug 2020 16:18:24 +0200 Subject: Freed leak --- libft/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libft') diff --git a/libft/Makefile b/libft/Makefile index 7b1c22c..81cc2fd 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -162,6 +162,14 @@ asan: CFLAGS += -glldb asan: CFLAGS += -fsanitize=address asan: all #------------------------------------------------------------------------------# +msan: CFLAGS += -glldb +msan: CFLAGS += -fsanitize=memory +msan: CFLAGS += -fsanitize-memory-track-origins +msan: CFLAGS += -fno-common +msan: CFLAGS += -fno-omit-frame-pointer +msan: LFTRULE = msan +msan: all +#------------------------------------------------------------------------------# clean: ${RM} ${OBJS_DIR} #------------------------------------------------------------------------------# -- cgit v1.2.3