mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
fix irc module in fuzzer
This commit is contained in:
parent
2e6c376342
commit
ef2c55fc18
@ -9,7 +9,7 @@ executable('event-get-params-fuzz',
|
|||||||
link_with : [
|
link_with : [
|
||||||
libconfig_a,
|
libconfig_a,
|
||||||
libcore_a,
|
libcore_a,
|
||||||
libirc_a,
|
libirc_core_a,
|
||||||
libfuzzer_fe_common_core_a,
|
libfuzzer_fe_common_core_a,
|
||||||
],
|
],
|
||||||
link_args : [fuzzer_lib],
|
link_args : [fuzzer_lib],
|
||||||
|
@ -32,7 +32,7 @@ executable('server-fuzz',
|
|||||||
libconfig_a,
|
libconfig_a,
|
||||||
libcore_a,
|
libcore_a,
|
||||||
libfuzzer_fe_common_core_a,
|
libfuzzer_fe_common_core_a,
|
||||||
libirc_a,
|
libirc_core_a,
|
||||||
libfe_common_irc_a,
|
libfe_common_irc_a,
|
||||||
libfe_irc_dcc_a,
|
libfe_irc_dcc_a,
|
||||||
libfe_irc_notifylist_a,
|
libfe_irc_notifylist_a,
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
#include <irssi/src/irc/core/irc-channels.h>
|
#include <irssi/src/irc/core/irc-channels.h>
|
||||||
#include <irssi/src/fe-fuzz/null-logger.h>
|
#include <irssi/src/fe-fuzz/null-logger.h>
|
||||||
|
|
||||||
/* irc.c */
|
/* irc-core.c */
|
||||||
void irc_init(void);
|
void irc_core_init(void);
|
||||||
void irc_deinit(void);
|
void irc_core_deinit(void);
|
||||||
|
|
||||||
/* irc-session.c */
|
/* irc-session.c */
|
||||||
void irc_session_init(void);
|
void irc_session_init(void);
|
||||||
@ -153,7 +153,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) {
|
|||||||
core_preinit((*argv)[0]);
|
core_preinit((*argv)[0]);
|
||||||
core_init();
|
core_init();
|
||||||
irssi_ssl_init();
|
irssi_ssl_init();
|
||||||
irc_init();
|
irc_core_init();
|
||||||
fe_common_core_init();
|
fe_common_core_init();
|
||||||
fe_common_irc_init();
|
fe_common_irc_init();
|
||||||
signal_add("event 001", (SIGNAL_FUNC) event_connected);
|
signal_add("event 001", (SIGNAL_FUNC) event_connected);
|
||||||
|
Loading…
Reference in New Issue
Block a user