1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00
systemd-stable/test/fuzz/fuzz-link-parser
Michal Koutný 7e343b530e meson: Generate fuzzer inputs with directives
The lists of directives for fuzzer tests are maintained manually in the
repo. There is a tools/check-directives.sh script that runs during test
phase and reports stale directive lists.
Let's rework the script into a generator so that these directive files
are created on-the-flight and needn't be updated whenever a unit file
directives change. The scripts is rewritten in Python to get rid of gawk
dependency and each generated file is a separate meson target so that
incremental builds refresh what is just necessary (and parallelize
(negligible)).

Note: test/fuzz/fuzz-unit-file/directives-all.slice is kept since there
is not automated way to generate it (it is not covered by the check
script neither).
2022-10-20 14:43:50 +02:00
..
99-default.link license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
advertise-segv.link fuzz: add directives.link and 99-default.link for fuzz-link-parser 2019-02-25 12:40:42 +09:00
condition-memleak.link fuzz: add directives.link and 99-default.link for fuzz-link-parser 2019-02-25 12:40:42 +09:00
oss-fuzz-13878 fuzz: add testcases for the bug in condition_free_list_type() 2019-03-24 00:35:39 +09:00
oss-fuzz-13882 fuzz: add testcases for the bug in condition_free_list_type() 2019-03-24 00:35:39 +09:00