summaryrefslogtreecommitdiffstats
path: root/src/journal/fuzz-journald-native.c
blob: 6738d26e97f86fc796142d1ea057bcf23faa9aa7 (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-native.h"

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

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