From: Zbigniew Jędrzejewski-Szmek Date: Wed, 13 May 2026 22:34:03 +0000 (+0200) Subject: fuzz-systemctl-parse-argv: add two corpus files to test compat parsers X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=440d701f3c930b53ea054b25cd859388f3cd9a1d;p=thirdparty%2Fsystemd.git 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. --- diff --git a/test/fuzz/fuzz-systemctl-parse-argv/halt.input b/test/fuzz/fuzz-systemctl-parse-argv/halt.input new file mode 100644 index 00000000000..26b15bd1833 Binary files /dev/null and b/test/fuzz/fuzz-systemctl-parse-argv/halt.input differ diff --git a/test/fuzz/fuzz-systemctl-parse-argv/shutdown.input b/test/fuzz/fuzz-systemctl-parse-argv/shutdown.input new file mode 100644 index 00000000000..cc62a983c1f Binary files /dev/null and b/test/fuzz/fuzz-systemctl-parse-argv/shutdown.input differ