summaryrefslogtreecommitdiff
path: root/src/fuzz/meson.build
blob: a6c6db372b170d75fd9d5e864d23f0dadb11b94b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# SPDX-License-Identifier: LGPL-2.1+

fuzzers += [
        [['src/fuzz/fuzz-bus-message.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-catalog.c'],
         [libjournal_core,
          libshared],
         []],

        [['src/fuzz/fuzz-dns-packet.c',
          dns_type_headers],
         [libsystemd_resolve_core,
          libshared],
         [libgcrypt,
          libgpg_error,
          libm]],

        [['src/fuzz/fuzz-dhcp6-client.c',
          'src/libsystemd-network/dhcp-identifier.h',
          'src/libsystemd-network/dhcp-identifier.c',
          'src/libsystemd-network/dhcp6-internal.h',
          'src/systemd/sd-dhcp6-client.h'],
         [libshared,
          libsystemd_network],
         []],

        [['src/fuzz/fuzz-dhcp-server.c'],
         [libsystemd_network,
          libshared],
         []],

        [['src/fuzz/fuzz-lldp.c'],
         [libshared,
          libsystemd_network],
         []],

        [['src/fuzz/fuzz-ndisc-rs.c',
          'src/libsystemd-network/dhcp-identifier.h',
          'src/libsystemd-network/dhcp-identifier.c',
          'src/libsystemd-network/icmp6-util.h',
          'src/systemd/sd-dhcp6-client.h',
          'src/systemd/sd-ndisc.h'],
         [libshared,
          libsystemd_network],
         []],

        [['src/fuzz/fuzz-json.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-unit-file.c'],
         [libcore,
          libshared],
         [libmount]],

        [['src/fuzz/fuzz-journald-audit.c',
          'src/fuzz/fuzz-journald.c'],
         [libjournal_core,
          libshared],
         [libselinux]],

        [['src/fuzz/fuzz-journald-kmsg.c',
          'src/fuzz/fuzz-journald.c'],
         [libjournal_core,
          libshared],
         [libselinux]],

        [['src/fuzz/fuzz-journald-native.c',
          'src/fuzz/fuzz-journald.c'],
         [libjournal_core,
          libshared],
         [libselinux]],

        [['src/fuzz/fuzz-journald-native-fd.c',
          'src/fuzz/fuzz-journald.c'],
         [libjournal_core,
          libshared],
         [libselinux]],

        [['src/fuzz/fuzz-journald-stream.c',
          'src/fuzz/fuzz-journald.c'],
         [libjournal_core,
          libshared],
         [libselinux]],

        [['src/fuzz/fuzz-journald-syslog.c',
          'src/fuzz/fuzz-journald.c'],
         [libjournal_core,
          libshared],
         [libselinux]],

        [['src/fuzz/fuzz-journal-remote.c'],
         [libsystemd_journal_remote,
          libshared],
         []],

        [['src/fuzz/fuzz-udev-database.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-udev-rules.c'],
         [libudev_core,
          libudev_static,
          libsystemd_network,
          libshared],
         [threads,
          libacl]],

        [['src/fuzz/fuzz-compress.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-bus-label.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-env-file.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-hostname-util.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-nspawn-settings.c'],
         [libshared,
          libnspawn_core],
         [libseccomp]],

        [['src/fuzz/fuzz-nspawn-oci.c'],
         [libshared,
          libnspawn_core],
         [libseccomp]],

        [['src/fuzz/fuzz-calendarspec.c'],
         [libshared],
         []],

        [['src/fuzz/fuzz-time-util.c'],
         [libshared],
         []],
]