From a03ea500329b7f1a10029f394fc5da95ccd9bbdc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 17 May 2020 12:44:31 +0200 Subject: [PATCH] :wrench: Fuzzit --- .github/workflows/fuzzit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fuzzit.yml b/.github/workflows/fuzzit.yml index 8228dce9..deab6039 100644 --- a/.github/workflows/fuzzit.yml +++ b/.github/workflows/fuzzit.yml @@ -21,8 +21,8 @@ jobs: make util/libgwion_util.a ast/libgwion_ast.a libgwion.a env: CC: clang - CFLAGS: -fsanitize=fuzzer -DDUMMY_MAIN - LDFLAGS: -fsanitize=fuzzer + CFLAGS: -D__FUZZING__ -DDUMMY_MAIN -fsanitize=fuzzer + LDFLAGS: -DDUMMY_MAIN -fsanitize=fuzzer - name: Build fuzzer run: ${CC} -fsanitize=fuzzer -Iutil/include -Iast/include -Iinclude -fsanitize=fuzzer scripts/fuzzer.c libgwion.a util/libgwion_util.a ast/libgwion_ast.a -o fuzzer -- 2.43.0