1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/fuzzing/Makefile.fuzzing_common

23 lines
552 B
Makefile
Raw Normal View History

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