From 9bb8e5cd549eca189ce183f40f771c2a614ea8f6 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Sat, 21 Feb 2026 16:38:48 +0100 Subject: Add make sanitize target for AddressSanitizer leak checks Add EXTRA variable to both Makefiles for passing extra compiler flags. Update _s_crashes() to detect ASan-intercepted crashes (non-zero exit) and suppress ASan noise from intentional NULL dereference tests. --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 61b7d44..3fc0322 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,5 +1,5 @@ CC = cc -CFLAGS = -I ../inc -I inc +CFLAGS = -I ../inc -I inc $(EXTRA) SRCDIR = src BINDIR = bin -- cgit v1.2.3