From ff1106a8f9eddfdb383245f8da16c9212b666fba Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Wed, 28 Feb 2024 20:17:29 -0800 Subject: [PATCH] Share fuzz dictionary between fuzz_read and fuzz_write --- .github/workflows/ci.yaml | 8 ++++---- fuzz/{fuzz_read.dict => fuzz.dict} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename fuzz/{fuzz_read.dict => fuzz.dict} (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c66eecf4..35583fac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -96,7 +96,7 @@ jobs: cargo fuzz build fuzz_read - name: run fuzz run: | - cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz_read.dict + cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 @@ -122,7 +122,7 @@ jobs: cargo fuzz build --no-default-features fuzz_read - name: run fuzz run: | - cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz_read.dict + cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 @@ -148,7 +148,7 @@ jobs: cargo fuzz build fuzz_write - name: run fuzz run: | - cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=50000 -max_len=5000000000 + cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=50000 -max_len=5000000000 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 @@ -174,7 +174,7 @@ jobs: cargo fuzz build --no-default-features fuzz_write - name: run fuzz run: | - cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=50000 -max_len=5000000000 + cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=50000 -max_len=5000000000 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 diff --git a/fuzz/fuzz_read.dict b/fuzz/fuzz.dict similarity index 100% rename from fuzz/fuzz_read.dict rename to fuzz/fuzz.dict