summaryrefslogtreecommitdiffstats
path: root/docs/ARCHITECTURE.md
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-04 12:21:42 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-04 12:58:43 +0200
commitc656265d8fc65e39655168faf00d9797ff6a4164 (patch)
tree6af10acc097787545408ab2e00c86802acfcbe3e /docs/ARCHITECTURE.md
parentfuzz-network-parser: drop ".network" and shorten names (diff)
downloadsystemd-c656265d8fc65e39655168faf00d9797ff6a4164.tar.xz
systemd-c656265d8fc65e39655168faf00d9797ff6a4164.zip
docs: say that fuzzer input samples should have short names
Diffstat (limited to 'docs/ARCHITECTURE.md')
-rw-r--r--docs/ARCHITECTURE.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index 3b81d8f737..55891a92b6 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -91,6 +91,17 @@ and generally safe to run on the host without side effects.
Ideally, every module in `src/basic/` and `src/shared/` should have a
corresponding unit test under `src/test/`, exercising every helper function.
+## Fuzzer test cases
+
+Files under `test/fuzz/` contain input data for fuzzers, one subdirectory for
+each fuzzer. Some of the files are "seed corpora", i.e. files that contain
+lists of settings and input values intended to generate initial coverage, and
+other files are samples saved by the fuzzing engines when they find an issue.
+
+When adding new input samples under `test/fuzz/*/`, please use some
+short-but-meaningful names. Names of meson tests include the input file name
+and output looks awkward if they are too long.
+
# Integration Tests
Sources in `test/` implement system-level testing for executables, libraries and