From 41d19c410676def2223b59a19da9f6f3cf49a3f2 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 13 Mar 2025 17:45:54 +0800 Subject: build: afl compiler with asan for debug --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4fff055..2581730 100644 --- a/Makefile +++ b/Makefile @@ -57,5 +57,8 @@ clang-tidy: debug: CXXFLAGS = $(DEBUG_CXXFLAGS) debug: LDFLAGS = $(DEBUG_LDFLAGS) +debug: CC = afl-g++ +debug: CXX = afl-g++ +debug: export AFL_USE_ASAN = 1 debug: $(BIN) @echo "Debug build complete" -- cgit v1.2.3