1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-16 06:25:24 +00:00

fix irc module in fuzzer

This commit is contained in:
Ailin Nemui 2022-02-15 17:37:49 +01:00
parent 2e6c376342
commit ef2c55fc18
3 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ executable('event-get-params-fuzz',
link_with : [
libconfig_a,
libcore_a,
libirc_a,
libirc_core_a,
libfuzzer_fe_common_core_a,
],
link_args : [fuzzer_lib],

View File

@ -32,7 +32,7 @@ executable('server-fuzz',
libconfig_a,
libcore_a,
libfuzzer_fe_common_core_a,
libirc_a,
libirc_core_a,
libfe_common_irc_a,
libfe_irc_dcc_a,
libfe_irc_notifylist_a,

View File

@ -43,9 +43,9 @@
#include <irssi/src/irc/core/irc-channels.h>
#include <irssi/src/fe-fuzz/null-logger.h>
/* irc.c */
void irc_init(void);
void irc_deinit(void);
/* irc-core.c */
void irc_core_init(void);
void irc_core_deinit(void);
/* irc-session.c */
void irc_session_init(void);
@ -153,7 +153,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) {
core_preinit((*argv)[0]);
core_init();
irssi_ssl_init();
irc_init();
irc_core_init();
fe_common_core_init();
fe_common_irc_init();
signal_add("event 001", (SIGNAL_FUNC) event_connected);