mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Adds support to afl fuzzer in the build system
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
|
||||
if AFL_FUZZER
|
||||
export MAYBE_AFL_FUZZER = fuzzer
|
||||
endif
|
||||
|
||||
|
||||
SUBDIRS = \
|
||||
benchmark
|
||||
benchmark \
|
||||
$(MAYBE_AFL_FUZZER)
|
||||
|
||||
|
||||
# make clean
|
||||
CLEANFILES =
|
||||
@@ -11,7 +17,6 @@ MAINTAINERCLEANFILES = \
|
||||
Makefile.in
|
||||
|
||||
|
||||
|
||||
bin_PROGRAMS = unit-tests regression-tests rules-optimization
|
||||
|
||||
|
||||
@@ -39,6 +44,7 @@ unit_tests_CPPFLAGS = \
|
||||
$(CURL_CFLAGS) \
|
||||
$(MODSEC_NO_LOGS) \
|
||||
$(GEOIP_CFLAGS) \
|
||||
$(GLOBAL_CPPFLAGS) \
|
||||
$(PCRE_CFLAGS) \
|
||||
$(YAJL_CFLAGS)
|
||||
|
||||
@@ -68,6 +74,7 @@ regression_tests_CPPFLAGS = \
|
||||
$(CURL_CFLAGS) \
|
||||
$(MODSEC_NO_LOGS) \
|
||||
$(GEOIP_CFLAGS) \
|
||||
$(GLOBAL_CPPFLAGS) \
|
||||
$(PCRE_CFLAGS) \
|
||||
$(YAJL_CFLAGS)
|
||||
|
||||
@@ -95,5 +102,7 @@ rules_optimization_CPPFLAGS = \
|
||||
$(CURL_CFLAGS) \
|
||||
$(MODSEC_NO_LOGS) \
|
||||
$(GEOIP_CFLAGS) \
|
||||
$(GLOBAL_CPPFLAGS) \
|
||||
$(PCRE_CFLAGS) \
|
||||
$(YAJL_CFLAGS)
|
||||
|
||||
|
Reference in New Issue
Block a user