Skip to content

Commit f5a18e8

Browse files
committed
libarchive: Expand corpus patterns for TAR and CPIO fuzzers
- TAR: Change pattern from "test_compat_*tar*.uu" to "*tar*.uu" Increases coverage from 30 to 70 test files, including: - test_read_format_tar_*.uu - test_read_format_gtar_*.uu - test_pax_*.tar.uu - test_acl_pax_*.tar.uu - CPIO: Change pattern from "test_compat_cpio*.uu" to "*cpio*.uu" Increases coverage from 1 to 11 test files, including: - test_read_format_cpio_*.uu
1 parent 40d9736 commit f5a18e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/libarchive/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ create_corpus() {
108108
}
109109

110110
# Create format-specific corpora
111-
create_corpus "libarchive_tar_fuzzer" "test_compat_*tar*.uu"
111+
create_corpus "libarchive_tar_fuzzer" "*tar*.uu"
112112
create_corpus "libarchive_zip_fuzzer" "test_*zip*.uu"
113113
create_corpus "libarchive_7zip_fuzzer" "test_read_format_7zip*.uu"
114114
create_corpus "libarchive_rar_fuzzer" "test_read_format_rar_*.uu"
@@ -117,7 +117,7 @@ create_corpus "libarchive_xar_fuzzer" "test_read_format_xar*.uu"
117117
create_corpus "libarchive_cab_fuzzer" "test_read_format_cab*.uu"
118118
create_corpus "libarchive_lha_fuzzer" "test_read_format_lha*.uu"
119119
create_corpus "libarchive_iso9660_fuzzer" "test_read_format_iso*.uu"
120-
create_corpus "libarchive_cpio_fuzzer" "test_compat_cpio*.uu"
120+
create_corpus "libarchive_cpio_fuzzer" "*cpio*.uu"
121121
create_corpus "libarchive_warc_fuzzer" "test_read_format_warc*.uu"
122122
create_corpus "libarchive_mtree_fuzzer" "test_read_format_mtree*.uu"
123123
create_corpus "libarchive_ar_fuzzer" "test_read_format_ar*.uu"

0 commit comments

Comments
 (0)