Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Conversation

@brightprogrammer
Copy link
Owner

No description provided.

Comment on lines 15 to 64
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Make fuzz-docker.sh executable
run: chmod +x Scripts/fuzz-docker.sh

- name: Run AFL++ fuzzing (without ASAN)
run: |
echo "1" | timeout 30m ./Scripts/fuzz-docker.sh || true

- name: Run AFL++ fuzzing (with ASAN)
run: |
echo "2" | timeout 30m ./Scripts/fuzz-docker.sh || true

- name: Check for crashes
run: |
echo "Checking for crashes in fuzzing results..."

# Check AFL++ without ASAN results
if [ -d "fuzz-outputs/default/crashes" ] && [ "$(ls -A fuzz-outputs/default/crashes)" ]; then
echo "❌ Crashes found in AFL++ without ASAN:"
ls -la fuzz-outputs/default/crashes/
exit 1
else
echo "✅ No crashes found in AFL++ without ASAN"
fi

# Check AFL++ with ASAN results
if [ -d "fuzz-outputs/default/crashes" ] && [ "$(ls -A fuzz-outputs/default/crashes)" ]; then
echo "❌ Crashes found in AFL++ with ASAN:"
ls -la fuzz-outputs/default/crashes/
exit 1
else
echo "✅ No crashes found in AFL++ with ASAN"
fi

- name: Upload fuzzing results
uses: actions/upload-artifact@v4
if: always()
with:
name: fuzzing-results
path: fuzz-outputs/
retention-days: 7 No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@brightprogrammer brightprogrammer merged commit 117d8f9 into master Oct 7, 2025
9 of 10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants