From b377a92dbbdc57459bcad364cefdb9fb2f10e3ad Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Thu, 19 Nov 2020 13:26:18 +0100 Subject: [PATCH] test/pts: enable address sanitizer --- test/pts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/test/pts/Makefile b/test/pts/Makefile index 69687705e..049ad51b3 100644 --- a/test/pts/Makefile +++ b/test/pts/Makefile @@ -94,6 +94,7 @@ include ${BTSTACK_ROOT}/src/ble/gatt-service/Makefile.inc CFLAGS += -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wunused-variable -Wunused-parameter CFLAGS += -D ENABLE_TESTING_SUPPORT CFLAGS += -D ENABLE_LE_SIGNED_WRITE +CFLAGS += -fsanitize=address -fno-omit-frame-pointer # CFLAGS += -I.. CFLAGS += -I${BTSTACK_ROOT}/src