From 8849d801b9d3767390e3e1ed6b562db738ac1bcb Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Fri, 27 Feb 2026 11:04:07 +0100 Subject: Add show_alloc_mem and test_show, rename test to test_preload Implement show_alloc_mem() to print all zones and allocations by ascending address. Add test_show binary that links directly against libft_malloc.so to exercise it. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2935da6..79d9f2d 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ LIBFT = $(LIBFT_DIR)/lib/libft.a NAME = $(LIBDIR)/libft_malloc_$(HOSTTYPE).so LINK = $(LIBDIR)/libft_malloc.so -SRCS = malloc.c free.c realloc.c zone.c +SRCS = malloc.c free.c realloc.c zone.c show_alloc_mem.c OBJS = $(SRCS:%.c=$(OBJDIR)/%.o) -- cgit v1.2.3