Rework the build system to be more modular
Some checks failed
Validate the build / validate-build (push) Failing after 24s
Some checks failed
Validate the build / validate-build (push) Failing after 24s
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:
14
make/afl.mk
Normal file
14
make/afl.mk
Normal file
@ -0,0 +1,14 @@
|
||||
.PHONY: fuzz distclean
|
||||
|
||||
CC=afl-clang-fast
|
||||
LD=afl-clang-fast
|
||||
BUILD_DIR=build/afl/
|
||||
|
||||
-include make/base.mk
|
||||
|
||||
fuzz: $(BUILD_DIR)$(TARGET)
|
||||
mkdir -p reports/afl
|
||||
afl-fuzz -i tests/input -o reports/afl -m none -- ./$< -tokens @@
|
||||
|
||||
distclean: clean
|
||||
rm -rf reports/afl
|
Reference in New Issue
Block a user