From f5e1f19ab6d710251229922dcea5714c9824c670 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 8 Apr 2015 22:17:49 -0500 Subject: [PATCH] Enable ASAN for debug builds. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 623c3af..de9cf88 100644 --- a/makefile +++ b/makefile @@ -22,7 +22,7 @@ DIRS = $(sort $(dir $(OBJS))) ifdef DEBUG BNRY := $(BNRY)$(DEVEXT) - FLAGS += -g -DDEBUG_MODE + FLAGS += -g -fsanitize=address -DDEBUG_MODE MODE = debug endif