mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/toolchain: add support for afl
This commit is contained in:
parent
067b324645
commit
d7104e4992
@ -98,6 +98,7 @@ all-gprof: LINKFLAGS += -pg
|
||||
all-asan: CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
all-asan: CFLAGS += -DNATIVE_MEMORY
|
||||
all-asan: LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||
all-asan: export AFL_USE_ASAN=1
|
||||
|
||||
INCLUDES += $(NATIVEINCLUDES)
|
||||
|
||||
|
@ -8,4 +8,4 @@ endif
|
||||
USEMODULE += periph
|
||||
USEMODULE += periph_uart
|
||||
|
||||
TOOLCHAINS_SUPPORTED = gnu llvm
|
||||
TOOLCHAINS_SUPPORTED = gnu llvm afl
|
||||
|
6
makefiles/toolchain/afl.inc.mk
Normal file
6
makefiles/toolchain/afl.inc.mk
Normal file
@ -0,0 +1,6 @@
|
||||
include $(RIOTMAKE)/toolchain/gnu.inc.mk
|
||||
|
||||
export CC = $(PREFIX)afl-gcc
|
||||
export CXX = $(PREFIX)afl-g++
|
||||
export LINK = $(PREFIX)afl-gcc
|
||||
export LINKXX = $(PREFIX)afl-g++
|
Loading…
Reference in New Issue
Block a user