From: Jérémie Astor Date: Sun, 17 May 2020 10:44:31 +0000 (+0200) Subject: :wrench: Fuzzit X-Git-Tag: nightly~1550 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a03ea500329b7f1a10029f394fc5da95ccd9bbdc;p=gwion.git :wrench: Fuzzit --- 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