Fuzz introspector: libwget_iri_fuzzer
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
43 43 1 :

['_idn2_contexto_rule']

43 110 _idn2_label_test call site: 00209 /src/libidn2/lib/idna.c:233
6 927 9 :

['idn2_punycode_decode', 'u32_to_u8', '_idn2_label_test', 'get_map_data', 'map_is', 'malloc', 'u32_normalize', '__errno_location', 'get_idna_map']

6 967 _tr46 call site: 00107 /src/libidn2/lib/lookup.c:288
6 6 1 :

['__errno_location']

6 14 u32_normalize call site: 00154 /src/libunistring/lib/uninorm/u-normalize-internal.h:345
4 4 2 :

['gettext', '__errno_location']

6 6 wget_memiconv call site: 00066 /src/wget2/libwget/encoding.c:92
2 2 1 :

['__errno_location']

2 2 _idn2_label_test call site: 00183 /src/libidn2/lib/idna.c:144
2 2 1 :

['abort']

2 2 uc_canonical_decomposition call site: 00000 /src/libunistring/lib/uninorm/canonical-decomposition.c:88
2 2 1 :

['abort']

2 2 u32_normalize call site: 00156 /src/libunistring/lib/uninorm/u-normalize-internal.h:362
2 2 1 :

['__errno_location']

2 2 u32_to_u8 call site: 00172 /src/libunistring/lib/unistr/u32-to-u8.c:111
2 2 2 :

['__errno_location', 'malloc']

2 2 u8_to_u32 call site: 00094 /src/libunistring/lib/unistr/u8-to-u32.c:100
0 23 2 :

['map_is', 'get_idna_map']

0 23 _idn2_label_test call site: 00234 /src/libidn2/lib/idna.c:285
0 17 1 :

['wget_buffer_memset_append']

0 35 convert_dec call site: 00354 /src/wget2/libwget/buffer_printf.c:219
0 17 1 :

['wget_buffer_memset_append']

0 35 convert_dec call site: 00357 /src/wget2/libwget/buffer_printf.c:227

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 __assert_fail [call site] 00001
1 wget_iri_isreserved [function] [call site] 00002
2 wget_iri_isgendelim [function] [call site] 00003
2 wget_iri_issubdelim [function] [call site] 00004
1 wget_iri_set_defaultpage [function] [call site] 00005
2 strlen [call site] 00006
1 test(char*, unsigned long, char const*) [function] [call site] 00007
2 wget_iri_parse [function] [call site] 00008
3 c_isspace [function] [call site] 00009
3 c_isalpha [function] [call site] 00010
3 c_isalnum [function] [call site] 00011
3 c_isdigit [function] [call site] 00012
3 strlen [call site] 00013
3 wget_malloc [function] [call site] 00014
3 strchr [call site] 00015
3 wget_iri_unescape_inline [function] [call site] 00016
4 iri_unescape_inline [function] [call site] 00017
3 wget_strtolower [function] [call site] 00023
3 strcmp [call site] 00026
3 wget_debug_printf [function] [call site] 00027
3 wget_iri_free [function] [call site] 00028
4 wget_iri_free_content [function] [call site] 00029
3 wget_iri_unescape_inline [function] [call site] 00030
3 wget_iri_unescape_inline [function] [call site] 00031
3 normalize_path [function] [call site] 00032
4 wget_debug_printf [function] [call site] 00033
4 strncmp [call site] 00034
4 strcmp [call site] 00035
4 strncmp [call site] 00036
4 strcmp [call site] 00037
4 strlen [call site] 00038
4 wget_debug_printf [function] [call site] 00039
3 strlen [call site] 00040
3 wget_iri_unescape_inline [function] [call site] 00041
3 wget_debug_printf [function] [call site] 00042
3 strchr [call site] 00043
3 strchr [call site] 00044
3 strrchr [call site] 00045
3 strlen [call site] 00046
3 c_isdigit [function] [call site] 00047
3 strtoul [call site] 00048
3 gettext [call site] 00049
3 wget_error_printf [function] [call site] 00050
3 wget_iri_free [function] [call site] 00051
3 wget_strtolower [function] [call site] 00052
3 wget_str_needs_encoding [function] [call site] 00053
3 wget_str_to_utf8 [function] [call site] 00054
4 wget_striconv [function] [call site] 00055
5 strlen [call site] 00056
5 wget_memiconv [function] [call site] 00057
6 wget_strcasecmp_ascii [function] [call site] 00058
7 c_strcasecmp [function] [call site] 00059
6 iconv_open [call site] 00062
6 wget_malloc [function] [call site] 00063
6 iconv_close [call site] 00064
6 __errno_location [call site] 00065
6 iconv [call site] 00066
6 iconv [call site] 00067
6 wget_debug_printf [function] [call site] 00068
6 wget_realloc [function] [call site] 00069
6 gettext [call site] 00070
6 __errno_location [call site] 00071
6 wget_error_printf [function] [call site] 00072
6 iconv_close [call site] 00073
6 gettext [call site] 00074
6 __errno_location [call site] 00075
6 wget_error_printf [function] [call site] 00076
6 wget_strmemdup [function] [call site] 00077
7 wget_malloc [function] [call site] 00078
3 wget_str_to_ascii [function] [call site] 00079
4 wget_str_needs_encoding [function] [call site] 00080
4 idn2_lookup_u8 [function] [call site] 00081
5 set_default_flags [function] [call site] 00082
5 _tr46 [function] [call site] 00083
6 u8_strlen [function] [call site] 00084
7 strlen [call site] 00085
6 u8_to_u32 [function] [call site] 00086
7 u8_mbtoucr [function] [call site] 00087
7 libunistring_rpl_free [function] [call site] 00088
8 __errno_location [call site] 00089
8 __errno_location [call site] 00090
7 __errno_location [call site] 00091
7 realloc [call site] 00092
7 libunistring_rpl_free [function] [call site] 00093
7 __errno_location [call site] 00094
7 __errno_location [call site] 00095
7 realloc [call site] 00096
6 __errno_location [call site] 00097
6 get_idna_map [function] [call site] 00098
7 bsearch [call site] 00099
7 _compare_idna_map [function] [call site] 00100
8 _fill_map [function] [call site] 00101
7 bsearch [call site] 00102
7 _compare_idna_map [function] [call site] 00103
7 bsearch [call site] 00104
7 _compare_idna_map [function] [call site] 00105
7 _fill_map [function] [call site] 00106
6 get_idna_map [function] [call site] 00117
6 get_map_data [function] [call site] 00120
6 get_map_data [function] [call site] 00124
6 get_map_data [function] [call site] 00127
6 u32_normalize [function] [call site] 00129
7 u32_mbtouc_unsafe [function] [call site] 00130
7 abort [call site] 00131
7 abort [call site] 00132
7 uc_combining_class [function] [call site] 00133
7 libunistring_gl_uninorm_decompose_merge_sort_inplace [function] [call site] 00134
8 libunistring_gl_uninorm_decompose_merge_sort_inplace [function] [call site] 00135
9 gl_uninorm_decompose_merge_sort_fromto [function] [call site] 00136
10 gl_uninorm_decompose_merge_sort_fromto [function] [call site] 00137
11 gl_uninorm_decompose_merge_sort_fromto [function] [call site] 00138
7 u32_uctomb [function] [call site] 00141
7 __errno_location [call site] 00142
7 abort [call site] 00143
7 __errno_location [call site] 00144
7 __errno_location [call site] 00145
7 realloc [call site] 00147
7 __errno_location [call site] 00148
7 u32_uctomb [function] [call site] 00149
7 __errno_location [call site] 00150
7 abort [call site] 00151
7 abort [call site] 00152
7 __errno_location [call site] 00153
7 libunistring_rpl_free [function] [call site] 00154
7 __errno_location [call site] 00155
7 realloc [call site] 00156
7 abort [call site] 00157
7 libunistring_rpl_free [function] [call site] 00158
7 __errno_location [call site] 00159
7 libunistring_rpl_free [function] [call site] 00160
7 libunistring_rpl_free [function] [call site] 00161
7 __errno_location [call site] 00162
6 __errno_location [call site] 00164
6 u32_to_u8 [function] [call site] 00165
7 u8_uctomb [function] [call site] 00166
7 libunistring_rpl_free [function] [call site] 00167
7 __errno_location [call site] 00168
7 realloc [call site] 00169
7 libunistring_rpl_free [function] [call site] 00170
7 u8_uctomb [function] [call site] 00171
7 abort [call site] 00172
7 __errno_location [call site] 00173
7 realloc [call site] 00174
6 __errno_location [call site] 00176
6 idn2_punycode_decode [function] [call site] 00177
6 _idn2_label_test [function] [call site] 00182
7 u32_normalize [function] [call site] 00183
7 __errno_location [call site] 00184
7 memcmp [call site] 00185
7 uc_is_general_category [function] [call site] 00187
8 bitmap_lookup [function] [call site] 00188
7 _idn2_disallowed_p [function] [call site] 00189
8 property [function] [call site] 00190
9 bsearch [call site] 00191
7 get_idna_map [function] [call site] 00193
7 _idn2_contextj_p [function] [call site] 00196
7 _idn2_contextj_rule [function] [call site] 00198
8 _idn2_contextj_p [function] [call site] 00199
8 uc_combining_class [function] [call site] 00200
8 uc_joining_type [function] [call site] 00201
9 uc_is_general_category_withtable [function] [call site] 00202
10 lookup_withtable [function] [call site] 00203
8 uc_joining_type [function] [call site] 00204
8 uc_combining_class [function] [call site] 00205
7 _idn2_contexto_p [function] [call site] 00206
7 _idn2_contexto_p [function] [call site] 00208
7 _idn2_contexto_with_rule [function] [call site] 00209
7 _idn2_contexto_rule [function] [call site] 00210
8 _idn2_contexto_p [function] [call site] 00211
8 _uc_script_name [function] [call site] 00212
9 uc_script [function] [call site] 00213
8 strcmp [call site] 00214
8 _uc_script_name [function] [call site] 00215
8 strcmp [call site] 00216
8 _uc_script_name [function] [call site] 00217
8 strcmp [call site] 00218
8 _uc_script_name [function] [call site] 00219
8 strcmp [call site] 00220
8 _uc_script_name [function] [call site] 00221
8 strcmp [call site] 00222
7 _idn2_unassigned_p [function] [call site] 00223
7 _idn2_bidi [function] [call site] 00225
8 _isBidi [function] [call site] 00226
9 uc_bidi_category [function] [call site] 00227
10 uc_bidi_class [function] [call site] 00228
8 uc_bidi_category [function] [call site] 00229
8 uc_bidi_category [function] [call site] 00230
8 uc_bidi_category [function] [call site] 00231
7 get_idna_map [function] [call site] 00232
6 _idn2_label_test [function] [call site] 00236
6 u32_to_u8 [function] [call site] 00237
6 __errno_location [call site] 00239
5 strchrnul [call site] 00241
5 label [function] [call site] 00242
6 _idn2_ascii_p [function] [call site] 00243
6 memcmp [call site] 00244
6 idn2_punycode_decode [function] [call site] 00245
6 u32_to_u8 [function] [call site] 00246
6 __errno_location [call site] 00247
6 _idn2_u8_to_u32_nfc [function] [call site] 00248
7 u8_to_u32 [function] [call site] 00249
7 __errno_location [call site] 00250
7 _isNFC [function] [call site] 00251
8 uc_combining_class [function] [call site] 00252
8 get_nfcqc_map [function] [call site] 00253
9 bsearch [call site] 00254
9 _compare_nfcqc_map [function] [call site] 00255
7 u32_normalize [function] [call site] 00256
7 __errno_location [call site] 00258
6 _idn2_label_test [function] [call site] 00259
6 idn2_punycode_encode [function] [call site] 00260
7 encode_digit [function] [call site] 00261
7 encode_digit [function] [call site] 00262
6 c_strncasecmp [function] [call site] 00264
6 idn2_punycode_decode [function] [call site] 00267
4 idn2_lookup_u8 [function] [call site] 00275
4 wget_debug_printf [function] [call site] 00276
4 gettext [call site] 00277
4 idn2_strerror [function] [call site] 00278
4 wget_error_printf [function] [call site] 00279
3 wget_ip_is_family [function] [call site] 00280
4 inet_pton [call site] 00281
4 inet_pton [call site] 00282
3 gettext [call site] 00283
3 wget_error_printf [function] [call site] 00284
3 wget_iri_free [function] [call site] 00285
3 wget_str_needs_encoding [function] [call site] 00286
3 wget_str_to_utf8 [function] [call site] 00287
3 wget_str_needs_encoding [function] [call site] 00288
3 wget_str_to_utf8 [function] [call site] 00289
3 wget_str_needs_encoding [function] [call site] 00290
3 wget_str_to_utf8 [function] [call site] 00291
3 create_safe_uri [function] [call site] 00292
4 strlen [call site] 00293
4 wget_buffer_alloc [function] [call site] 00294
5 wget_malloc [function] [call site] 00295
5 wget_buffer_init [function] [call site] 00296
6 wget_malloc [function] [call site] 00297
4 wget_buffer_printf [function] [call site] 00298
5 wget_buffer_vprintf [function] [call site] 00299
6 wget_buffer_vprintf_append [function] [call site] 00300
7 wget_buffer_memcat [function] [call site] 00301
8 buffer_realloc [function] [call site] 00302
9 wget_realloc [function] [call site] 00303
9 wget_malloc [function] [call site] 00304
7 wget_buffer_strcat [function] [call site] 00305
8 strlen [call site] 00306
8 wget_buffer_memcat [function] [call site] 00307
7 convert_dec_fast [function] [call site] 00308
8 wget_buffer_memcat [function] [call site] 00309
7 wget_buffer_memcat [function] [call site] 00310
7 convert_pointer [function] [call site] 00311
8 wget_buffer_memcat [function] [call site] 00312
8 wget_buffer_memcat [function] [call site] 00313
8 wget_buffer_memcat [function] [call site] 00314
7 wget_buffer_memset_append [function] [call site] 00315
8 buffer_realloc [function] [call site] 00316
7 read_flag_chars [function] [call site] 00317
7 read_field_width [function] [call site] 00318
8 c_isdigit [function] [call site] 00319
7 read_field_width [function] [call site] 00320
7 read_precision [function] [call site] 00321
7 read_precision [function] [call site] 00324
7 copy_string [function] [call site] 00325
8 wget_buffer_strcat [function] [call site] 00326
8 strnlen [call site] 00327
8 strlen [call site] 00328
8 wget_buffer_memcat [function] [call site] 00329
8 wget_buffer_memset_append [function] [call site] 00330
8 wget_buffer_memset_append [function] [call site] 00331
8 wget_buffer_memcat [function] [call site] 00332
8 wget_buffer_memcat [function] [call site] 00333
8 wget_buffer_memcat [function] [call site] 00334
7 copy_string [function] [call site] 00335
7 convert_dec [function] [call site] 00336
8 wget_buffer_memset_append [function] [call site] 00337
8 wget_buffer_memset_append [function] [call site] 00338
8 wget_buffer_memcat [function] [call site] 00339
8 wget_buffer_memset_append [function] [call site] 00340
8 wget_buffer_memcat [function] [call site] 00341
8 wget_buffer_memset_append [function] [call site] 00342
8 wget_buffer_memset_append [function] [call site] 00343
8 wget_buffer_memset_append [function] [call site] 00344
8 wget_buffer_memset_append [function] [call site] 00345
8 wget_buffer_memset_append [function] [call site] 00346
8 wget_buffer_memset_append [function] [call site] 00347
8 wget_buffer_memset_append [function] [call site] 00348
8 wget_buffer_memset_append [function] [call site] 00349
8 wget_buffer_memset_append [function] [call site] 00350
8 wget_buffer_memset_append [function] [call site] 00351
8 wget_buffer_memset_append [function] [call site] 00352
8 wget_buffer_memcat [function] [call site] 00353
8 wget_buffer_memset_append [function] [call site] 00354
8 wget_buffer_memset_append [function] [call site] 00355
8 wget_buffer_memcat [function] [call site] 00356
8 wget_buffer_memset_append [function] [call site] 00357
8 wget_buffer_memset_append [function] [call site] 00358
8 wget_buffer_memcat [function] [call site] 00359
7 convert_dec [function] [call site] 00360
7 convert_dec [function] [call site] 00361
7 convert_dec [function] [call site] 00362
7 convert_dec [function] [call site] 00363
7 convert_dec [function] [call site] 00364
7 wget_buffer_memset_append [function] [call site] 00365
4 wget_buffer_strcat [function] [call site] 00366
4 wget_buffer_strcat [function] [call site] 00367
4 wget_buffer_strcat [function] [call site] 00368
4 wget_buffer_strcat [function] [call site] 00369
4 wget_buffer_strcat [function] [call site] 00370
4 wget_buffer_strcat [function] [call site] 00371
4 wget_buffer_free [function] [call site] 00372
5 wget_buffer_deinit [function] [call site] 00373
2 __assert_fail [call site] 00374
2 wget_iri_parse [function] [call site] 00375
2 wget_iri_clone [function] [call site] 00376
3 strlen [call site] 00377
3 wget_malloc [function] [call site] 00378
3 wget_strdup [function] [call site] 00379
4 strlen [call site] 00380
4 wget_memdup [function] [call site] 00381
5 wget_malloc [function] [call site] 00382
3 wget_strdup [function] [call site] 00383
3 wget_strdup [function] [call site] 00384
3 wget_strdup [function] [call site] 00385
3 wget_strdup [function] [call site] 00386
3 wget_strdup [function] [call site] 00387
2 wget_iri_free [function] [call site] 00388
2 wget_iri_parse_base [function] [call site] 00389
3 wget_buffer_init [function] [call site] 00390
3 wget_iri_relative_to_abs [function] [call site] 00391
4 strlen [call site] 00392
4 wget_malloc [function] [call site] 00393
4 wget_strscpy [function] [call site] 00394
4 strchr [call site] 00395
4 normalize_path [function] [call site] 00396
4 wget_buffer_strcpy [function] [call site] 00397
5 strlen [call site] 00398
5 wget_buffer_memcat [function] [call site] 00399
4 wget_buffer_strcat [function] [call site] 00400
4 wget_buffer_strcat [function] [call site] 00401
4 normalize_path [function] [call site] 00402
4 wget_buffer_reset [function] [call site] 00403
4 wget_iri_get_connection_part [function] [call site] 00404
5 wget_ip_is_family [function] [call site] 00405
5 wget_buffer_printf_append [function] [call site] 00406
6 wget_buffer_vprintf_append [function] [call site] 00407
5 wget_buffer_printf_append [function] [call site] 00408
5 wget_buffer_printf_append [function] [call site] 00409
4 wget_buffer_strcat [function] [call site] 00410
4 wget_buffer_strcat [function] [call site] 00411
4 memchr [call site] 00412
4 wget_buffer_memcpy [function] [call site] 00413
5 wget_buffer_memcat [function] [call site] 00414
4 strrchr [call site] 00415
4 wget_buffer_reset [function] [call site] 00416
4 wget_iri_get_connection_part [function] [call site] 00417
4 wget_buffer_strcat [function] [call site] 00418
4 wget_buffer_memcat [function] [call site] 00419
4 wget_buffer_memcat [function] [call site] 00420
4 normalize_path [function] [call site] 00421
3 wget_iri_parse [function] [call site] 00422
3 wget_buffer_deinit [function] [call site] 00423
3 wget_iri_relative_to_abs [function] [call site] 00424
3 wget_iri_parse [function] [call site] 00425
2 wget_iri_free [function] [call site] 00426
2 wget_iri_parse_base [function] [call site] 00427
2 wget_iri_compare [function] [call site] 00428
3 wget_strcasecmp [function] [call site] 00429
4 strcasecmp [call site] 00430
3 wget_strcasecmp [function] [call site] 00431
3 strcmp [call site] 00432
2 wget_iri_free [function] [call site] 00433
2 wget_buffer_init [function] [call site] 00434
2 wget_buffer_printf [function] [call site] 00435
2 wget_iri_relative_to_abs [function] [call site] 00436
2 wget_iri_escape [function] [call site] 00437
3 wget_buffer_memcat [function] [call site] 00438
3 wget_buffer_printf_append [function] [call site] 00439
3 wget_buffer_memcat [function] [call site] 00440
2 wget_iri_escape_path [function] [call site] 00441
3 wget_buffer_memcat [function] [call site] 00442
3 wget_buffer_printf_append [function] [call site] 00443
3 wget_buffer_memcat [function] [call site] 00444
2 wget_iri_escape_query [function] [call site] 00445
3 wget_buffer_memcat [function] [call site] 00446
3 wget_buffer_memcat [function] [call site] 00447
3 wget_buffer_printf_append [function] [call site] 00448
3 wget_buffer_memcat [function] [call site] 00449
2 wget_iri_supported [function] [call site] 00450
2 wget_iri_set_scheme [function] [call site] 00451
3 strlen [call site] 00452
3 strncmp [call site] 00453
3 wget_aprintf [function] [call site] 00454
4 wget_vasprintf [function] [call site] 00455
5 wget_buffer_init [function] [call site] 00456
5 wget_buffer_vprintf [function] [call site] 00457
5 wget_realloc [function] [call site] 00458
3 create_safe_uri [function] [call site] 00459
2 wget_iri_get_escaped_host [function] [call site] 00460
3 wget_iri_escape [function] [call site] 00461
2 wget_iri_get_escaped_resource [function] [call site] 00462
3 wget_iri_escape_path [function] [call site] 00463
3 wget_buffer_memcat [function] [call site] 00464
3 wget_buffer_memcat [function] [call site] 00465
2 wget_iri_get_path [function] [call site] 00466
3 wget_buffer_memcat [function] [call site] 00467
3 wget_strcasecmp_ascii [function] [call site] 00468
3 wget_utf8_to_str [function] [call site] 00469
4 wget_striconv [function] [call site] 00470
3 wget_buffer_strcat [function] [call site] 00471
3 wget_buffer_strcat [function] [call site] 00472
3 wget_buffer_strcat [function] [call site] 00473
3 wget_buffer_memcat [function] [call site] 00474
2 wget_iri_get_query_as_filename [function] [call site] 00475
3 wget_buffer_memcat [function] [call site] 00476
3 wget_strcasecmp_ascii [function] [call site] 00477
3 wget_utf8_to_str [function] [call site] 00478
3 strchr [call site] 00479
3 wget_buffer_memcat [function] [call site] 00480
3 wget_buffer_memcat [function] [call site] 00481
3 wget_buffer_memcat [function] [call site] 00482
3 wget_buffer_strcat [function] [call site] 00483
2 wget_iri_get_basename [function] [call site] 00484
3 wget_strcasecmp_ascii [function] [call site] 00485
3 strrchr [call site] 00486
3 wget_utf8_to_str [function] [call site] 00487
3 wget_buffer_strcat [function] [call site] 00488
3 wget_utf8_to_str [function] [call site] 00489
3 wget_buffer_strcat [function] [call site] 00490
3 wget_buffer_strcat [function] [call site] 00491
3 strrchr [call site] 00492
3 wget_buffer_strcat [function] [call site] 00493
3 wget_buffer_strcat [function] [call site] 00494
3 wget_buffer_memcat [function] [call site] 00495
3 wget_iri_get_query_as_filename [function] [call site] 00496
2 wget_iri_get_connection_part [function] [call site] 00497
2 wget_buffer_deinit [function] [call site] 00498
2 wget_iri_free [function] [call site] 00499
2 wget_iri_free [function] [call site] 00500
1 test(char*, unsigned long, char const*) [function] [call site] 00501