xref: /aosp_15_r20/external/AFLplusplus/testcases/README.md (revision 08b48e0b10e97b33e7b60c5b6e2243bd915777f2)
1*08b48e0bSAndroid Build Coastguard Worker# AFL++ starting test cases
2*08b48e0bSAndroid Build Coastguard Worker
3*08b48e0bSAndroid Build Coastguard WorkerFor the general instruction manual, see [docs/README.md](../docs/README.md).
4*08b48e0bSAndroid Build Coastguard Worker
5*08b48e0bSAndroid Build Coastguard WorkerThe archives/, images/, multimedia/, and others/ subdirectories contain small,
6*08b48e0bSAndroid Build Coastguard Workerstandalone files that can be used to seed afl-fuzz when testing parsers for a
7*08b48e0bSAndroid Build Coastguard Workervariety of common data formats.
8*08b48e0bSAndroid Build Coastguard Worker
9*08b48e0bSAndroid Build Coastguard WorkerThere is probably not much to be said about these files, except that they were
10*08b48e0bSAndroid Build Coastguard Workeroptimized for size and stripped of any non-essential fluff. Some directories
11*08b48e0bSAndroid Build Coastguard Workercontain several examples that exercise various features of the underlying format.
12*08b48e0bSAndroid Build Coastguard WorkerFor example, there is a PNG file with and without a color profile.
13*08b48e0bSAndroid Build Coastguard Worker
14*08b48e0bSAndroid Build Coastguard WorkerAdditional test cases are always welcome.
15*08b48e0bSAndroid Build Coastguard Worker
16*08b48e0bSAndroid Build Coastguard WorkerIn addition to well-chosen starting files, many fuzzing jobs benefit from a
17*08b48e0bSAndroid Build Coastguard Workersmall and concise dictionary. See [../dictionaries/README.md](../dictionaries/README.md) for more.
18