Add dict for ICC profiles to skcms. (#1216)

This commit is contained in:
jonathanmetzman 2018-03-05 15:54:36 -08:00 committed by Oliver Chang
parent 3a5922429a
commit 49f859f16e
4 changed files with 32 additions and 2 deletions

View File

@ -29,4 +29,4 @@ WORKDIR skcms
COPY build.sh $SRC/
COPY iccprofile.options $SRC/skcms/
COPY iccprofile.options iccprofile.dict $SRC/skcms/

View File

@ -27,4 +27,6 @@ cp iccprofile.options $OUT/fuzz_iccprofile_transform.options
# They all share the same seed corpus of icc profiles
cp iccprofile_seed_corpus.zip $OUT/iccprofile_info_seed_corpus.zip
cp iccprofile_seed_corpus.zip $OUT/iccprofile_atf_seed_corpus.zip
cp iccprofile_seed_corpus.zip $OUT/iccprofile_transform_seed_corpus.zip
cp iccprofile_seed_corpus.zip $OUT/iccprofile_transform_seed_corpus.zip
# They all use the same dictionary file.
cp iccprofile.dict $OUT/iccprofile.dict

View File

@ -0,0 +1,27 @@
# Dict for ICC profiles parsed by skcms.
"mft1"
"mft2"
"mAB "
"rXYZ"
"gXYZ"
"bXYZ"
"rTRC"
"gTRC"
"bTRC"
"kTRC"
"A2B0"
"curv"
"para"
"mluc"
"XYZ "
"Lab "
"RGB "
"CMYK"
"GRAY"
"mntr"
"scnr"
"prtr"
"spac"
"87a"
"89a"

View File

@ -1,3 +1,4 @@
[libfuzzer]
max_len = 200000
timeout = 10
dict = iccprofile.dict