Skip to content

Handle segfaults and aborts in C# code #377

Handle segfaults and aborts in C# code

Handle segfaults and aborts in C# code #377

Workflow file for this run

name: fuzzing
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fuzzing
run: |
curl https://sh.rustup.rs -o rustup.sh && chmod +x rustup.sh && \
./rustup.sh -y && rm rustup.sh
rustup install nightly
export PATH=/root/.cargo/bin:$PATH
cargo install cargo-fuzz
cd libcasr/fuzz
mkdir corpus
cargo +nightly fuzz run parse_stacktrace corpus init_corpus -- -max_total_time=600