From f56121bf6d51d28033ef645b8198fb9a9f5b0eea Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Tue, 12 Mar 2024 20:53:44 -0700 Subject: [PATCH] Test using all inputs from unit/integ tests as part of the seed corpus --- fuzz/corpus/seed/aes_archive.zip | 1 + fuzz/corpus/seed/comment_garbage.zip | 1 + fuzz/corpus/seed/deflate64.zip | 1 + fuzz/corpus/seed/deflate64_issue_25.zip | 1 + fuzz/corpus/seed/files_and_dirs.zip | 1 + .../invalid_cde_number_of_files_allocation_greater_offset.zip | 1 + .../invalid_cde_number_of_files_allocation_smaller_offset.zip | 1 + fuzz/corpus/seed/invalid_offset.zip | 1 + fuzz/corpus/seed/invalid_offset2.zip | 1 + fuzz/corpus/seed/mimetype.zip | 1 + fuzz/corpus/seed/raw_deflate64_index_out_of_bounds.zip | 1 + fuzz/corpus/seed/zip64_demo.zip | 1 + fuzz/corpus/seed/zip64_magic_in_filename_1.zip | 1 + fuzz/corpus/seed/zip64_magic_in_filename_2.zip | 1 + fuzz/corpus/seed/zip64_magic_in_filename_3.zip | 1 + fuzz/corpus/seed/zip64_magic_in_filename_4.zip | 1 + fuzz/corpus/seed/zip64_magic_in_filename_5.zip | 1 + 17 files changed, 17 insertions(+) create mode 120000 fuzz/corpus/seed/aes_archive.zip create mode 120000 fuzz/corpus/seed/comment_garbage.zip create mode 120000 fuzz/corpus/seed/deflate64.zip create mode 120000 fuzz/corpus/seed/deflate64_issue_25.zip create mode 120000 fuzz/corpus/seed/files_and_dirs.zip create mode 120000 fuzz/corpus/seed/invalid_cde_number_of_files_allocation_greater_offset.zip create mode 120000 fuzz/corpus/seed/invalid_cde_number_of_files_allocation_smaller_offset.zip create mode 120000 fuzz/corpus/seed/invalid_offset.zip create mode 120000 fuzz/corpus/seed/invalid_offset2.zip create mode 120000 fuzz/corpus/seed/mimetype.zip create mode 120000 fuzz/corpus/seed/raw_deflate64_index_out_of_bounds.zip create mode 120000 fuzz/corpus/seed/zip64_demo.zip create mode 120000 fuzz/corpus/seed/zip64_magic_in_filename_1.zip create mode 120000 fuzz/corpus/seed/zip64_magic_in_filename_2.zip create mode 120000 fuzz/corpus/seed/zip64_magic_in_filename_3.zip create mode 120000 fuzz/corpus/seed/zip64_magic_in_filename_4.zip create mode 120000 fuzz/corpus/seed/zip64_magic_in_filename_5.zip diff --git a/fuzz/corpus/seed/aes_archive.zip b/fuzz/corpus/seed/aes_archive.zip new file mode 120000 index 00000000..03c268ca --- /dev/null +++ b/fuzz/corpus/seed/aes_archive.zip @@ -0,0 +1 @@ +../../../tests/data/aes_archive.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/comment_garbage.zip b/fuzz/corpus/seed/comment_garbage.zip new file mode 120000 index 00000000..5ed32871 --- /dev/null +++ b/fuzz/corpus/seed/comment_garbage.zip @@ -0,0 +1 @@ +../../../tests/data/comment_garbage.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/deflate64.zip b/fuzz/corpus/seed/deflate64.zip new file mode 120000 index 00000000..e3ac7b90 --- /dev/null +++ b/fuzz/corpus/seed/deflate64.zip @@ -0,0 +1 @@ +../../../tests/data/deflate64.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/deflate64_issue_25.zip b/fuzz/corpus/seed/deflate64_issue_25.zip new file mode 120000 index 00000000..6098769a --- /dev/null +++ b/fuzz/corpus/seed/deflate64_issue_25.zip @@ -0,0 +1 @@ +../../../tests/data/deflate64_issue_25.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/files_and_dirs.zip b/fuzz/corpus/seed/files_and_dirs.zip new file mode 120000 index 00000000..b4d40f44 --- /dev/null +++ b/fuzz/corpus/seed/files_and_dirs.zip @@ -0,0 +1 @@ +../../../tests/data/files_and_dirs.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/invalid_cde_number_of_files_allocation_greater_offset.zip b/fuzz/corpus/seed/invalid_cde_number_of_files_allocation_greater_offset.zip new file mode 120000 index 00000000..2e11137c --- /dev/null +++ b/fuzz/corpus/seed/invalid_cde_number_of_files_allocation_greater_offset.zip @@ -0,0 +1 @@ +../../../tests/data/invalid_cde_number_of_files_allocation_greater_offset.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/invalid_cde_number_of_files_allocation_smaller_offset.zip b/fuzz/corpus/seed/invalid_cde_number_of_files_allocation_smaller_offset.zip new file mode 120000 index 00000000..01b527a3 --- /dev/null +++ b/fuzz/corpus/seed/invalid_cde_number_of_files_allocation_smaller_offset.zip @@ -0,0 +1 @@ +../../../tests/data/invalid_cde_number_of_files_allocation_smaller_offset.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/invalid_offset.zip b/fuzz/corpus/seed/invalid_offset.zip new file mode 120000 index 00000000..4f8c160b --- /dev/null +++ b/fuzz/corpus/seed/invalid_offset.zip @@ -0,0 +1 @@ +../../../tests/data/invalid_offset.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/invalid_offset2.zip b/fuzz/corpus/seed/invalid_offset2.zip new file mode 120000 index 00000000..6dbace8b --- /dev/null +++ b/fuzz/corpus/seed/invalid_offset2.zip @@ -0,0 +1 @@ +../../../tests/data/invalid_offset2.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/mimetype.zip b/fuzz/corpus/seed/mimetype.zip new file mode 120000 index 00000000..0d372380 --- /dev/null +++ b/fuzz/corpus/seed/mimetype.zip @@ -0,0 +1 @@ +../../../tests/data/mimetype.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/raw_deflate64_index_out_of_bounds.zip b/fuzz/corpus/seed/raw_deflate64_index_out_of_bounds.zip new file mode 120000 index 00000000..54aa7863 --- /dev/null +++ b/fuzz/corpus/seed/raw_deflate64_index_out_of_bounds.zip @@ -0,0 +1 @@ +../../../tests/data/raw_deflate64_index_out_of_bounds.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/zip64_demo.zip b/fuzz/corpus/seed/zip64_demo.zip new file mode 120000 index 00000000..01619790 --- /dev/null +++ b/fuzz/corpus/seed/zip64_demo.zip @@ -0,0 +1 @@ +../../../tests/data/zip64_demo.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/zip64_magic_in_filename_1.zip b/fuzz/corpus/seed/zip64_magic_in_filename_1.zip new file mode 120000 index 00000000..f4e3d984 --- /dev/null +++ b/fuzz/corpus/seed/zip64_magic_in_filename_1.zip @@ -0,0 +1 @@ +../../../tests/data/zip64_magic_in_filename_1.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/zip64_magic_in_filename_2.zip b/fuzz/corpus/seed/zip64_magic_in_filename_2.zip new file mode 120000 index 00000000..52a969aa --- /dev/null +++ b/fuzz/corpus/seed/zip64_magic_in_filename_2.zip @@ -0,0 +1 @@ +../../../tests/data/zip64_magic_in_filename_2.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/zip64_magic_in_filename_3.zip b/fuzz/corpus/seed/zip64_magic_in_filename_3.zip new file mode 120000 index 00000000..11cc6a85 --- /dev/null +++ b/fuzz/corpus/seed/zip64_magic_in_filename_3.zip @@ -0,0 +1 @@ +../../../tests/data/zip64_magic_in_filename_3.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/zip64_magic_in_filename_4.zip b/fuzz/corpus/seed/zip64_magic_in_filename_4.zip new file mode 120000 index 00000000..b1d99ed6 --- /dev/null +++ b/fuzz/corpus/seed/zip64_magic_in_filename_4.zip @@ -0,0 +1 @@ +../../../tests/data/zip64_magic_in_filename_4.zip \ No newline at end of file diff --git a/fuzz/corpus/seed/zip64_magic_in_filename_5.zip b/fuzz/corpus/seed/zip64_magic_in_filename_5.zip new file mode 120000 index 00000000..611213e0 --- /dev/null +++ b/fuzz/corpus/seed/zip64_magic_in_filename_5.zip @@ -0,0 +1 @@ +../../../tests/data/zip64_magic_in_filename_5.zip \ No newline at end of file