1
0

proj: Implement TODOs in memory mgmt functions

This commit is contained in:
2025-02-05 11:34:28 +01:00
parent 71681ee9a7
commit 9104c555eb
2 changed files with 160 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ main: bin/main.o
$(CC) -o $@ $^ $(CFLAGS) -lc
main_intercept: bin/main.o src/intercept.c
$(CC) -o $@ $^ $(CFLAGS) -lc -Wl,--wrap=malloc,--wrap=free,--wrap=calloc,--wrap=realloc,--wrap=getopt
$(CC) -o $@ $^ $(CFLAGS) -lc -Wl,--wrap=malloc,--wrap=free,--wrap=calloc,--wrap=realloc,--wrap=reallocarray,--wrap=getopt
clean:
rm -rf main main_wrapped bin/* *.so *.ko *.o