From 5d70098e15003470d7fc270f6fef390b0f907bc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 16 May 2020 23:53:57 +0200 Subject: [PATCH] :wrench: Add __FUZZING__ flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index baf90821..374a9b55 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ afl: gwion-fuzz gwion-fuzz: @touch src/parse/{scan*.c,check.c} src/emit/emit.c src/main.c - @+PRG=gwion-fuzz CC=afl-clang-fast make + @+PRG=gwion-fuzz CC=afl-clang-fast CFLAGS=-D__FUZZING__ make @touch src/parse/{scan*.c,check.c} src/emit/emit.c src/main.c afl clean_core: -- 2.43.0