1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 00:09:46 +01:00
RIOT/fuzzing/Makefile.fuzzing_common
2022-12-15 15:13:18 +01:00

23 lines
552 B
Makefile

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
USEMODULE += gnrc_ipv6
USEMODULE += fuzzing
USEMODULE += ssp
# Enable DEVELHELP by default
DEVELHELP ?= 1