summaryrefslogtreecommitdiffstats
path: root/src/journal/fuzz-journald-syslog.c
blob: b3e2d3c09cbb75469bae20610e2ba952abffab2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include "fuzz.h"
#include "fuzz-journald.h"
#include "journald-syslog.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
        fuzz_setup_logging();

        fuzz_journald_processing_function(data, size, server_process_syslog_message);
        return 0;
}