Skip to content

Commit

Permalink
Fuzzing: run harness as part of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgeana authored and aveenismail committed Sep 24, 2024
1 parent 28bdf45 commit 85dfd6e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build_and_fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build and Fuzz

on: [push, pull_request]
on:
schedule:
# Run this every wednesday at 3:50. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '50 3 * * 3'

jobs:
fuzz_msan:
Expand All @@ -27,6 +30,10 @@ jobs:
-B build-msan
cmake --build build-msan
- name: run harness for fuzz_get_attribute_value
working-directory: yubihsm-shell
run: ./build-msan/pkcs11/fuzz_get_attribute_value -max_total_time=1800

fuzz_asan:
name: fuzz with AddressSanitizer
runs-on: ubuntu-latest
Expand Down Expand Up @@ -62,3 +69,7 @@ jobs:
-DENABLE_STATIC=ON \
-B build-asan
cmake --build build-asan
- name: run harness for fuzz_get_attribute_value
working-directory: yubihsm-shell
run: ./build-asan/pkcs11/fuzz_get_attribute_value -max_total_time=1800

0 comments on commit 85dfd6e

Please sign in to comment.