summaryrefslogtreecommitdiffstats
path: root/src/fe-fuzz/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-fuzz/meson.build')
-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',
+# )