Fuzz introspector: libwget_http_parse_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
0 11 1 :

['wget_cookie_free']

0 11 wget_cookie_parse_setcookie call site: 00269 /src/wget2/libwget/cookie_parse.c:368
0 6 1 :

['wget_strmemdup']

0 6 wget_memiconv call site: 00075 /src/wget2/libwget/encoding.c:76
0 0 None 20 66 wget_memiconv call site: 00074 /src/wget2/libwget/encoding.c:67
0 0 None 20 66 wget_memiconv call site: 00074 /src/wget2/libwget/encoding.c:71
0 0 None 20 66 wget_memiconv call site: 00074 /src/wget2/libwget/encoding.c:73
0 0 None 16 722 wget_http_parse_response_header call site: 00003 /src/wget2/libwget/http_parse.c:1252
0 0 None 12 12 wget_memiconv call site: 00077 /src/wget2/libwget/encoding.c:86
0 0 None 6 2514 wget_http_parse_header_line call site: 00018 /src/wget2/libwget/http_parse.c:1072
0 0 None 6 2508 wget_http_parse_header_line call site: 00019 /src/wget2/libwget/http_parse.c:1080
0 0 None 2 243 wget_http_parse_link call site: 00160 /src/wget2/libwget/http_parse.c:299
0 0 None 2 85 wget_striconv call site: 00072 /src/wget2/libwget/encoding.c:142
0 0 None 2 79 wget_hpkp_pin_add call site: 00183 /src/wget2/libwget/hpkp.c:85

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 __assert_fail [call site] 00001
1 wget_http_parse_response_header [function] [call site] 00002
2 wget_calloc [function] [call site] 00003
2 __isoc99_sscanf [call site] 00004
2 strchr [call site] 00005
2 __isoc99_sscanf [call site] 00006
2 strchr [call site] 00007
2 gettext [call site] 00008
2 wget_error_printf [function] [call site] 00009
2 strchr [call site] 00010
2 c_isblank [function] [call site] 00011
2 strchr [call site] 00012
2 wget_parse_name_fixed [function] [call site] 00013
3 c_isblank [function] [call site] 00014
3 wget_http_istoken [function] [call site] 00015
4 http_isseparator [function] [call site] 00016
2 strlen [call site] 00017
2 wget_http_parse_header_line [function] [call site] 00018
3 wget_strmemcpy_a [function] [call site] 00019
4 wget_malloc [function] [call site] 00020
3 memcmp [call site] 00021
3 wget_strncasecmp_ascii [function] [call site] 00022
4 c_strncasecmp [function] [call site] 00023
3 wget_http_parse_content_encoding [function] [call site] 00026
4 c_isblank [function] [call site] 00027
4 wget_strcasecmp_ascii [function] [call site] 00028
5 c_strcasecmp [function] [call site] 00029
4 wget_strcasecmp_ascii [function] [call site] 00030
4 wget_strcasecmp_ascii [function] [call site] 00031
4 wget_strcasecmp_ascii [function] [call site] 00032
4 wget_strcasecmp_ascii [function] [call site] 00033
4 wget_strcasecmp_ascii [function] [call site] 00034
4 wget_strcasecmp_ascii [function] [call site] 00035
4 wget_http_istoken [function] [call site] 00036
3 wget_strncasecmp_ascii [function] [call site] 00037
3 wget_http_parse_content_type [function] [call site] 00038
4 c_isblank [function] [call site] 00039
4 wget_http_istoken [function] [call site] 00040
4 wget_strmemdup [function] [call site] 00041
5 wget_malloc [function] [call site] 00042
4 wget_http_parse_param [function] [call site] 00043
5 c_isblank [function] [call site] 00044
5 c_isblank [function] [call site] 00045
5 wget_http_istoken [function] [call site] 00046
5 wget_strmemdup [function] [call site] 00047
5 c_isblank [function] [call site] 00048
5 c_isblank [function] [call site] 00049
5 wget_http_parse_quoted_string [function] [call site] 00050
6 wget_strmemdup [function] [call site] 00051
5 wget_http_parse_token [function] [call site] 00052
6 wget_http_istoken [function] [call site] 00053
6 wget_strmemdup [function] [call site] 00054
4 wget_strcasecmp_ascii [function] [call site] 00055
3 wget_strncasecmp_ascii [function] [call site] 00056
3 atoll [call site] 00057
3 wget_strncasecmp_ascii [function] [call site] 00058
3 wget_http_parse_content_disposition [function] [call site] 00059
4 wget_http_parse_param [function] [call site] 00060
4 wget_strcasecmp_ascii [function] [call site] 00061
4 strpbrk [call site] 00062
4 wget_strdup [function] [call site] 00063
5 strlen [call site] 00064
5 wget_memdup [function] [call site] 00065
6 wget_malloc [function] [call site] 00066
4 wget_percent_unescape [function] [call site] 00067
4 wget_str_is_valid_utf8 [function] [call site] 00070
4 wget_str_to_utf8 [function] [call site] 00071
5 wget_striconv [function] [call site] 00072
6 strlen [call site] 00073
6 wget_memiconv [function] [call site] 00074
7 wget_strcasecmp_ascii [function] [call site] 00075
7 iconv_open [call site] 00076
7 wget_malloc [function] [call site] 00077
7 iconv_close [call site] 00078
7 __errno_location [call site] 00079
7 iconv [call site] 00080
7 iconv [call site] 00081
7 wget_debug_printf [function] [call site] 00082
7 wget_realloc [function] [call site] 00083
7 gettext [call site] 00084
7 wget_error_printf [function] [call site] 00085
7 iconv_close [call site] 00086
7 gettext [call site] 00087
7 wget_error_printf [function] [call site] 00088
7 wget_strmemdup [function] [call site] 00089
4 wget_strcasecmp_ascii [function] [call site] 00090
4 strchr [call site] 00091
4 strchr [call site] 00092
4 wget_percent_unescape [function] [call site] 00093
4 wget_str_needs_encoding [function] [call site] 00094
4 wget_str_to_utf8 [function] [call site] 00095
4 wget_strdup [function] [call site] 00096
4 strpbrk [call site] 00097
4 wget_strdup [function] [call site] 00098
3 wget_strncasecmp_ascii [function] [call site] 00099
3 wget_http_parse_connection [function] [call site] 00100
4 strchrnul [call site] 00101
4 c_isblank [function] [call site] 00102
4 wget_strncasecmp_ascii [function] [call site] 00103
3 wget_strncasecmp_ascii [function] [call site] 00104
3 wget_strncasecmp_ascii [function] [call site] 00105
3 wget_http_parse_digest [function] [call site] 00106
4 c_isblank [function] [call site] 00107
4 wget_http_parse_token [function] [call site] 00108
4 c_isblank [function] [call site] 00109
4 c_isblank [function] [call site] 00110
4 wget_http_parse_quoted_string [function] [call site] 00111
4 c_isblank [function] [call site] 00112
4 wget_strmemdup [function] [call site] 00113
4 c_isblank [function] [call site] 00114
3 wget_vector_create [function] [call site] 00115
4 wget_calloc [function] [call site] 00116
4 wget_malloc [function] [call site] 00117
4 rpl_free [function] [call site] 00118
5 __errno_location [call site] 00119
5 __errno_location [call site] 00120
3 wget_vector_set_destructor [function] [call site] 00121
3 wget_http_free_digest [function] [call site] 00122
3 wget_vector_add_memdup [function] [call site] 00123
4 wget_memdup [function] [call site] 00124
4 insert_element [function] [call site] 00125
5 wget_realloc [function] [call site] 00126
3 wget_strncasecmp_ascii [function] [call site] 00127
3 wget_http_parse_etag [function] [call site] 00128
4 c_isblank [function] [call site] 00129
4 c_isblank [function] [call site] 00130
4 wget_strmemdup [function] [call site] 00131
3 wget_strncasecmp_ascii [function] [call site] 00132
3 atoi [call site] 00133
3 wget_strncasecmp_ascii [function] [call site] 00134
3 wget_http_parse_full_date [function] [call site] 00135
4 __isoc99_sscanf [call site] 00136
4 __isoc99_sscanf [call site] 00137
4 __isoc99_sscanf [call site] 00138
4 __isoc99_sscanf [call site] 00139
4 __isoc99_sscanf [call site] 00140
4 gettext [call site] 00141
4 wget_error_printf [function] [call site] 00142
4 wget_strcasecmp_ascii [function] [call site] 00143
4 gettext [call site] 00144
4 wget_error_printf [function] [call site] 00145
4 leap_days [function] [call site] 00146
3 wget_strncasecmp_ascii [function] [call site] 00147
3 wget_http_parse_location [function] [call site] 00148
4 c_isblank [function] [call site] 00149
4 c_isblank [function] [call site] 00150
4 wget_strmemdup [function] [call site] 00151
3 wget_strncasecmp_ascii [function] [call site] 00152
3 wget_http_parse_link [function] [call site] 00153
4 c_isblank [function] [call site] 00154
4 strchr [call site] 00155
4 wget_strmemdup [function] [call site] 00156
4 c_isblank [function] [call site] 00157
4 wget_http_parse_param [function] [call site] 00158
4 wget_strcasecmp_ascii [function] [call site] 00159
4 wget_strcasecmp_ascii [function] [call site] 00160
4 wget_strcasecmp_ascii [function] [call site] 00161
4 wget_strcasecmp_ascii [function] [call site] 00162
4 atoi [call site] 00163
4 wget_strcasecmp_ascii [function] [call site] 00164
4 c_isblank [function] [call site] 00165
4 c_isblank [function] [call site] 00166
3 wget_vector_create [function] [call site] 00167
3 wget_vector_set_destructor [function] [call site] 00168
3 wget_http_free_link [function] [call site] 00169
3 wget_vector_add_memdup [function] [call site] 00170
3 wget_strncasecmp_ascii [function] [call site] 00171
3 wget_hpkp_new [function] [call site] 00172
4 wget_calloc [function] [call site] 00173
4 time [call site] 00174
3 wget_http_parse_public_key_pins [function] [call site] 00175
4 wget_hpkp_set_include_subdomains [function] [call site] 00176
4 wget_http_parse_param [function] [call site] 00177
4 wget_strcasecmp_ascii [function] [call site] 00178
4 atoll [call site] 00179
4 wget_hpkp_set_maxage [function] [call site] 00180
5 time [call site] 00181
4 wget_strncasecmp_ascii [function] [call site] 00182
4 wget_hpkp_pin_add [function] [call site] 00183
5 strlen [call site] 00184
5 wget_strdup [function] [call site] 00185
5 wget_strdup [function] [call site] 00186
5 wget_base64_decode_alloc [function] [call site] 00187
6 wget_base64_get_decoded_length [function] [call site] 00188
6 wget_malloc [function] [call site] 00189
6 wget_base64_decode [function] [call site] 00190
5 wget_vector_create [function] [call site] 00192
5 compare_pin [function] [call site] 00193
6 strcmp [call site] 00194
6 memcmp [call site] 00195
5 wget_vector_set_destructor [function] [call site] 00196
5 hpkp_pin_free [function] [call site] 00197
5 wget_vector_add [function] [call site] 00198
6 insert_element [function] [call site] 00199
4 wget_strcasecmp_ascii [function] [call site] 00200
4 wget_hpkp_set_include_subdomains [function] [call site] 00201
3 wget_debug_printf [function] [call site] 00202
3 wget_strncasecmp_ascii [function] [call site] 00203
3 wget_malloc [function] [call site] 00204
3 wget_http_parse_challenge [function] [call site] 00205
4 c_isblank [function] [call site] 00206
4 wget_http_parse_token [function] [call site] 00207
4 wget_http_parse_param [function] [call site] 00208
4 wget_stringmap_create_nocase [function] [call site] 00209
5 wget_hashmap_create [function] [call site] 00210
6 wget_malloc [function] [call site] 00211
6 wget_calloc [function] [call site] 00212
5 hash_string_nocase [function] [call site] 00215
6 tolower [call site] 00216
5 wget_strcasecmp [function] [call site] 00217
6 strcasecmp [call site] 00218
4 wget_stringmap_put [function] [call site] 00219
5 wget_hashmap_put [function] [call site] 00220
6 hashmap_find_entry [function] [call site] 00221
6 hashmap_new_entry [function] [call site] 00222
7 wget_malloc [function] [call site] 00223
7 wget_calloc [function] [call site] 00224
7 hashmap_rehash [function] [call site] 00225
4 c_isblank [function] [call site] 00226
3 wget_vector_create [function] [call site] 00227
3 wget_vector_set_destructor [function] [call site] 00228
3 wget_http_free_challenge [function] [call site] 00229
4 wget_stringmap_free [function] [call site] 00230
5 wget_hashmap_free [function] [call site] 00231
6 wget_hashmap_clear [function] [call site] 00232
3 wget_vector_add [function] [call site] 00233
3 wget_strncasecmp_ascii [function] [call site] 00234
3 wget_http_parse_setcookie [function] [call site] 00235
4 wget_cookie_parse_setcookie [function] [call site] 00236
5 wget_cookie_init [function] [call site] 00237
6 wget_calloc [function] [call site] 00238
6 time [call site] 00239
5 c_isspace [function] [call site] 00240
5 c_isspace [function] [call site] 00241
5 wget_strmemdup [function] [call site] 00242
5 c_isspace [function] [call site] 00243
5 c_isspace [function] [call site] 00244
5 c_isspace [function] [call site] 00245
5 wget_strmemdup [function] [call site] 00246
5 c_isspace [function] [call site] 00247
5 wget_http_parse_token [function] [call site] 00248
5 c_isspace [function] [call site] 00249
5 wget_strcasecmp_ascii [function] [call site] 00250
5 wget_http_parse_full_date [function] [call site] 00251
5 wget_strcasecmp_ascii [function] [call site] 00252
5 atol [call site] 00253
5 time [call site] 00254
5 wget_strcasecmp_ascii [function] [call site] 00255
5 c_isspace [function] [call site] 00256
5 wget_strmemdup [function] [call site] 00257
5 wget_strcasecmp_ascii [function] [call site] 00258
5 wget_strmemdup [function] [call site] 00259
5 wget_strcasecmp_ascii [function] [call site] 00260
5 wget_strcasecmp_ascii [function] [call site] 00261
5 wget_debug_printf [function] [call site] 00262
5 wget_strcasecmp_ascii [function] [call site] 00263
5 wget_strcasecmp_ascii [function] [call site] 00264
5 wget_debug_printf [function] [call site] 00265
5 wget_cookie_free [function] [call site] 00266
6 wget_cookie_deinit [function] [call site] 00267
5 gettext [call site] 00268
5 wget_error_printf [function] [call site] 00269
5 wget_cookie_free [function] [call site] 00270
3 wget_vector_create [function] [call site] 00271
3 wget_vector_set_destructor [function] [call site] 00272
3 cookie_free [function] [call site] 00273
4 wget_cookie_free [function] [call site] 00274
3 wget_vector_add [function] [call site] 00275
3 wget_strncasecmp_ascii [function] [call site] 00276
3 wget_http_parse_strict_transport_security [function] [call site] 00277
4 wget_http_parse_param [function] [call site] 00278
4 wget_strcasecmp_ascii [function] [call site] 00279
4 atoll [call site] 00280
4 wget_strcasecmp_ascii [function] [call site] 00281
3 wget_strncasecmp_ascii [function] [call site] 00282
3 wget_http_parse_transfer_encoding [function] [call site] 00283
4 c_isblank [function] [call site] 00284
4 wget_strcasecmp_ascii [function] [call site] 00285
4 wget_http_istoken [function] [call site] 00286
3 wget_strncasecmp_ascii [function] [call site] 00287
3 wget_malloc [function] [call site] 00288
3 wget_http_parse_challenge [function] [call site] 00289
3 wget_vector_create [function] [call site] 00290
3 wget_vector_set_destructor [function] [call site] 00291
3 wget_http_free_challenge [function] [call site] 00292
3 wget_vector_add [function] [call site] 00293
3 wget_strncasecmp_ascii [function] [call site] 00294
3 wget_http_parse_full_date [function] [call site] 00295
1 wget_http_free_response [function] [call site] 00296
2 wget_http_free_links [function] [call site] 00297
3 wget_vector_free [function] [call site] 00298
4 wget_vector_clear [function] [call site] 00299
2 wget_http_free_digests [function] [call site] 00300
3 wget_vector_free [function] [call site] 00301
2 wget_http_free_challenges [function] [call site] 00302
3 wget_vector_free [function] [call site] 00303
2 wget_http_free_cookies [function] [call site] 00304
3 wget_vector_free [function] [call site] 00305
2 wget_http_free_hpkp_entries [function] [call site] 00306
3 wget_hpkp_free [function] [call site] 00307
4 wget_vector_free [function] [call site] 00308
2 wget_buffer_free [function] [call site] 00309
3 wget_buffer_deinit [function] [call site] 00310
2 wget_buffer_free [function] [call site] 00311