ClusterFuzzLite fuzzing #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# _ _ _ _ _____ _ | |
# | | | | | | | | | __ \(_) | |
# | | ___ | |__ _ __ | |_| |__ ___ | |__) |_ _ __ _ __ ___ _ __ | |
# _ | |/ _ \| '_ \| '_ \ | __| '_ \ / _ \ | _ /| | '_ \| '_ \ / _ \ '__| | |
# | |__| | (_) | | | | | | | | |_| | | | __/ | | \ \| | |_) | |_) | __/ | | |
# \____/ \___/|_| |_|_| |_| \__|_| |_|\___| |_| \_\_| .__/| .__/ \___|_| | |
# | | | | | |
# |_| |_| | |
# | |
# Copyright (c) 2023 Claudio André <claudioandre.br at gmail.com> | |
# | |
# This program comes with ABSOLUTELY NO WARRANTY; express or implied. | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, as expressed in version 2, seen at | |
# http://www.gnu.org/licenses/gpl-2.0.html | |
############################################################################### | |
# GitHub Action to fuzz the project | |
# More info at https://github.com/openwall/john-packages | |
--- | |
name: ClusterFuzzLite fuzzing | |
"on": | |
schedule: | |
- cron: "0 4 * * MON" | |
push: | |
branches: | |
- "fuzz" | |
permissions: read-all | |
jobs: | |
PR: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }} | |
cancel-in-progress: true | |
strategy: | |
fail-fast: false | |
matrix: | |
sanitizer: | |
- address | |
- undefined | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
archive.ubuntu.com:80 | |
gcr.io:443 | |
github.com:443 | |
security.ubuntu.com:80 | |
storage.googleapis.com:443 | |
raw.githubusercontent.com:443 | |
- name: Build Fuzzers (${{ matrix.sanitizer }}) | |
id: build | |
uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1 | |
with: | |
language: c | |
dry-run: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
sanitizer: ${{ matrix.sanitizer }} | |
- name: Run Fuzzers (${{ matrix.sanitizer }}) | |
id: run | |
uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1 | |
with: | |
language: c | |
dry-run: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
fuzz-seconds: 600 | |
mode: "code-change" | |
sanitizer: ${{ matrix.sanitizer }} | |
output-sarif: true |