diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9582446a..c66eecf4 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 + cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz_read.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 + cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz_read.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=10000 -max_len=5000000000 + cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=50000 -max_len=5000000000 - 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=10000 -max_len=5000000000 + cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=50000 -max_len=5000000000 - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v3 diff --git a/fuzz/fuzz_read.dict b/fuzz/fuzz_read.dict new file mode 100644 index 00000000..fb0c9e3d --- /dev/null +++ b/fuzz/fuzz_read.dict @@ -0,0 +1,13 @@ +"PK" +"KP" +"PK\x05\x06" +"PK\x01\x02" +"PK\x03\x04" +"\x07\x05KP" +"\x06\x05KP" +"\x05\x05KP" +"\x01\x01KP" +"\x00\x00\x00\x00\x00\x00" +"\x00\x00\x00\x00\x00\x00\x00" +"\xFF\xFF\xFF\xFF\xFF\xFF" +"\xFF\xFF\xFF\xFF\xFF\xFF\xFF" \ No newline at end of file