Systemd/src/fuzz
Lennart Poettering 4f9ff96a55 conf-parser: return mtime in config_parse() and friends
This is a follow-up for 9f83091e3c.

Instead of reading the mtime off the configuration files after reading,
let's do so before reading, but with the fd we read the data from. This
is not only cleaner (as it allows us to save one stat()), but also has
the benefit that we'll detect changes that happen while we read the
files.

This also reworks unit file drop-ins to use the common code for
determining drop-in mtime, instead of reading system clock for that.
2020-06-02 19:32:20 +02:00
..
fuzz-bus-label.c fuzz: add bus-label fuzzer 2019-03-11 13:00:32 +01:00
fuzz-bus-message.c sd-bus: export sd_bus_message_dump 2020-01-23 23:38:20 +01:00
fuzz-calendarspec.c fuzz-calendarspec: actually run the second part of the fuzzer 2019-03-16 18:13:17 +01:00
fuzz-catalog.c journal: Make the output of --update-catalog deterministic 2019-09-06 15:13:54 +02:00
fuzz-compress.c fuzz-compress: add fuzzer for compression and decompression 2018-10-30 11:04:53 +01:00
fuzz-dhcp-server.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
fuzz-dhcp-server.options fuzz-dhcp-server: fix name of options file 2018-03-11 16:33:59 +01:00
fuzz-dhcp6-client.c fuzz-dhcp6-client: avoid assertion failure on samples which dont fit in pipe 2019-03-04 12:04:09 +01:00
fuzz-dhcp6-client.options fuzz-dhcp6-client: avoid assertion failure on samples which dont fit in pipe 2019-03-04 12:04:09 +01:00
fuzz-dns-packet.c util: split out memcmp()/memset() related calls into memory-util.[ch] 2019-03-13 12:16:43 +01:00
fuzz-dns-packet.options fuzz: add initial fuzzing infrastructure 2018-01-17 13:57:06 -05:00
fuzz-env-file.c Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other tests 2019-04-12 11:44:57 +02:00
fuzz-env-file.options fuzz: limit the maximum size of test inputs for a few parsers 2019-03-12 19:30:05 +01:00
fuzz-fido-id-desc.dict udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
fuzz-hostname-util.c Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other tests 2019-04-12 11:44:57 +02:00
fuzz-journal-remote.c tests: suppress "unwanted log lines" in several fuzzers 2018-11-28 10:10:09 +09:00
fuzz-journal-remote.options fuzz-journal-remote: a fuzzer for journal-remote over-the-wire input 2018-05-31 13:04:18 +02:00
fuzz-journald-audit.c tests: introduce dummy_server_init and use it in all journald fuzzers 2018-11-17 13:02:26 +01:00
fuzz-journald-kmsg.c tests: introduce dummy_server_init and use it in all journald fuzzers 2018-11-17 13:02:26 +01:00
fuzz-journald-native-fd.c util-lib: split out all temporary file related calls into tmpfiles-util.c 2018-12-02 13:22:29 +01:00
fuzz-journald-native.c tests: add a fuzzer for server_process_native_message 2018-09-03 07:16:52 +00:00
fuzz-journald-stream.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
fuzz-journald-stream.options fuzz-journal-stream: avoid assertion failure on samples which don't fit in pipe 2019-02-26 13:00:35 +01:00
fuzz-journald-syslog.c tests: rework the code fuzzing journald 2018-09-03 06:46:24 +00:00
fuzz-journald.c tests: add a fuzzer for journald streams 2018-11-20 03:03:32 +01:00
fuzz-journald.h tests: introduce dummy_server_init and use it in all journald fuzzers 2018-11-17 13:02:26 +01:00
fuzz-json.c json: add flags parameter to json_parse_file(), for parsing "sensitive" data 2019-12-02 09:47:00 +01:00
fuzz-lldp.c fuzz-lldp: avoid assertion failure on samples which dont fit in pipe 2019-02-26 13:13:02 +01:00
fuzz-lldp.options fuzz-lldp: avoid assertion failure on samples which dont fit in pipe 2019-02-26 13:13:02 +01:00
fuzz-main.c tests: add a fuzzer for the udev rules parser (#10929) 2018-11-26 18:14:30 +09:00
fuzz-ndisc-rs.c fuzz-ndisc-rs: avoid assertion failure on samples which dont fit in pipe 2019-02-26 13:14:56 +01:00
fuzz-ndisc-rs.options fuzz-ndisc-rs: avoid assertion failure on samples which dont fit in pipe 2019-02-26 13:14:56 +01:00
fuzz-nspawn-oci.c Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other tests 2019-04-12 11:44:57 +02:00
fuzz-nspawn-settings.c Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other tests 2019-04-12 11:44:57 +02:00
fuzz-time-util.c fuzz: add a fuzzer for time utils 2019-03-12 12:04:25 +01:00
fuzz-udev-database.c fuzz: do not assume the existence of /sys/class/net/lo 2019-02-28 10:38:16 +01:00
fuzz-udev-rules.c tree-wide: drop missing.h 2019-10-31 17:57:03 +09:00
fuzz-unit-file.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
fuzz-varlink.c fuzzer: add varlink fuzzer 2019-05-09 14:14:20 -04:00
fuzz-xdg-desktop.c xdg-autostart: fix two coverity found issues 2020-05-28 23:38:38 +02:00
fuzz.h ci: turn off FuzzBuzz 2020-03-30 14:57:22 +02:00
meson.build fuzz: Add an XDG desktop file fuzzer 2020-05-27 09:02:10 +02:00