mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 07:02:12 +02:00
meson build support
This commit is contained in:
parent
fb85fdec5c
commit
db16a0a853
57 changed files with 1787 additions and 46 deletions
|
|
@ -48,17 +48,21 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) {
|
|||
}
|
||||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
if (size < 1) {
|
||||
return 0;
|
||||
}
|
||||
uint8_t count = *data;
|
||||
gchar *copy = g_strndup((const gchar *)data+1, size-1);
|
||||
gchar *copy;
|
||||
|
||||
char *output0;
|
||||
char *output1;
|
||||
char *output2;
|
||||
char *output3;
|
||||
char *params;
|
||||
|
||||
if (size < 1) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
copy = g_strndup((const gchar *)data+1, size-1);
|
||||
|
||||
if (count % 8 == 0) {
|
||||
params = event_get_params(copy, 1 | PARAM_FLAG_GETREST, &output0);
|
||||
} else if (count % 8 == 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue