Add fuzz/c/std/seed_corpora.txt

This commit is contained in:
Nigel Tao committed 2018-04-22 13:02:22 +10:00
1 parent fd2d6e5b8a
commit b6cc2d5e2d
2 files changed
+18 -1

No files matched your search

+2 -1
View File
@@ -9,4 +9,5 @@ directory's code.
When working on these files, it is possible to run them directly on an explicit When working on these files, it is possible to run them directly on an explicit
test suite, in order to speed up the edit-compile-run cycle. Look for test suite, in order to speed up the edit-compile-run cycle. Look for
`WUFFS_CONFIG__FUZZLIB_MAIN` for more details. `WUFFS_CONFIG__FUZZLIB_MAIN` in the C++ code for more details, and in
`seed_corpora.txt` for suggested test data.
+16
View File
@@ -0,0 +1,16 @@
# This file maps file formats to file extensions, and specifically, to a set of
# files used to seed fuzz testing.
#
# The map is often trivial. For example, the "gif" implementation is tested on
# files matching "*.gif". However, for some formats, the format name and the
# conventional file extension differ, such as "gzip" and "gz". There may also
# be multiple file extensions: both "jpeg" and "jpg" are widely used. First
# party test data will usually use "jpeg", but third party test data, such as a
# web crawl sample, may use "jpg".
#
# This file is not used by Wuffs per se, but it is used by the "projects/wuffs"
# directory in the https://github.com/google/oss-fuzz repository.
gif: test/data/*.gif
gzip: test/data/*.gz
zlib: test/data/*.zlib