Skip to content

Commit

Permalink
Remove AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed May 31, 2023
1 parent fd5c293 commit d0e5a6e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: cargo clippy --all-targets -- -D warnings -W clippy::pedantic -A clippy::missing-panics-doc
build:
strategy:
fail-fast: false
matrix:
environment: [ubuntu-latest, macos-latest]
toolchain: [stable, nightly]
Expand All @@ -53,15 +54,20 @@ jobs:
run: rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build -vv
- if: ${{ matrix.environment == 'macos-latest' }}
name: Run afl-system-config
run: sudo AFLPlusPlus/afl-system-config
- name: Run afl-system-config
run: |
sudo AFLplusplus/afl-system-config
# smoelius: Remove once the following is published:
# https://github.com/AFLplusplus/AFLplusplus/commit/a7b7f3cde9b3a420ea5ac32f7309e8a856a01e94
if [[ ${{ matrix.environment }} = 'macos-latest' ]]; then
SL=/System/Library; PL=com.apple.ReportCrash
launchctl unload -w ${SL}/LaunchAgents/${PL}.plist
sudo launchctl unload -w ${SL}/LaunchDaemons/${PL}.Root.plist
fi
- name: Build examples (with AFL instrumentation)
run: cargo run afl build --examples -vv
- name: Run tests (with AFL instrumentation)
run: cargo run afl test -vv
env:
AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES: "1"
all-checks:
needs: [lint, build]
runs-on: ubuntu-latest
Expand Down

0 comments on commit d0e5a6e

Please sign in to comment.