2020-01-17 17:01:31 +01:00
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
|
|
|
|
# Instrumend code with AFL by default
|
|
|
|
TOOLCHAIN ?= afl
|
|
|
|
|
|
|
|
# Automatically set application to a sensible default
|
|
|
|
APPLICATION ?= fuzzing_$(notdir $(patsubst %/,%,$(CURDIR)))
|
|
|
|
|
|
|
|
# Fuzzing is only supported on native
|
|
|
|
BOARD ?= native
|
|
|
|
FEATURES_REQUIRED += arch_native
|
|
|
|
|
|
|
|
CFLAGS += -ggdb # Make ASAN output more useful error messages
|
|
|
|
CFLAGS += -D_FORTIFY_SOURCE=2 # Compiler hardening
|
|
|
|
|
|
|
|
# Various utilitiy modules
|
2022-12-15 13:17:42 +01:00
|
|
|
USEMODULE += gnrc_ipv6
|
2020-01-17 17:01:31 +01:00
|
|
|
USEMODULE += fuzzing
|
|
|
|
USEMODULE += ssp
|
|
|
|
|
|
|
|
# Enable DEVELHELP by default
|
|
|
|
DEVELHELP ?= 1
|