• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D19-Jul-20211.9 KiB4531

aff.dictH A D19-Jul-2021893 7471

ass.dictH A D19-Jul-20211 KiB113112

atom.dictH A D19-Jul-2021470 3431

av1_dc.dictH A D19-Jul-2021101 64

bash.dictH A D19-Jul-20211.8 KiB153151

bdf.dictH A D19-Jul-2021406 3128

bmp.dictH A D19-Jul-2021152 1110

bz2.dictH A D19-Jul-202190 43

creole.dictH A D19-Jul-2021227 1513

css.dictH A D19-Jul-20215 KiB355347

csv.dictH A D19-Jul-202136 76

dds.dictH A D19-Jul-2021578 3632

djvu.dictH A D19-Jul-2021238 3534

docommand.dictH A D19-Jul-202113.3 KiB689688

exif.dictH A D19-Jul-20212.4 KiB223222

fbs.dictH A D19-Jul-2021680 4340

ftp.dictH A D19-Jul-20211,020 125101

gif.dictH A D19-Jul-2021277 1915

graphviz.dictH A D19-Jul-20213.9 KiB374360

heif.dictH A D19-Jul-2021613 7775

hoextdown.dictH A D19-Jul-2021931 5049

html_tags.dictH A D19-Jul-20213.1 KiB161159

http.dictH A D19-Jul-20211.7 KiB120115

icc.dictH A D19-Jul-20214.3 KiB592569

iccprofile.dictH A D19-Jul-2021203 2624

icns.dictH A D19-Jul-2021344 4442

initfile.dictH A D19-Jul-202113.3 KiB689688

jbig2.dictH A D19-Jul-20214.4 KiB9992

jpeg.dictH A D19-Jul-2021437 2320

jpeg2000.dictH A D19-Jul-2021340 2322

js.dictH A D19-Jul-20212.2 KiB108103

json.dictH A D19-Jul-2021471 6252

jsonnet.dictH A D19-Jul-2021639 6157

markdown.dictH A D19-Jul-2021463 2924

math.dictH A D19-Jul-202195 2120

mathml.dictH A D19-Jul-20213.4 KiB280275

mp4.dictH A D19-Jul-20212.5 KiB8381

mysqld.dictH A D19-Jul-202112 21

ogg.dictH A D19-Jul-2021486 3733

openexr.dictH A D19-Jul-20211.2 KiB5856

otf.dictH A D19-Jul-20216.6 KiB964956

pbm.dictH A D19-Jul-2021541 3028

pcap.dictH A D19-Jul-2021165 117

pdf.dictH A D19-Jul-202116.2 KiB1,4671,465

perl.dictH A D19-Jul-2021214 1714

png.dictH A D19-Jul-2021747 3936

proj4.dictH A D19-Jul-20213.5 KiB250241

protobuf.dictH A D19-Jul-2021706 4139

ps.dictH A D19-Jul-20214.6 KiB434402

psd.dictH A D19-Jul-20211.3 KiB181171

regexp.dictH A D19-Jul-20213 KiB245244

riff.dictH A D19-Jul-2021182 1815

rss.dictH A D19-Jul-2021429 3230

rst.dictH A D19-Jul-2021385 2220

rtf.dictH A D19-Jul-20214.4 KiB409392

sas.dictH A D19-Jul-2021274 3837

spss.dictH A D19-Jul-2021376 4746

sql.dictH A D19-Jul-20218.1 KiB283276

stata.dictH A D19-Jul-2021179 2322

svg.dictH A D19-Jul-20212.1 KiB171165

tex.dictH A D19-Jul-20211.4 KiB123118

theme-load-fuzz.dictH A D19-Jul-202166 109

tiff.dictH A D19-Jul-20211 KiB5249

tokener_parse_ex.dictH A D19-Jul-202186 1918

toml.dictH A D19-Jul-2021388 2321

type42.dictH A D19-Jul-2021450 2624

url.dictH A D19-Jul-2021502 6359

utf8.dictH A D19-Jul-20211.5 KiB7452

vcf.dictH A D19-Jul-20211.6 KiB120116

vhd.dictH A D19-Jul-2021329 119

vpx_dec.dictH A D19-Jul-2021145 96

wav.dictH A D19-Jul-2021420 2623

webm.dictH A D19-Jul-20214.1 KiB153151

webp.dictH A D19-Jul-2021339 2118

wkt.dictH A D19-Jul-2021474 3633

x86.dictH A D19-Jul-202119.2 KiB1,8861,881

xml.dictH A D19-Jul-20211.6 KiB7368

xml_UTF_16.dictH A D19-Jul-20215 KiB104103

xml_UTF_16BE.dictH A D19-Jul-20214.2 KiB104103

xml_UTF_16LE.dictH A D19-Jul-20214.2 KiB104103

xpath.dictH A D19-Jul-2021933 6762

xslt.dictH A D19-Jul-20211.5 KiB119108

yaml.dictH A D19-Jul-20211.3 KiB8078

yara.dictH A D19-Jul-20212.7 KiB197183

zip.dictH A D19-Jul-202181 43

README.md

1# AFL dictionaries
2
3(See [../README.md](../README.md) for the general instruction manual.)
4
5This subdirectory contains a set of dictionaries that can be used in
6conjunction with the -x option to allow the fuzzer to effortlessly explore the
7grammar of some of the more verbose data formats or languages. The basic
8principle behind the operation of fuzzer dictionaries is outlined in section 10
9of the "main" README.md for the project.
10
11These sets were done by Michal Zalewski, various contributors, and imported
12from oss-fuzz, go-fuzz and libfuzzer.
13
14Custom dictionaries can be added at will. They should consist of a
15reasonably-sized set of rudimentary syntax units that the fuzzer will then try
16to clobber together in various ways. Snippets between 2 and 16 bytes are
17usually the sweet spot.
18
19Custom dictionaries can be created in two ways:
20
21  - By creating a new directory and placing each token in a separate file, in
22    which case, there is no need to escape or otherwise format the data.
23
24  - By creating a flat text file where tokens are listed one per line in the
25    format of name="value". The alphanumeric name is ignored and can be omitted,
26    although it is a convenient way to document the meaning of a particular
27    token. The value must appear in quotes, with hex escaping (\xNN) applied to
28    all non-printable, high-bit, or otherwise problematic characters (\\ and \"
29    shorthands are recognized, too).
30
31The fuzzer auto-selects the appropriate mode depending on whether the -x
32parameter is a file or a directory.
33
34In the file mode, every name field can be optionally followed by @<num>, e.g.:
35
36  `keyword_foo@1 = "foo"`
37
38Such entries will be loaded only if the requested dictionary level is equal or
39higher than this number. The default level is zero; a higher value can be set
40by appending @<num> to the dictionary file name, like so:
41
42  `-x path/to/dictionary.dct@2`
43
44Good examples of dictionaries can be found in xml.dict and png.dict.
45