Rework the build system to be more modular
Split most of the work off into make/base.mk and allow for easy wrappers to be created around that that can build with different instrumentation in their own build directory. Create wrappers for the following: - release build - debug build - afl++ fuzzing build - static analysis with clang - clang memory sanitizer - clang address/undefined sanitizer
This commit is contained in:
5
make/msan.mk
Normal file
5
make/msan.mk
Normal file
@ -0,0 +1,5 @@
|
||||
CFLAGS=-Wall -Wextra -Wpedantic -O0 -g3 -std=c23 -fno-omit-frame-pointer -fno-optimize-sibling-calls -D_POSIX_C_SOURCE=200809L -fsanitize=memory
|
||||
LDFLAGS=-fsanitize=memory
|
||||
BUILD_DIR=build/msan/
|
||||
|
||||
-include make/base.mk
|
Reference in New Issue
Block a user