Fuzz introspector: flb-it-fuzz-utils_fuzzer_OSSFUZZ
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
65 65 2 :

['flb_pipe_write_all', 'perror']

65 65 flb_log_print call site: 00021 /src/fluent-bit/src/flb_log.c:651
2 8 2 :

['flb_hash_table_entry_free', 'time']

2 8 flb_hash_table_get call site: 00286 /src/fluent-bit/src/flb_hash_table.c:513
2 2 1 :

['strncasecmp']

2 8 flb_hash_table_del call site: 00294 /src/fluent-bit/src/flb_hash_table.c:644
2 2 1 :

['flb_worker_log_level']

2 2 flb_log_check call site: 00011 /src/fluent-bit/include/fluent-bit/flb_log.h:106
2 2 1 :

['ERR_get_error']

2 2 flb_hash_init call site: 00379 /src/fluent-bit/src/flb_hash.c:66
2 2 1 :

['ERR_get_error']

2 2 flb_hash_finalize call site: 00389 /src/fluent-bit/src/flb_hash.c:99
2 2 1 :

['ERR_get_error']

2 2 flb_hash_update call site: 00384 /src/fluent-bit/src/flb_hash.c:128
2 2 1 :

['EVP_sha256']

2 2 flb_crypto_get_digest_algorithm_instance_by_id call site: 00373 /src/fluent-bit/src/flb_hash.c:25
2 2 1 :

['EVP_md5']

2 2 flb_crypto_get_digest_algorithm_instance_by_id call site: 00374 /src/fluent-bit/src/flb_hash.c:28
2 2 1 :

['strncasecmp']

2 2 hash_get_entry call site: 00263 /src/fluent-bit/src/flb_hash_table.c:317
0 132 5 :

['flb_log_check.133', 'flb_sds_increase', 'flb_sds_avail', 'flb_sds_len.134', 'flb_log_print']

0 132 flb_sds_printf call site: 00223 /src/fluent-bit/src/flb_sds.c:365
0 0 None 24 304 flb_utils_write_str call site: 00040 /src/fluent-bit/src/flb_utils.c:839

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 get_null_terminated [function] [call site] 00001
2 flb_malloc [function] [call site] 00002
3 flb_fuzz_get_probability [function] [call site] 00003
1 get_null_terminated [function] [call site] 00004
1 get_null_terminated [function] [call site] 00005
1 flb_utils_write_str_buf [function] [call site] 00006
2 flb_malloc [function] [call site] 00007
2 __errno_location [call site] 00008
2 flb_errno_print [function] [call site] 00009
3 __xpg_strerror_r [call site] 00010
3 flb_log_check [function] [call site] 00011
4 flb_worker_log_level [function] [call site] 00012
3 flb_log_print [function] [call site] 00013
4 flb_log_construct [function] [call site] 00014
5 isatty [call site] 00015
5 time [call site] 00016
5 localtime_r [call site] 00017
5 snprintf [call site] 00018
5 vsnprintf [call site] 00019
5 strlen [call site] 00020
4 flb_worker_get [function] [call site] 00021
4 flb_pipe_write_all [function] [call site] 00022
5 write [call site] 00023
5 __errno_location [call site] 00024
5 flb_time_msleep [function] [call site] 00025
6 nanosleep [call site] 00026
5 __errno_location [call site] 00027
5 flb_errno_print [function] [call site] 00028
4 fprintf [call site] 00029
4 perror [call site] 00030
4 fprintf [call site] 00031
2 flb_utils_write_str [function] [call site] 00032
3 flb_vector8_load [function] [call site] 00033
3 flb_vector8_has_le [function] [call site] 00034
4 flb_vector8_broadcast [function] [call site] 00035
3 flb_vector8_has [function] [call site] 00036
4 flb_vector8_broadcast [function] [call site] 00037
4 flb_vector8_has_zero [function] [call site] 00038
5 flb_vector8_has_le [function] [call site] 00039
3 flb_vector8_has [function] [call site] 00040
3 flb_utf8_len [function] [call site] 00041
3 flb_utf8_decode [function] [call site] 00042
3 flb_log_check [function] [call site] 00043
3 flb_log_print [function] [call site] 00044
3 snprintf [call site] 00045
3 flb_log_check [function] [call site] 00046
3 flb_log_print [function] [call site] 00047
3 flb_utf8_len [function] [call site] 00048
3 flb_utf8_decode [function] [call site] 00049
3 flb_log_check [function] [call site] 00050
3 flb_log_print [function] [call site] 00051
3 flb_log_check [function] [call site] 00052
3 flb_log_print [function] [call site] 00053
3 snprintf [call site] 00054
3 snprintf [call site] 00055
2 flb_realloc [function] [call site] 00056
3 realloc [call site] 00057
2 __errno_location [call site] 00058
2 flb_errno_print [function] [call site] 00059
1 flb_utils_split [function] [call site] 00062
2 split [function] [call site] 00063
3 flb_malloc [function] [call site] 00064
3 __errno_location [call site] 00065
3 flb_errno_print [function] [call site] 00066
3 strlen [call site] 00067
3 next_token [function] [call site] 00068
4 strlen [call site] 00069
4 quoted_string_len [function] [call site] 00070
4 flb_malloc [function] [call site] 00071
3 flb_log_check [function] [call site] 00072
3 flb_log_print [function] [call site] 00073
3 flb_utils_split_free [function] [call site] 00074
4 flb_utils_split_free_entry [function] [call site] 00075
3 flb_malloc [function] [call site] 00079
3 __errno_location [call site] 00080
3 flb_errno_print [function] [call site] 00081
3 flb_utils_split_free [function] [call site] 00083
3 flb_malloc [function] [call site] 00084
3 __errno_location [call site] 00085
3 flb_errno_print [function] [call site] 00086
3 flb_utils_split_free [function] [call site] 00087
1 flb_utils_split_free [function] [call site] 00088
1 flb_utils_split_quoted [function] [call site] 00089
1 flb_utils_split_free [function] [call site] 00091
1 flb_utils_url_split [function] [call site] 00092
2 strstr [call site] 00093
2 __errno_location [call site] 00094
2 flb_errno_print [function] [call site] 00095
2 strchr [call site] 00096
2 strchr [call site] 00097
2 flb_copy_host [function] [call site] 00098
2 __errno_location [call site] 00099
2 flb_errno_print [function] [call site] 00100
2 strchr [call site] 00101
2 flb_strdup [function] [call site] 00102
3 strlen [call site] 00103
3 flb_strndup [function] [call site] 00104
4 flb_malloc [function] [call site] 00105
2 flb_strdup [function] [call site] 00106
2 flb_strdup [function] [call site] 00107
2 strchr [call site] 00108
2 flb_copy_host [function] [call site] 00109
2 flb_strdup [function] [call site] 00110
2 strlen [call site] 00111
2 flb_copy_host [function] [call site] 00112
2 flb_strdup [function] [call site] 00113
2 strcmp [call site] 00114
2 flb_strdup [function] [call site] 00115
2 strcmp [call site] 00116
2 flb_strdup [function] [call site] 00117
1 flb_utils_proxy_url_split [function] [call site] 00123
2 strstr [call site] 00124
2 flb_log_check [function] [call site] 00125
2 flb_log_print [function] [call site] 00126
2 flb_log_check [function] [call site] 00127
2 flb_log_print [function] [call site] 00128
2 __errno_location [call site] 00129
2 flb_errno_print [function] [call site] 00130
2 strcmp [call site] 00131
2 flb_log_check [function] [call site] 00132
2 flb_log_print [function] [call site] 00133
2 strrchr [call site] 00135
2 strchr [call site] 00136
2 strchr [call site] 00138
2 flb_copy_host [function] [call site] 00139
2 strdup [call site] 00140
2 strlen [call site] 00141
2 flb_copy_host [function] [call site] 00142
2 flb_strdup [function] [call site] 00143
2 strchr [call site] 00144
2 flb_copy_host [function] [call site] 00145
2 strdup [call site] 00146
2 strlen [call site] 00147
2 flb_copy_host [function] [call site] 00148
2 flb_strdup [function] [call site] 00149
1 flb_utils_size_to_bytes [function] [call site] 00155
2 strcasecmp [call site] 00156
2 strlen [call site] 00157
2 atof [call site] 00158
2 __ctype_b_loc [call site] 00159
2 toupper [call site] 00160
1 flb_utils_time_split [function] [call site] 00161
2 __errno_location [call site] 00162
2 strtol [call site] 00163
2 __errno_location [call site] 00164
2 __errno_location [call site] 00165
2 __errno_location [call site] 00166
2 flb_errno_print [function] [call site] 00167
2 strchr [call site] 00168
2 strtol [call site] 00169
2 __errno_location [call site] 00170
2 __errno_location [call site] 00171
2 __errno_location [call site] 00172
2 flb_errno_print [function] [call site] 00173
1 flb_utils_time_to_seconds [function] [call site] 00174
2 strlen [call site] 00175
2 atoi [call site] 00176
1 flb_utils_bool [function] [call site] 00177
2 strcasecmp [call site] 00178
2 strcasecmp [call site] 00179
2 strcasecmp [call site] 00180
2 strcasecmp [call site] 00181
2 strcasecmp [call site] 00182
2 strcasecmp [call site] 00183
1 flb_utils_hex2int [function] [call site] 00184
1 flb_uri_create [function] [call site] 00185
2 flb_calloc [function] [call site] 00186
3 flb_fuzz_get_probability [function] [call site] 00187
3 calloc [call site] 00188
2 perror [call site] 00189
2 strlen [call site] 00190
2 flb_strdup [function] [call site] 00191
2 flb_strdup [function] [call site] 00192
1 flb_uri_get [function] [call site] 00193
1 flb_uri_dump [function] [call site] 00194
2 printf [call site] 00195
1 flb_uri_destroy [function] [call site] 00196
1 flb_uri_encode [function] [call site] 00200
2 flb_sds_create_size [function] [call site] 00201
3 sds_alloc [function] [call site] 00202
4 flb_malloc [function] [call site] 00203
4 __errno_location [call site] 00204
4 flb_errno_print [function] [call site] 00205
2 flb_log_check [function] [call site] 00206
2 flb_log_print [function] [call site] 00207
2 flb_uri_to_encode [function] [call site] 00208
2 flb_sds_printf [function] [call site] 00209
3 strlen [call site] 00210
3 flb_sds_avail [function] [call site] 00211
3 flb_sds_avail [function] [call site] 00212
3 flb_sds_increase [function] [call site] 00213
4 flb_sds_alloc [function] [call site] 00214
4 flb_realloc [function] [call site] 00215
4 __errno_location [call site] 00216
4 flb_errno_print [function] [call site] 00217
3 flb_sds_len [function] [call site] 00218
3 flb_sds_avail [function] [call site] 00219
3 vsnprintf [call site] 00220
3 flb_log_check [function] [call site] 00221
3 flb_log_print [function] [call site] 00222
3 flb_sds_avail [function] [call site] 00223
3 flb_sds_avail [function] [call site] 00224
3 flb_sds_increase [function] [call site] 00225
3 flb_sds_len [function] [call site] 00226
3 flb_sds_avail [function] [call site] 00227
3 vsnprintf [call site] 00228
3 flb_sds_avail [function] [call site] 00229
3 flb_log_check [function] [call site] 00230
3 flb_log_print [function] [call site] 00231
2 flb_log_check [function] [call site] 00232
2 flb_log_print [function] [call site] 00233
2 flb_sds_destroy [function] [call site] 00234
2 flb_sds_cat [function] [call site] 00236
3 flb_sds_avail [function] [call site] 00237
3 flb_sds_increase [function] [call site] 00238
3 flb_sds_len [function] [call site] 00239
2 flb_log_check [function] [call site] 00240
2 flb_log_print [function] [call site] 00241
2 flb_sds_destroy [function] [call site] 00242
1 flb_sds_destroy [function] [call site] 00243
1 flb_hash_table_create [function] [call site] 00244
2 flb_calloc [function] [call site] 00245
2 __errno_location [call site] 00246
2 flb_errno_print [function] [call site] 00247
2 flb_calloc [function] [call site] 00248
2 __errno_location [call site] 00249
2 flb_errno_print [function] [call site] 00250
1 flb_hash_table_add [function] [call site] 00252
2 flb_hash_table_evict_older [function] [call site] 00253
3 flb_hash_table_entry_free [function] [call site] 00254
2 flb_hash_table_evict_less_used [function] [call site] 00257
3 flb_hash_table_entry_free [function] [call site] 00258
2 flb_hash_table_evict_random [function] [call site] 00259
3 random [call site] 00260
3 flb_hash_table_entry_free [function] [call site] 00261
2 hash_get_entry [function] [call site] 00262
3 flb_hash_table_compute_key_hash [function] [call site] 00263
4 flb_hash_table_convert_string_to_lowercase [function] [call site] 00264
5 flb_calloc [function] [call site] 00265
5 tolower [call site] 00266
3 strncmp [call site] 00267
3 strncasecmp [call site] 00268
3 strncmp [call site] 00269
3 strncasecmp [call site] 00270
2 entry_set_value [function] [call site] 00271
3 flb_malloc [function] [call site] 00273
3 __errno_location [call site] 00274
3 flb_errno_print [function] [call site] 00275
3 time [call site] 00276
2 flb_hash_table_compute_key_hash [function] [call site] 00277
2 flb_calloc [function] [call site] 00278
2 __errno_location [call site] 00279
2 flb_errno_print [function] [call site] 00280
2 time [call site] 00281
2 flb_strndup [function] [call site] 00282
2 entry_set_value [function] [call site] 00283
1 flb_hash_table_get [function] [call site] 00285
2 hash_get_entry [function] [call site] 00286
2 time [call site] 00287
2 flb_hash_table_entry_free [function] [call site] 00288
1 flb_hash_table_add [function] [call site] 00289
1 flb_hash_table_get_by_id [function] [call site] 00290
2 strcmp [call site] 00291
1 flb_hash_table_del [function] [call site] 00292
2 strlen [call site] 00293
2 flb_hash_table_compute_key_hash [function] [call site] 00294
2 strncmp [call site] 00295
2 strncasecmp [call site] 00296
2 strncmp [call site] 00297
2 strncasecmp [call site] 00298
2 flb_hash_table_entry_free [function] [call site] 00299
1 flb_hash_table_exists [function] [call site] 00300
1 strlen [call site] 00301
1 flb_hash_table_del_ptr [function] [call site] 00302
2 flb_hash_table_compute_key_hash [function] [call site] 00303
2 strncmp [call site] 00304
2 flb_hash_table_entry_free [function] [call site] 00305
1 strlen [call site] 00306
1 flb_hash_table_get_ptr [function] [call site] 00307
2 hash_get_entry [function] [call site] 00308
1 flb_hash_table_destroy [function] [call site] 00309
2 flb_hash_table_entry_free [function] [call site] 00310
1 flb_sds_create_len [function] [call site] 00315
2 sds_alloc [function] [call site] 00316
1 flb_sds_cat_esc [function] [call site] 00317
2 flb_sds_avail [function] [call site] 00318
2 flb_sds_increase [function] [call site] 00319
2 flb_sds_avail [function] [call site] 00320
2 flb_sds_increase [function] [call site] 00321
1 flb_sds_destroy [function] [call site] 00322
1 flb_gzip_compress [function] [call site] 00323
2 flb_malloc [function] [call site] 00324
2 __errno_location [call site] 00325
2 flb_errno_print [function] [call site] 00326
2 flb_log_check [function] [call site] 00327
2 flb_log_print [function] [call site] 00328
2 gzip_header [function] [call site] 00329
1 flb_gzip_uncompress [function] [call site] 00331
2 flb_log_check [function] [call site] 00332
2 flb_log_print [function] [call site] 00333
2 flb_log_check [function] [call site] 00334
2 flb_log_print [function] [call site] 00335
2 flb_log_check [function] [call site] 00336
2 flb_log_print [function] [call site] 00337
2 flb_log_check [function] [call site] 00338
2 flb_log_print [function] [call site] 00339
2 read_le16 [function] [call site] 00340
2 flb_log_check [function] [call site] 00341
2 flb_log_print [function] [call site] 00342
2 flb_log_check [function] [call site] 00343
2 flb_log_print [function] [call site] 00344
2 flb_log_check [function] [call site] 00345
2 flb_log_print [function] [call site] 00346
2 flb_log_check [function] [call site] 00347
2 flb_log_print [function] [call site] 00348
2 read_le16 [function] [call site] 00349
2 flb_log_check [function] [call site] 00350
2 flb_log_print [function] [call site] 00351
2 read_le32 [function] [call site] 00352
2 flb_log_check [function] [call site] 00353
2 flb_log_print [function] [call site] 00354
2 read_le32 [function] [call site] 00355
2 flb_log_check [function] [call site] 00356
2 flb_log_print [function] [call site] 00357
2 flb_malloc [function] [call site] 00358
2 __errno_location [call site] 00359
2 flb_errno_print [function] [call site] 00360
2 flb_log_check [function] [call site] 00365
2 flb_log_print [function] [call site] 00366
2 flb_log_check [function] [call site] 00368
2 flb_log_print [function] [call site] 00369
1 flb_gzip_uncompress [function] [call site] 00370
1 flb_hash_init [function] [call site] 00372
2 flb_crypto_get_digest_algorithm_instance_by_id [function] [call site] 00373
3 EVP_sha256 [call site] 00374
3 EVP_sha512 [call site] 00375
3 EVP_md5 [call site] 00376
2 EVP_MD_CTX_new [call site] 00377
2 ERR_get_error [call site] 00378
2 EVP_DigestInit_ex [call site] 00379
2 ERR_get_error [call site] 00380
2 EVP_MD_CTX_md [call site] 00381
2 EVP_MD_size [call site] 00382
1 flb_hash_update [function] [call site] 00383
2 EVP_DigestUpdate [call site] 00384
2 ERR_get_error [call site] 00385
1 flb_hash_update [function] [call site] 00386
1 flb_hash_update [function] [call site] 00387
1 flb_hash_finalize [function] [call site] 00388
2 EVP_DigestFinal_ex [call site] 00389
2 ERR_get_error [call site] 00390
1 flb_hash_cleanup [function] [call site] 00391
2 EVP_MD_CTX_free [call site] 00392
1 flb_regex_init [function] [call site] 00393
1 flb_regex_create [function] [call site] 00394
2 flb_malloc [function] [call site] 00395
2 str_to_regex [function] [call site] 00396
3 strlen [call site] 00397
3 check_option [function] [call site] 00398
4 strrchr [call site] 00399
4 flb_log_check [function] [call site] 00400
4 flb_log_print [function] [call site] 00401
4 flb_log_check [function] [call site] 00402
4 flb_log_print [function] [call site] 00403
1 flb_regex_match [function] [call site] 00405
1 flb_regex_destroy [function] [call site] 00406
1 flb_regex_exit [function] [call site] 00408
1 flb_slist_create [function] [call site] 00409
1 flb_sds_create_len [function] [call site] 00410
1 flb_slist_add_sds [function] [call site] 00411
2 flb_malloc [function] [call site] 00412
2 __errno_location [call site] 00413
2 flb_errno_print [function] [call site] 00414
1 flb_slist_entry_get [function] [call site] 00415
1 flb_slist_dump [function] [call site] 00416
2 printf [call site] 00417
2 printf [call site] 00418
1 flb_slist_destroy [function] [call site] 00419
2 flb_sds_destroy [function] [call site] 00420