Use sanitizers

This commit is contained in:
Abdelrahman Said 2025-06-08 15:08:25 +01:00
parent 16b544bb85
commit eea4aace61

View File

@ -1,6 +1,6 @@
CC = clang CC = clang
CXX = clang++ CXX = clang++
CFLAGS = -Wall -Wextra -Werror -pedantic -g CFLAGS = -Wall -Wextra -Werror -pedantic -g -fsanitize=address,undefined
CCLOX_SRC = cclox_src/*.cc CCLOX_SRC = cclox_src/*.cc
CCLOX_OUT = cclox CCLOX_OUT = cclox