CC: clang
CFLAGS: -fsanitize-coverage=trace-pc-guard
- - 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
- env:
- CC: clang
+ - 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
+ env:
+ CC: clang
- - name: Setup fuzzit tool
- run: |
+ - name: Setup fuzzit tool
+ run: |
wget -q -O fuzzit https://github.com/fuzzitdev/fuzzit/releases/latest/download/fuzzit_Linux_x86_64
chmod a+x fuzzit
./fuzzit auth ${{ secrets.FUZZIT }}