Commit graph

1404 commits

Author SHA1 Message Date
Chris Hennick
6f27c76499 Increase max_len to 1300 to accommodate all but one file in the minified corpus 2024-03-13 14:49:17 -07:00
Chris Hennick
c677a62f9b Update to deflate64 0.1.8 2024-03-13 13:58:18 -07:00
Chris Hennick
8d3b72ab60 Update version number in doc comment 2024-03-13 13:34:30 -07:00
Chris Hennick
4b8738f8c1 Update a test 2024-03-13 13:16:15 -07:00
Chris Hennick
26b90ae1b1 cargo cmin 2024-03-13 13:13:27 -07:00
Chris Hennick
dec73ef5c1 Merge branch 'tune_fuzz'
# Conflicts:
#	src/read.rs
2024-03-13 13:09:14 -07:00
Chris Hennick
ece098d393 Make InvalidPassword a kind of ZipError 2024-03-13 13:05:54 -07:00
Brett Simons
3e84dee439
Update stream.rs to use the is_dir function instead of explicitly checking ZipFile name 2024-03-13 09:51:38 -04:00
Chris Hennick
f56121bf6d Test using all inputs from unit/integ tests as part of the seed corpus 2024-03-12 20:53:44 -07:00
Chris Hennick
1bb1f8037c fuzz_read_no_features can still use 1 billion iterations 2024-03-12 20:28:43 -07:00
Chris Hennick
f2c1f83ffe Use 100 million iterations for fuzz_read 2024-03-12 20:16:23 -07:00
Chris Hennick
78e57bb6e1 Add ZIP64 examples to seed corpus 2024-03-12 20:15:40 -07:00
Chris Hennick
fe4ebedec4 Decrease to 20 million runs of fuzz_read, because seed corpus lowers exec/s but increases coverage plateau 2024-03-12 20:07:40 -07:00
Chris Hennick
e23a1aef49 Add ZipCrypto-encrypted files to seed corpus 2024-03-12 20:05:45 -07:00
Chris Hennick
797ce443c9 Test with one-empty-file Zip files for compressed formats 2024-03-12 19:48:03 -07:00
Chris Hennick
528c1f3ffd Test with seed-corpus entry of a zip file that has an empty stored file with an empty name 2024-03-12 19:39:23 -07:00
Chris Hennick
5bdf9b7c30 Test with a "seed corpus" consisting of an empty zip file 2024-03-12 19:22:52 -07:00
Chris Hennick
60f8f9b910 Test with len_control=500 runs=200M 2024-03-12 18:47:10 -07:00
Chris Hennick
9bce0dcb0f Test with len_control=1000 2024-03-12 18:11:56 -07:00
Chris Hennick
5049249fd9 Test with len_control=200 2024-03-12 17:58:03 -07:00
Chris Hennick
ddc92a49c3 Test new settings: max_len=600, len_control=500, runs=100M 2024-03-12 17:23:46 -07:00
Chris Hennick
8b52cc24c5 Test with max_len=1200 and len_control=500 2024-03-11 16:34:59 -07:00
Chris Hennick
845f848cc4 Test with max_len=1050 and len_control=500 2024-03-11 16:31:41 -07:00
Chris Hennick
a6869fbc9b Test with len_control=500 2024-03-11 16:10:45 -07:00
Chris Hennick
b2927819ee Test with max_len=600 and len_control=200 2024-03-11 15:48:00 -07:00
Chris Hennick
6e976d394a Revert "Test with max_len=600"
This reverts commit 9a6005bdd0.
2024-03-11 15:32:24 -07:00
Chris Hennick
9a6005bdd0 Test with max_len=600 2024-03-11 15:10:53 -07:00
Chris Hennick
cb70cd4031 Test with max_len=1050 2024-03-11 14:48:20 -07:00
Chris Hennick
739f5761a1 Revert "Test with even harder fuzz_read settings (16KiB input, 1e9 iterations)"
This reverts commit e08c8a1fe9.
2024-03-11 14:22:52 -07:00
Chris Hennick
6d8de51bea Bug fix: expected error result now happens sooner 2024-03-11 13:32:58 -07:00
Chris Hennick
818a1cc5bb Switch to upstream deflate64 trunk 2024-03-11 13:26:46 -07:00
Chris Hennick
b85dd4ba82 Replace reproducing zip with a smaller one 2024-03-09 14:46:29 -08:00
Chris Hennick
d38ac84db5 Test adding an unsupported compression method to the dictionary 2024-03-09 13:34:26 -08:00
Chris Hennick
e08c8a1fe9 Test with even harder fuzz_read settings (16KiB input, 1e9 iterations) 2024-03-07 20:01:35 -08:00
Chris Hennick
50fba29ee6 Test with max_len=2100 and 500m iterations 2024-03-07 19:43:13 -08:00
Chris Hennick
c7690dac42 Revert "Test with old max_len and 500m iterations"
This reverts commit f7023a3d9d.
2024-03-07 19:08:04 -08:00
Chris Hennick
c34501d1b6 Revert "Test with 16KiB max_len and 200m iterations"
This reverts commit 4367dac395.
2024-03-07 19:08:03 -08:00
Chris Hennick
4367dac395 Test with 16KiB max_len and 200m iterations 2024-03-07 18:53:04 -08:00
Chris Hennick
f7023a3d9d Test with old max_len and 500m iterations 2024-03-07 18:52:23 -08:00
Chris Hennick
963570f8c2 Test with -max-len=1100 but with a billion iterations 2024-03-07 18:20:22 -08:00
Chris Hennick
febe2c1b2b Retain smaller length for fuzz_write 2024-03-07 18:04:33 -08:00
Chris Hennick
fc30aa2b53 Revert "Test with --max_len=4600"
This reverts commit 643ab65d76.
2024-03-07 18:03:47 -08:00
Chris Hennick
7d4d584cff Revert "Test with --max_len=4700"
This reverts commit 0ccff2a2e7.
2024-03-07 18:03:45 -08:00
Chris Hennick
86b9597272 Revert "Test with --max_len=2100"
This reverts commit 716d7480f5.
2024-03-07 18:03:43 -08:00
Chris Hennick
880fda6f2b Revert "Test with --max_len=1100"
This reverts commit f051f02290.
2024-03-07 18:03:42 -08:00
Chris Hennick
f051f02290 Test with --max_len=1100 2024-03-07 17:41:23 -08:00
Chris Hennick
716d7480f5 Test with --max_len=2100 2024-03-07 17:34:00 -08:00
Chris Hennick
0ccff2a2e7 Test with --max_len=4700 2024-03-07 17:29:00 -08:00
Chris Hennick
643ab65d76 Test with --max_len=4600 2024-03-07 17:26:29 -08:00
Chris Hennick
f19b8f2229 Revert "Test with --len-control=5000"
This reverts commit 8243dc52ad.
2024-03-07 17:16:39 -08:00