]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/fuzz-regressions/meson.build
test: run all fuzz regression tests with all sanitizers
[thirdparty/systemd.git] / test / fuzz-regressions / meson.build
CommitLineData
b68dfb9e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
3# Copyright 2018 Zbigniew Jędrzejewski-Szmek
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9#
10# systemd is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public License
16# along with systemd; If not, see <http://www.gnu.org/licenses/>.
17
18sanitize_address = custom_target(
19 'sanitize-address-fuzzers',
20 output : 'sanitize-address-fuzzers',
21 command : [meson_build_sh,
22 meson.source_root(),
23 '@OUTPUT@',
24 'fuzzers',
25 '-Db_lundef=false -Db_sanitize=address'])
26
52d4d1d3
ZJS
27sanitizers = [['address', sanitize_address]]
28
b68dfb9e 29fuzz_regression_tests = '''
52d4d1d3
ZJS
30 fuzz-dns-packet/oss-fuzz-5465
31 fuzz-dns-packet/issue-7888
b68dfb9e 32'''.split()