Fuzz introspector: libwget_css_url_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
183 183 1 :

['create_safe_uri']

183 183 wget_iri_parse call site: 00285 /src/wget2/libwget/iri.c:689
91 91 1 :

['wget_str_to_utf8']

274 274 wget_iri_parse call site: 00284 /src/wget2/libwget/iri.c:682
82 82 8 :

['ferror', 'wget_error_printf_exit', 'fread', 'getc', 'clearerr', 'yyrealloc', 'yyrestart', '__errno_location']

82 82 yy_get_next_buffer call site: 00410 /src/wget2/libwget/css_tokenizer.c:3108
4 4 2 :

['strrchr', 'strlen']

557 1385 wget_iri_parse call site: 00038 /src/wget2/libwget/iri.c:609
2 16 2 :

['c_isdigit', 'strtoul']

553 1381 wget_iri_parse call site: 00040 /src/wget2/libwget/iri.c:625
2 2 1 :

['strchr']

559 1387 wget_iri_parse call site: 00037 /src/wget2/libwget/iri.c:600
2 2 1 :

['strlen']

8 650 wget_iri_relative_to_abs call site: 00473 /src/wget2/libwget/iri.c:894
2 2 1 :

['__errno_location']

2 2 yylex_init call site: 00373 /src/wget2/libwget/css_tokenizer.c:3920
0 153 1 :

['wget_buffer_printf_append']

0 153 wget_iri_get_connection_part call site: 00490 /src/wget2/libwget/iri.c:785
0 67 1 :

['wget_iri_unescape_inline']

563 1458 wget_iri_parse call site: 00026 /src/wget2/libwget/iri.c:587
0 37 1 :

['normalize_path']

563 1562 wget_iri_parse call site: 00024 /src/wget2/libwget/iri.c:565
0 0 None 586 645 wget_buffer_vprintf_append call site: 00294 /src/wget2/libwget/buffer_printf.c:346

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 __assert_fail [call site] 00001
1 wget_iri_parse [function] [call site] 00002
2 c_isspace [function] [call site] 00003
2 c_isalpha [function] [call site] 00004
2 c_isalnum [function] [call site] 00005
2 c_isdigit [function] [call site] 00006
2 strlen [call site] 00007
2 wget_malloc [function] [call site] 00008
2 strchr [call site] 00009
2 wget_iri_unescape_inline [function] [call site] 00010
3 iri_unescape_inline [function] [call site] 00011
2 wget_strtolower [function] [call site] 00017
2 strcmp [call site] 00020
2 wget_debug_printf [function] [call site] 00021
2 wget_iri_free [function] [call site] 00022
3 wget_iri_free_content [function] [call site] 00023
2 wget_iri_unescape_inline [function] [call site] 00024
2 wget_iri_unescape_inline [function] [call site] 00025
2 normalize_path [function] [call site] 00026
3 wget_debug_printf [function] [call site] 00027
3 strncmp [call site] 00028
3 strcmp [call site] 00029
3 strncmp [call site] 00030
3 strcmp [call site] 00031
3 strlen [call site] 00032
3 wget_debug_printf [function] [call site] 00033
2 strlen [call site] 00034
2 wget_iri_unescape_inline [function] [call site] 00035
2 wget_debug_printf [function] [call site] 00036
2 strchr [call site] 00037
2 strchr [call site] 00038
2 strrchr [call site] 00039
2 strlen [call site] 00040
2 c_isdigit [function] [call site] 00041
2 strtoul [call site] 00042
2 gettext [call site] 00043
2 wget_error_printf [function] [call site] 00044
2 wget_iri_free [function] [call site] 00045
2 wget_strtolower [function] [call site] 00046
2 wget_str_needs_encoding [function] [call site] 00047
2 wget_str_to_utf8 [function] [call site] 00048
3 wget_striconv [function] [call site] 00049
4 strlen [call site] 00050
4 wget_memiconv [function] [call site] 00051
5 wget_strcasecmp_ascii [function] [call site] 00052
6 c_strcasecmp [function] [call site] 00053
5 iconv_open [call site] 00056
5 wget_malloc [function] [call site] 00057
5 iconv_close [call site] 00058
5 __errno_location [call site] 00059
5 iconv [call site] 00060
5 iconv [call site] 00061
5 wget_debug_printf [function] [call site] 00062
5 wget_realloc [function] [call site] 00063
5 gettext [call site] 00064
5 __errno_location [call site] 00065
5 wget_error_printf [function] [call site] 00066
5 iconv_close [call site] 00067
5 gettext [call site] 00068
5 __errno_location [call site] 00069
5 wget_error_printf [function] [call site] 00070
5 wget_strmemdup [function] [call site] 00071
6 wget_malloc [function] [call site] 00072
2 wget_str_to_ascii [function] [call site] 00073
3 wget_str_needs_encoding [function] [call site] 00074
3 idn2_lookup_u8 [function] [call site] 00075
4 set_default_flags [function] [call site] 00076
4 _tr46 [function] [call site] 00077
5 u8_strlen [function] [call site] 00078
6 strlen [call site] 00079
5 u8_to_u32 [function] [call site] 00080
6 u8_mbtoucr [function] [call site] 00081
6 libunistring_rpl_free [function] [call site] 00082
7 __errno_location [call site] 00083
7 __errno_location [call site] 00084
6 __errno_location [call site] 00085
6 realloc [call site] 00086
6 libunistring_rpl_free [function] [call site] 00087
6 __errno_location [call site] 00088
6 __errno_location [call site] 00089
6 realloc [call site] 00090
5 __errno_location [call site] 00091
5 get_idna_map [function] [call site] 00092
6 bsearch [call site] 00093
6 _compare_idna_map [function] [call site] 00094
7 _fill_map [function] [call site] 00095
6 bsearch [call site] 00096
6 _compare_idna_map [function] [call site] 00097
6 bsearch [call site] 00098
6 _compare_idna_map [function] [call site] 00099
6 _fill_map [function] [call site] 00100
5 get_idna_map [function] [call site] 00111
5 get_map_data [function] [call site] 00114
5 get_map_data [function] [call site] 00118
5 get_map_data [function] [call site] 00121
5 u32_normalize [function] [call site] 00123
6 u32_mbtouc_unsafe [function] [call site] 00124
6 abort [call site] 00125
6 abort [call site] 00126
6 uc_combining_class [function] [call site] 00127
6 libunistring_gl_uninorm_decompose_merge_sort_inplace [function] [call site] 00128
7 libunistring_gl_uninorm_decompose_merge_sort_inplace [function] [call site] 00129
8 gl_uninorm_decompose_merge_sort_fromto [function] [call site] 00130
9 gl_uninorm_decompose_merge_sort_fromto [function] [call site] 00131
10 gl_uninorm_decompose_merge_sort_fromto [function] [call site] 00132
6 u32_uctomb [function] [call site] 00135
6 __errno_location [call site] 00136
6 abort [call site] 00137
6 __errno_location [call site] 00138
6 __errno_location [call site] 00139
6 realloc [call site] 00141
6 __errno_location [call site] 00142
6 u32_uctomb [function] [call site] 00143
6 __errno_location [call site] 00144
6 abort [call site] 00145
6 abort [call site] 00146
6 __errno_location [call site] 00147
6 libunistring_rpl_free [function] [call site] 00148
6 __errno_location [call site] 00149
6 realloc [call site] 00150
6 abort [call site] 00151
6 libunistring_rpl_free [function] [call site] 00152
6 __errno_location [call site] 00153
6 libunistring_rpl_free [function] [call site] 00154
6 libunistring_rpl_free [function] [call site] 00155
6 __errno_location [call site] 00156
5 __errno_location [call site] 00158
5 u32_to_u8 [function] [call site] 00159
6 u8_uctomb [function] [call site] 00160
6 libunistring_rpl_free [function] [call site] 00161
6 __errno_location [call site] 00162
6 realloc [call site] 00163
6 libunistring_rpl_free [function] [call site] 00164
6 u8_uctomb [function] [call site] 00165
6 abort [call site] 00166
6 __errno_location [call site] 00167
6 realloc [call site] 00168
5 __errno_location [call site] 00170
5 idn2_punycode_decode [function] [call site] 00171
5 _idn2_label_test [function] [call site] 00176
6 u32_normalize [function] [call site] 00177
6 __errno_location [call site] 00178
6 memcmp [call site] 00179
6 uc_is_general_category [function] [call site] 00181
7 bitmap_lookup [function] [call site] 00182
6 _idn2_disallowed_p [function] [call site] 00183
7 property [function] [call site] 00184
8 bsearch [call site] 00185
6 get_idna_map [function] [call site] 00187
6 _idn2_contextj_p [function] [call site] 00190
6 _idn2_contextj_rule [function] [call site] 00192
7 _idn2_contextj_p [function] [call site] 00193
7 uc_combining_class [function] [call site] 00194
7 uc_joining_type [function] [call site] 00195
8 uc_is_general_category_withtable [function] [call site] 00196
9 lookup_withtable [function] [call site] 00197
7 uc_joining_type [function] [call site] 00198
7 uc_combining_class [function] [call site] 00199
6 _idn2_contexto_p [function] [call site] 00200
6 _idn2_contexto_p [function] [call site] 00202
6 _idn2_contexto_with_rule [function] [call site] 00203
6 _idn2_contexto_rule [function] [call site] 00204
7 _idn2_contexto_p [function] [call site] 00205
7 _uc_script_name [function] [call site] 00206
8 uc_script [function] [call site] 00207
7 strcmp [call site] 00208
7 _uc_script_name [function] [call site] 00209
7 strcmp [call site] 00210
7 _uc_script_name [function] [call site] 00211
7 strcmp [call site] 00212
7 _uc_script_name [function] [call site] 00213
7 strcmp [call site] 00214
7 _uc_script_name [function] [call site] 00215
7 strcmp [call site] 00216
6 _idn2_unassigned_p [function] [call site] 00217
6 _idn2_bidi [function] [call site] 00219
7 _isBidi [function] [call site] 00220
8 uc_bidi_category [function] [call site] 00221
9 uc_bidi_class [function] [call site] 00222
7 uc_bidi_category [function] [call site] 00223
7 uc_bidi_category [function] [call site] 00224
7 uc_bidi_category [function] [call site] 00225
6 get_idna_map [function] [call site] 00226
5 _idn2_label_test [function] [call site] 00230
5 u32_to_u8 [function] [call site] 00231
5 __errno_location [call site] 00233
4 strchrnul [call site] 00235
4 label [function] [call site] 00236
5 _idn2_ascii_p [function] [call site] 00237
5 memcmp [call site] 00238
5 idn2_punycode_decode [function] [call site] 00239
5 u32_to_u8 [function] [call site] 00240
5 __errno_location [call site] 00241
5 _idn2_u8_to_u32_nfc [function] [call site] 00242
6 u8_to_u32 [function] [call site] 00243
6 __errno_location [call site] 00244
6 _isNFC [function] [call site] 00245
7 uc_combining_class [function] [call site] 00246
7 get_nfcqc_map [function] [call site] 00247
8 bsearch [call site] 00248
8 _compare_nfcqc_map [function] [call site] 00249
6 u32_normalize [function] [call site] 00250
6 __errno_location [call site] 00252
5 _idn2_label_test [function] [call site] 00253
5 idn2_punycode_encode [function] [call site] 00254
6 encode_digit [function] [call site] 00255
6 encode_digit [function] [call site] 00256
5 c_strncasecmp [function] [call site] 00258
5 idn2_punycode_decode [function] [call site] 00261
3 idn2_lookup_u8 [function] [call site] 00269
3 wget_debug_printf [function] [call site] 00270
3 gettext [call site] 00271
3 idn2_strerror [function] [call site] 00272
3 wget_error_printf [function] [call site] 00273
2 wget_ip_is_family [function] [call site] 00274
3 inet_pton [call site] 00275
3 inet_pton [call site] 00276
2 gettext [call site] 00277
2 wget_error_printf [function] [call site] 00278
2 wget_iri_free [function] [call site] 00279
2 wget_str_needs_encoding [function] [call site] 00280
2 wget_str_to_utf8 [function] [call site] 00281
2 wget_str_needs_encoding [function] [call site] 00282
2 wget_str_to_utf8 [function] [call site] 00283
2 wget_str_needs_encoding [function] [call site] 00284
2 wget_str_to_utf8 [function] [call site] 00285
2 create_safe_uri [function] [call site] 00286
3 strlen [call site] 00287
3 wget_buffer_alloc [function] [call site] 00288
4 wget_malloc [function] [call site] 00289
4 wget_buffer_init [function] [call site] 00290
5 wget_malloc [function] [call site] 00291
3 wget_buffer_printf [function] [call site] 00292
4 wget_buffer_vprintf [function] [call site] 00293
5 wget_buffer_vprintf_append [function] [call site] 00294
6 wget_buffer_memcat [function] [call site] 00295
7 buffer_realloc [function] [call site] 00296
8 wget_realloc [function] [call site] 00297
8 wget_malloc [function] [call site] 00298
6 wget_buffer_strcat [function] [call site] 00299
7 strlen [call site] 00300
7 wget_buffer_memcat [function] [call site] 00301
6 convert_dec_fast [function] [call site] 00302
7 wget_buffer_memcat [function] [call site] 00303
6 wget_buffer_memcat [function] [call site] 00304
6 convert_pointer [function] [call site] 00305
7 wget_buffer_memcat [function] [call site] 00306
7 wget_buffer_memcat [function] [call site] 00307
7 wget_buffer_memcat [function] [call site] 00308
6 wget_buffer_memset_append [function] [call site] 00309
7 buffer_realloc [function] [call site] 00310
6 read_flag_chars [function] [call site] 00311
6 read_field_width [function] [call site] 00312
7 c_isdigit [function] [call site] 00313
6 read_field_width [function] [call site] 00314
6 read_precision [function] [call site] 00315
6 read_precision [function] [call site] 00318
6 copy_string [function] [call site] 00319
7 wget_buffer_strcat [function] [call site] 00320
7 strnlen [call site] 00321
7 strlen [call site] 00322
7 wget_buffer_memcat [function] [call site] 00323
7 wget_buffer_memset_append [function] [call site] 00324
7 wget_buffer_memset_append [function] [call site] 00325
7 wget_buffer_memcat [function] [call site] 00326
7 wget_buffer_memcat [function] [call site] 00327
7 wget_buffer_memcat [function] [call site] 00328
6 copy_string [function] [call site] 00329
6 convert_dec [function] [call site] 00330
7 wget_buffer_memset_append [function] [call site] 00331
7 wget_buffer_memset_append [function] [call site] 00332
7 wget_buffer_memcat [function] [call site] 00333
7 wget_buffer_memset_append [function] [call site] 00334
7 wget_buffer_memcat [function] [call site] 00335
7 wget_buffer_memset_append [function] [call site] 00336
7 wget_buffer_memset_append [function] [call site] 00337
7 wget_buffer_memset_append [function] [call site] 00338
7 wget_buffer_memset_append [function] [call site] 00339
7 wget_buffer_memset_append [function] [call site] 00340
7 wget_buffer_memset_append [function] [call site] 00341
7 wget_buffer_memset_append [function] [call site] 00342
7 wget_buffer_memset_append [function] [call site] 00343
7 wget_buffer_memset_append [function] [call site] 00344
7 wget_buffer_memset_append [function] [call site] 00345
7 wget_buffer_memset_append [function] [call site] 00346
7 wget_buffer_memcat [function] [call site] 00347
7 wget_buffer_memset_append [function] [call site] 00348
7 wget_buffer_memset_append [function] [call site] 00349
7 wget_buffer_memcat [function] [call site] 00350
7 wget_buffer_memset_append [function] [call site] 00351
7 wget_buffer_memset_append [function] [call site] 00352
7 wget_buffer_memcat [function] [call site] 00353
6 convert_dec [function] [call site] 00354
6 convert_dec [function] [call site] 00355
6 convert_dec [function] [call site] 00356
6 convert_dec [function] [call site] 00357
6 convert_dec [function] [call site] 00358
6 wget_buffer_memset_append [function] [call site] 00359
3 wget_buffer_strcat [function] [call site] 00360
3 wget_buffer_strcat [function] [call site] 00361
3 wget_buffer_strcat [function] [call site] 00362
3 wget_buffer_strcat [function] [call site] 00363
3 wget_buffer_strcat [function] [call site] 00364
3 wget_buffer_strcat [function] [call site] 00365
3 wget_buffer_free [function] [call site] 00366
4 wget_buffer_deinit [function] [call site] 00367
1 __assert_fail [call site] 00368
1 wget_css_get_urls [function] [call site] 00369
2 wget_css_parse_buffer [function] [call site] 00370
3 yylex_init [function] [call site] 00371
4 __errno_location [call site] 00372
4 __errno_location [call site] 00375
4 yy_init_globals [function] [call site] 00376
3 yy_scan_bytes [function] [call site] 00377
4 wget_error_printf_exit [function] [call site] 00379
5 exit [call site] 00380
4 yy_scan_buffer [function] [call site] 00381
5 wget_error_printf_exit [function] [call site] 00383
5 yy_switch_to_buffer [function] [call site] 00384
6 yyensure_buffer_stack [function] [call site] 00385
7 wget_error_printf_exit [function] [call site] 00387
7 yyrealloc [function] [call site] 00388
8 wget_realloc [function] [call site] 00389
7 wget_error_printf_exit [function] [call site] 00390
6 yy_load_buffer_state [function] [call site] 00391
4 wget_error_printf_exit [function] [call site] 00392
3 yylex [function] [call site] 00393
4 yyensure_buffer_stack [function] [call site] 00394
4 yy_create_buffer [function] [call site] 00395
5 wget_error_printf_exit [function] [call site] 00397
5 wget_error_printf_exit [function] [call site] 00399
5 yy_init_buffer [function] [call site] 00400
6 __errno_location [call site] 00401
6 yy_flush_buffer [function] [call site] 00402
7 yy_load_buffer_state [function] [call site] 00403
6 __errno_location [call site] 00404
4 yy_load_buffer_state [function] [call site] 00405
4 fwrite [call site] 00406
4 yy_get_previous_state [function] [call site] 00407
4 yy_try_NUL_trans [function] [call site] 00408
4 yy_get_next_buffer [function] [call site] 00409
5 wget_error_printf_exit [function] [call site] 00410
5 yyrealloc [function] [call site] 00411
5 wget_error_printf_exit [function] [call site] 00412
5 getc [call site] 00413
5 ferror [call site] 00414
5 wget_error_printf_exit [function] [call site] 00415
5 __errno_location [call site] 00416
5 fread [call site] 00417
5 clearerr [call site] 00418
5 yyrestart [function] [call site] 00419
6 yyensure_buffer_stack [function] [call site] 00420
6 yy_create_buffer [function] [call site] 00421
6 yy_init_buffer [function] [call site] 00422
6 yy_load_buffer_state [function] [call site] 00423
5 yyrealloc [function] [call site] 00424
5 wget_error_printf_exit [function] [call site] 00425
4 yy_get_previous_state [function] [call site] 00426
4 yy_get_previous_state [function] [call site] 00427
4 wget_error_printf_exit [function] [call site] 00428
3 yyget_leng [function] [call site] 00429
3 yyget_leng [function] [call site] 00431
3 yyget_text [function] [call site] 00432
3 yyget_leng [function] [call site] 00433
3 wget_strncasecmp_ascii [function] [call site] 00434
4 c_strncasecmp [function] [call site] 00435
3 c_isspace [function] [call site] 00436
3 c_isspace [function] [call site] 00437
3 yyget_leng [function] [call site] 00438
3 yyget_leng [function] [call site] 00440
3 yyget_text [function] [call site] 00441
3 yyget_leng [function] [call site] 00442
3 gettext [call site] 00443
3 wget_error_printf [function] [call site] 00444
3 yyget_leng [function] [call site] 00445
3 yylex_destroy [function] [call site] 00446
4 yypop_buffer_state [function] [call site] 00451
5 yy_delete_buffer [function] [call site] 00452
5 yy_load_buffer_state [function] [call site] 00453
4 yy_init_globals [function] [call site] 00456
2 get_url [function] [call site] 00458
3 wget_calloc [function] [call site] 00459
3 wget_strmemdup [function] [call site] 00460
3 wget_vector_create [function] [call site] 00461
4 wget_calloc [function] [call site] 00462
4 wget_malloc [function] [call site] 00463
3 wget_vector_set_destructor [function] [call site] 00464
3 wget_vector_add [function] [call site] 00466
4 insert_element [function] [call site] 00467
5 wget_realloc [function] [call site] 00468
2 urls_to_absolute [function] [call site] 00469
3 wget_buffer_init [function] [call site] 00470
3 wget_vector_size [function] [call site] 00471
3 wget_vector_get [function] [call site] 00472
3 wget_iri_relative_to_abs [function] [call site] 00473
4 strlen [call site] 00474
4 wget_malloc [function] [call site] 00475
4 wget_strscpy [function] [call site] 00476
4 strchr [call site] 00477
4 normalize_path [function] [call site] 00478
4 wget_buffer_strcpy [function] [call site] 00479
5 strlen [call site] 00480
5 wget_buffer_memcat [function] [call site] 00481
4 wget_buffer_strcat [function] [call site] 00482
4 wget_buffer_strcat [function] [call site] 00483
4 normalize_path [function] [call site] 00484
4 wget_buffer_reset [function] [call site] 00485
4 wget_iri_get_connection_part [function] [call site] 00486
5 wget_ip_is_family [function] [call site] 00487
5 wget_buffer_printf_append [function] [call site] 00488
6 wget_buffer_vprintf_append [function] [call site] 00489
5 wget_buffer_printf_append [function] [call site] 00490
5 wget_buffer_printf_append [function] [call site] 00491
4 wget_buffer_strcat [function] [call site] 00492
4 wget_buffer_strcat [function] [call site] 00493
4 memchr [call site] 00494
4 wget_buffer_memcpy [function] [call site] 00495
5 wget_buffer_memcat [function] [call site] 00496
4 strrchr [call site] 00497
4 wget_buffer_reset [function] [call site] 00498
4 wget_iri_get_connection_part [function] [call site] 00499
4 wget_buffer_strcat [function] [call site] 00500
4 wget_buffer_memcat [function] [call site] 00501
4 wget_buffer_memcat [function] [call site] 00502
4 normalize_path [function] [call site] 00503
3 wget_strmemdup [function] [call site] 00504
3 gettext [call site] 00505
3 wget_error_printf [function] [call site] 00506
3 wget_buffer_deinit [function] [call site] 00507
1 wget_vector_free [function] [call site] 00508
2 wget_vector_clear [function] [call site] 00509
1 wget_iri_free [function] [call site] 00510