]> git.ipfire.org Git - thirdparty/systemd.git/commit
fuzz-systemctl-parse-argv: add two corpus files to test compat parsers 42088/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 13 May 2026 22:34:03 +0000 (00:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Thu, 14 May 2026 07:38:10 +0000 (09:38 +0200)
commit440d701f3c930b53ea054b25cd859388f3cd9a1d
tree2243f159b1e7df77646c9298aadb3a20fdd23adb
parent4a30028c85e137996fd87dff236dd037d14acad4
fuzz-systemctl-parse-argv: add two corpus files to test compat parsers

Looking at the corpus examples, I'm not sure the fuzzer even went into
the compat parsers. None of the files have argv[0] that'd cause
invoked_as() to go into the compat paths. So add the files to provide
a quick test and possibly bias the fuzzer search into the right
direction.
test/fuzz/fuzz-systemctl-parse-argv/halt.input [new file with mode: 0644]
test/fuzz/fuzz-systemctl-parse-argv/shutdown.input [new file with mode: 0644]