Systemd/src/fuzz/fuzz-journald-syslog.c
Evgeny Vereshchagin b1bd453f36 tests: rework the code fuzzing journald
This should make it easier to add a new fuzzer without a lot of
duplication.
2018-09-03 06:46:24 +00:00

11 lines
286 B
C

/* SPDX-License-Identifier: LGPL-2.1+ */
#include "fuzz.h"
#include "fuzz-journald.h"
#include "journald-syslog.h"
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
fuzz_journald_processing_function(data, size, server_process_syslog_message);
return 0;
}