From f9b9c8fc89dd9cd24ea99d059b2419929d59cd64 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 13 Sep 2024 12:43:59 +0000 Subject: [PATCH] Add CCFLAG -fsanitize=address --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c8f32f6..07e4a0b 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,8 @@ NATFILES := $(foreach dir,$(NATDIR),$(wildcard $(dir)/*.c)) OBJS := $(patsubst $(NATDIR)/%.c, $(BUILD)/bin/%.o, $(NATFILES)) -CCFLAGS := ${INCLUDE_HEADERS} -c -fPIC -g -LDFLAGS := -shared -fPIC -Wl,-soname,libjssl.so +CCFLAGS := ${INCLUDE_HEADERS} -c -fPIC -fsanitize=address -g +LDFLAGS := -shared -fPIC -fsanitize=address -Wl,-soname,libjssl.so SOLIB := $(BUILD)/bin/libjssl.so # Vars for compiling the test sources