Skip to content

Fuzz

Fuzz #161

Workflow file for this run

name: Fuzz
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 3 * * 3" # Wednesday 03:00 UTC
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fuzz:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
target: [fuzz_sanitize]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v5.4.2
with:
enable-cache: true
- name: Install dependencies
run: |
uv sync --frozen
uv pip install atheris==3.0.0
- name: Run fuzzer
env:
FUZZ_TARGET: ${{ matrix.target }}
run: |
uv run python "fuzz/${FUZZ_TARGET}.py" -atheris_runs=100000 -max_len=4096
- name: Upload crash artifacts
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: fuzz-crash-${{ matrix.target }}
path: |
crash-*
oom-*
timeout-*