diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-02-22 06:28:08 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-02-25 04:35:51 +0100 |
commit | a378400b3fac41b6d41f5ee52057c397ad82a55a (patch) | |
tree | 23512638d509f102dcaff102556f9d7b111ccd77 /src/udev/meson.build | |
parent | fuzz: use fflush() and drop unnecessary rewind() (diff) | |
download | systemd-a378400b3fac41b6d41f5ee52057c397ad82a55a.tar.xz systemd-a378400b3fac41b6d41f5ee52057c397ad82a55a.zip |
fuzz: add fuzzer for parsing .link files
This also renames load_link() to link_load_one()
Diffstat (limited to 'src/udev/meson.build')
-rw-r--r-- | src/udev/meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/udev/meson.build b/src/udev/meson.build index 9d3f6d1c56..2de88c0d93 100644 --- a/src/udev/meson.build +++ b/src/udev/meson.build @@ -197,3 +197,14 @@ configure_file( meson.add_install_script('sh', '-c', mkdir_p.format(join_paths(sysconfdir, 'udev/rules.d'))) + +fuzzers += [ + [['src/udev/net/fuzz-link-parser.c', + 'src/fuzz/fuzz.h'], + [libudev_core, + libudev_static, + libsystemd_network, + libshared], + [threads, + libacl]] + ] |