summaryrefslogtreecommitdiffstats
path: root/src/fe-fuzz/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:18:39 +0000
commitfff5217f02d91268ce90c8c05665602c059faaef (patch)
tree2ba24d32dc96eafe7ed0a85269548e76796d849d /src/fe-fuzz/meson.build
parentInitial commit. (diff)
downloadirssi-upstream.tar.xz
irssi-upstream.zip
Adding upstream version 1.4.5.upstream/1.4.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/fe-fuzz/meson.build51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/fe-fuzz/meson.build b/src/fe-fuzz/meson.build
new file mode 100644
index 0000000..7fac025
--- /dev/null
+++ b/src/fe-fuzz/meson.build
@@ -0,0 +1,51 @@
+# this file is part of irssi
+
+subdir('irc')
+subdir('fe-common')
+
+executable('irssi-fuzz',
+ files(
+ 'null-logger.c',
+ 'irssi.c',
+ '../fe-text/module-formats.c',
+ ),
+ link_with : [
+ libconfig_a,
+ libcore_a,
+ libfuzzer_fe_common_core_a,
+ ],
+ link_args : [fuzzer_lib],
+ link_language : fuzzer_link_language,
+ include_directories : rootinc,
+ implicit_include_directories : false,
+ install : true,
+ dependencies : dep
+)
+
+executable('server-fuzz',
+ files(
+ 'null-logger.c',
+ 'server.c',
+ '../fe-text/module-formats.c',
+ ),
+ link_with : [
+ libconfig_a,
+ libcore_a,
+ libfuzzer_fe_common_core_a,
+ libirc_a,
+ libfe_common_irc_a,
+ libfe_irc_dcc_a,
+ libfe_irc_notifylist_a,
+ ],
+ link_args : [fuzzer_lib],
+ link_language : fuzzer_link_language,
+ include_directories : rootinc,
+ implicit_include_directories : false,
+ install : true,
+ dependencies : dep
+)
+
+# noinst_headers = files(
+# 'null-logger.h',
+# '../fe-text/module-formats.h',
+# )