mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
Makefile: fix the afl invocation
DEFS must be set in the environment or else will override even DEFS+=... statements in the Makefile.
This commit is contained in:
parent
5d60bbe102
commit
ac1d4125de
9
Makefile
9
Makefile
@ -107,13 +107,8 @@ servers_charset.h: servers_charset_list make_servers_charset.pl
|
||||
|
||||
##############################################################################
|
||||
afl:
|
||||
$(MAKE) whois \
|
||||
CC=afl-gcc AFL_HARDEN=1 \
|
||||
HAVE_ICONV=1 DEFS=-DAFL_MODE=1
|
||||
|
||||
afl2:
|
||||
$(MAKE) whois \
|
||||
HAVE_ICONV=1 DEFS=-DAFL_MODE=1
|
||||
-rm -f Makefile.depend
|
||||
DEFS=-DAFL_MODE=1 AFL_HARDEN=1 $(MAKE) whois CC=afl-gcc HAVE_ICONV=1
|
||||
|
||||
afl-run:
|
||||
nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user