1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# This will verify that the fuzzer builds but will not run it
name: Fuzzer build check
on:
push:
branches: [ 2_x_dev ]
pull_request:
branches: [ 2_x_dev ]
workflow_dispatch:
jobs:
fuzz:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install clang
run: sudo apt install clang
- name: Configure with fuzzing
run: CC=clang CXX=clang++ CXXFLAGS="-fsanitize=fuzzer-no-link,address,undefined -g -O3" CFLAGS="-fsanitize=fuzzer-no-link,address,undefined -g -O3" LDFLAGS="-fsanitize=fuzzer-no-link,address,undefined" ./configure
- name: Build
run: LIBFUZZER="-fsanitize=fuzzer" make srtp-fuzzer
|