diff options
| author | julihoh <julihoh@users.noreply.github.com> | 2021-03-05 19:40:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-05 19:40:59 +0100 |
| commit | 2dd5a020615842e51dcf8cfaa7b01ad6bef4cda8 (patch) | |
| tree | bb8435fc7dc684f0c894cd31b17368a18411fa15 /.github/workflows | |
| parent | 9844e1a856d38780a8bff6e15411956e3f183d57 (diff) | |
| download | afl++-2dd5a020615842e51dcf8cfaa7b01ad6bef4cda8.tar.gz | |
Ergonomic Improvements for Rust Custom Mutators (#772)
* allow returning of str instead of CStr in rust custom mutator * use OsStr instead of CStr for file paths * fix cfg and compiler errors * custom mutator default descriptions * fix usage of afl_internal feature flag * fix example mutator cfg * fix lain mutator * Revert "fix lain mutator" This reverts commit adf700180888d86e8331939cea62d0b39fc699a7. * actually fix lain mutator * resolve question around utf-8 null bytes * change from OsStr to Path to be even more ergonomic * add rust custom mutator ci * fix github action * again * separate compilation check
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust_custom_mutator.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/rust_custom_mutator.yml b/.github/workflows/rust_custom_mutator.yml new file mode 100644 index 00000000..de2b184a --- /dev/null +++ b/.github/workflows/rust_custom_mutator.yml @@ -0,0 +1,30 @@ +name: Rust Custom Mutators + +on: + push: + branches: [ stable, dev ] + pull_request: + branches: [ stable, dev ] + +jobs: + test: + name: Test Rust Custom Mutator Support + runs-on: '${{ matrix.os }}' + defaults: + run: + working-directory: custom_mutators/rust + strategy: + matrix: + os: [ubuntu-20.04] + steps: + - uses: actions/checkout@v2 + - name: Install Rust Toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - name: Check Code Compiles + run: cargo check + - name: Run General Tests + run: cargo test + - name: Run Tests for afl_internals feature flag + run: cd custom_mutator && cargo test --features=afl_internals \ No newline at end of file |
