summaryrefslogtreecommitdiff
path: root/fuzz/make.mk
diff options
context:
space:
mode:
authorNathaniel Brough <[email protected]>2022-11-16 02:24:59 +0000
committerhathach <[email protected]>2022-12-08 10:13:35 +0700
commit6492f4a18d55219299832f40835d204fcdccb797 (patch)
treef061a0eb65e649856326779827dbe9bc75933de1 /fuzz/make.mk
parent9cc93e6d4161239f1a99f3e456282d38b9487650 (diff)
feat(fuzz): Adds net class fuzzer
Diffstat (limited to 'fuzz/make.mk')
-rw-r--r--fuzz/make.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/fuzz/make.mk b/fuzz/make.mk
index 0921fc8f3..299d2c843 100644
--- a/fuzz/make.mk
+++ b/fuzz/make.mk
@@ -43,6 +43,8 @@ INC += $(TOP)/$(FAMILY_PATH)
CFLAGS += \
-ggdb \
-fsanitize=fuzzer \
+ -fsanitize=address \
+ -fsanitize=undefined \
-fdata-sections \
-ffunction-sections \
-fno-strict-aliasing \
@@ -66,7 +68,8 @@ CFLAGS += \
-Wnull-dereference \
-Wuninitialized \
-Wunused \
- -Wredundant-decls
+ -Wredundant-decls \
+ -O1
CFLAGS += \
-DOPT_MCU_FUZZ=1 \