README
1# Seed Corpus
2
3The `seed_corpus` directory was created using test data from the libxml2 repo by
4running the following commands:
5
6```bash
7# Minimize the test data using xml_parser_fuzzer.
8$ xml_parser_fuzzer -use_value_profile=1 -max_len=65536 -rss_limit_mb=8192 -merge=1 xml_min1 ~/Projects/libxml2/test
9
10# Minimize the test data using libxml_xml_read_memory_fuzzer.
11$ libxml_xml_read_memory_fuzzer -use_value_profile=1 -max_len=65536 -rss_limit_mb=8192 -merge=1 xml_min2 ~/Projects/libxml2/test
12
13# Merge the two minimized versions (the majority of the files are the same).
14$ cp xml_min1/* xml_min2/* seed_corpus/
15```
16
17This corpus gives a good code coverage for the existing XML fuzzers in Chromium.
18See //testing/libfuzzer/README.md for more information about fuzzing.
19
20# Dictionary
21
22The `xml.dict` was taken from AFL fuzzer with a few minor additions being made.
23