1LuB
dbc698415f
|
1 month ago | |
---|---|---|
.. | ||
README.md | 1 month ago | |
aff.dict | 1 month ago | |
ass.dict | 1 month ago | |
atom.dict | 1 month ago | |
av1_dc.dict | 1 month ago | |
bash.dict | 1 month ago | |
bdf.dict | 1 month ago | |
bmp.dict | 1 month ago | |
bz2.dict | 1 month ago | |
creole.dict | 1 month ago | |
css.dict | 1 month ago | |
csv.dict | 1 month ago | |
dds.dict | 1 month ago | |
djvu.dict | 1 month ago | |
docommand.dict | 1 month ago | |
exif.dict | 1 month ago | |
fbs.dict | 1 month ago | |
ftp.dict | 1 month ago | |
gif.dict | 1 month ago | |
graphviz.dict | 1 month ago | |
heif.dict | 1 month ago | |
hoextdown.dict | 1 month ago | |
html_tags.dict | 1 month ago | |
http.dict | 1 month ago | |
icc.dict | 1 month ago | |
iccprofile.dict | 1 month ago | |
icns.dict | 1 month ago | |
initfile.dict | 1 month ago | |
jbig2.dict | 1 month ago | |
jpeg.dict | 1 month ago | |
jpeg2000.dict | 1 month ago | |
js.dict | 1 month ago | |
json.dict | 1 month ago | |
jsonnet.dict | 1 month ago | |
markdown.dict | 1 month ago | |
math.dict | 1 month ago | |
mathml.dict | 1 month ago | |
mp4.dict | 1 month ago | |
mysqld.dict | 1 month ago | |
ogg.dict | 1 month ago | |
openexr.dict | 1 month ago | |
otf.dict | 1 month ago | |
pbm.dict | 1 month ago | |
pcap.dict | 1 month ago | |
pdf.dict | 1 month ago | |
perl.dict | 1 month ago | |
png.dict | 1 month ago | |
proj4.dict | 1 month ago | |
protobuf.dict | 1 month ago | |
ps.dict | 1 month ago | |
psd.dict | 1 month ago | |
regexp.dict | 1 month ago | |
riff.dict | 1 month ago | |
rss.dict | 1 month ago | |
rst.dict | 1 month ago | |
rtf.dict | 1 month ago | |
ruby.dict | 1 month ago | |
sas.dict | 1 month ago | |
spss.dict | 1 month ago | |
sql.dict | 1 month ago | |
stata.dict | 1 month ago | |
svg.dict | 1 month ago | |
tex.dict | 1 month ago | |
theme-load-fuzz.dict | 1 month ago | |
tiff.dict | 1 month ago | |
tokener_parse_ex.dict | 1 month ago | |
toml.dict | 1 month ago | |
type42.dict | 1 month ago | |
url.dict | 1 month ago | |
utf8.dict | 1 month ago | |
vcf.dict | 1 month ago | |
vhd.dict | 1 month ago | |
vpx_dec.dict | 1 month ago | |
wav.dict | 1 month ago | |
webm.dict | 1 month ago | |
webp.dict | 1 month ago | |
wkt.dict | 1 month ago | |
x86.dict | 1 month ago | |
xml.dict | 1 month ago | |
xml_UTF_16.dict | 1 month ago | |
xml_UTF_16BE.dict | 1 month ago | |
xml_UTF_16LE.dict | 1 month ago | |
xpath.dict | 1 month ago | |
xslt.dict | 1 month ago | |
yaml.dict | 1 month ago | |
yara.dict | 1 month ago | |
zip.dict | 1 month ago |
README.md
AFL++ dictionaries
For the general instruction manual, see docs/README.md.
This subdirectory contains a set of dictionaries that can be used in conjunction with the -x option to allow the fuzzer to effortlessly explore the grammar of some of the more verbose data formats or languages.
These sets were done by Michal Zalewski, various contributors, and imported from oss-fuzz, go-fuzz and libfuzzer.
Custom dictionaries can be added at will. They should consist of a reasonably-sized set of rudimentary syntax units that the fuzzer will then try to clobber together in various ways. Snippets between 2 and 16 bytes are usually the sweet spot.
Custom dictionaries can be created in two ways:
-
By creating a new directory and placing each token in a separate file, in which case, there is no need to escape or otherwise format the data.
-
By creating a flat text file where tokens are listed one per line in the format of name="value". The alphanumeric name is ignored and can be omitted, although it is a convenient way to document the meaning of a particular token. The value must appear in quotes, with hex escaping (\xNN) applied to all non-printable, high-bit, or otherwise problematic characters (\ and " shorthands are recognized, too).
The fuzzer auto-selects the appropriate mode depending on whether the -x parameter is a file or a directory.
In the file mode, every name field can be optionally followed by @, e.g.:
keyword_foo@1 = "foo"
Such entries will be loaded only if the requested dictionary level is equal or higher than this number. The default level is zero; a higher value can be set by appending @ to the dictionary file name, like so:
-x path/to/dictionary.dct@2
Good examples of dictionaries can be found in xml.dict and png.dict.