ci: add afl fuzz stage
fuzz for 1 min to quickly detect e.g. incorrect asserts
This commit is contained in:
parent
fb663da761
commit
01d8c0015e
2 changed files with 22 additions and 0 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -63,3 +63,18 @@ jobs:
|
|||
rustup component add clippy
|
||||
- name: "Check linting"
|
||||
run: make lint
|
||||
fuzz:
|
||||
name: Fuzz
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v3
|
||||
- name: "Setup toolchain"
|
||||
run: |
|
||||
rustup update nightly
|
||||
rustup default nightly
|
||||
cargo install afl
|
||||
- name: "Fuzz"
|
||||
run: |
|
||||
echo core | sudo tee /proc/sys/kernel/core_pattern
|
||||
make afl_quick
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue