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:647
2 8 2 :

['flb_hash_table_entry_free', 'time']

2 8 flb_hash_table_get call site: 00249 /src/fluent-bit/src/flb_hash_table.c:396
2 2 1 :

['flb_worker_log_level']

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

['ERR_get_error']

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

['ERR_get_error']

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

['ERR_get_error']

2 2 flb_hash_update call site: 00337 /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: 00327 /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: 00328 /src/fluent-bit/src/flb_hash.c:28
0 130 5 :

['flb_sds_increase', 'flb_log_check.123', 'flb_sds_len.122', 'flb_sds_avail', 'flb_log_print']

0 130 flb_sds_printf call site: 00194 /src/fluent-bit/src/flb_sds.c:437
0 0 None 18 34 flb_utils_proxy_url_split call site: 00104 /src/fluent-bit/src/flb_utils.c:1029
0 0 None 16 87 flb_utils_url_split call site: 00073 /src/fluent-bit/src/flb_utils.c:926
0 0 None 10 10 flb_utils_size_to_bytes call site: 00129 /src/fluent-bit/src/flb_utils.c:408

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 snprintf [call site] 00033
3 encoded_to_buf [function] [call site] 00034
3 flb_utf8_len [function] [call site] 00035
3 flb_utf8_decode [function] [call site] 00036
3 flb_log_check [function] [call site] 00037
3 flb_log_print [function] [call site] 00038
3 snprintf [call site] 00039
3 encoded_to_buf [function] [call site] 00040
3 flb_utf8_len [function] [call site] 00041
3 flb_log_check [function] [call site] 00042
3 flb_log_print [function] [call site] 00043
3 flb_log_check [function] [call site] 00044
3 flb_log_print [function] [call site] 00045
3 encoded_to_buf [function] [call site] 00046
2 flb_realloc [function] [call site] 00047
3 realloc [call site] 00048
2 __errno_location [call site] 00049
2 flb_errno_print [function] [call site] 00050
1 flb_utils_split [function] [call site] 00053
2 flb_malloc [function] [call site] 00054
2 __errno_location [call site] 00055
2 flb_errno_print [function] [call site] 00056
2 strlen [call site] 00057
2 flb_malloc [function] [call site] 00058
2 __errno_location [call site] 00059
2 flb_errno_print [function] [call site] 00060
2 flb_utils_split_free [function] [call site] 00062
3 flb_utils_split_free_entry [function] [call site] 00063
2 flb_malloc [function] [call site] 00067
2 __errno_location [call site] 00068
2 flb_errno_print [function] [call site] 00069
2 flb_utils_split_free [function] [call site] 00070
1 flb_utils_split_free [function] [call site] 00071
1 flb_utils_url_split [function] [call site] 00072
2 strstr [call site] 00073
2 __errno_location [call site] 00074
2 flb_errno_print [function] [call site] 00075
2 strchr [call site] 00076
2 strchr [call site] 00077
2 flb_copy_host [function] [call site] 00078
2 __errno_location [call site] 00079
2 flb_errno_print [function] [call site] 00080
2 strchr [call site] 00081
2 flb_strdup [function] [call site] 00082
3 strlen [call site] 00083
3 flb_strndup [function] [call site] 00084
4 flb_malloc [function] [call site] 00085
2 flb_strdup [function] [call site] 00086
2 flb_strdup [function] [call site] 00087
2 strchr [call site] 00088
2 flb_copy_host [function] [call site] 00089
2 flb_strdup [function] [call site] 00090
2 strlen [call site] 00091
2 flb_copy_host [function] [call site] 00092
2 flb_strdup [function] [call site] 00093
2 strcmp [call site] 00094
2 flb_strdup [function] [call site] 00095
2 strcmp [call site] 00096
2 flb_strdup [function] [call site] 00097
1 flb_utils_proxy_url_split [function] [call site] 00103
2 strstr [call site] 00104
2 __errno_location [call site] 00105
2 flb_errno_print [function] [call site] 00106
2 strcmp [call site] 00107
2 strrchr [call site] 00109
2 strchr [call site] 00110
2 strchr [call site] 00112
2 flb_copy_host [function] [call site] 00113
2 strdup [call site] 00114
2 strlen [call site] 00115
2 flb_copy_host [function] [call site] 00116
2 flb_strdup [function] [call site] 00117
2 strchr [call site] 00118
2 flb_copy_host [function] [call site] 00119
2 strdup [call site] 00120
2 strlen [call site] 00121
2 flb_copy_host [function] [call site] 00122
2 flb_strdup [function] [call site] 00123
1 flb_utils_size_to_bytes [function] [call site] 00129
2 strcasecmp [call site] 00130
2 strlen [call site] 00131
2 atoll [call site] 00132
2 __ctype_b_loc [call site] 00133
2 toupper [call site] 00134
1 flb_utils_time_split [function] [call site] 00135
2 __errno_location [call site] 00136
2 strtol [call site] 00137
2 __errno_location [call site] 00138
2 __errno_location [call site] 00139
2 __errno_location [call site] 00140
2 flb_errno_print [function] [call site] 00141
2 strchr [call site] 00142
2 strtol [call site] 00143
2 __errno_location [call site] 00144
2 __errno_location [call site] 00145
2 __errno_location [call site] 00146
2 flb_errno_print [function] [call site] 00147
1 flb_utils_time_to_seconds [function] [call site] 00148
2 strlen [call site] 00149
2 atoi [call site] 00150
1 flb_utils_bool [function] [call site] 00151
2 strcasecmp [call site] 00152
2 strcasecmp [call site] 00153
2 strcasecmp [call site] 00154
2 strcasecmp [call site] 00155
2 strcasecmp [call site] 00156
1 flb_utils_hex2int [function] [call site] 00157
1 flb_uri_create [function] [call site] 00158
2 flb_calloc [function] [call site] 00159
3 flb_fuzz_get_probability [function] [call site] 00160
3 calloc [call site] 00161
2 perror [call site] 00162
2 strlen [call site] 00163
2 flb_strdup [function] [call site] 00164
2 flb_strdup [function] [call site] 00165
1 flb_uri_get [function] [call site] 00166
1 flb_uri_dump [function] [call site] 00167
2 printf [call site] 00168
1 flb_uri_destroy [function] [call site] 00169
1 flb_uri_encode [function] [call site] 00173
2 flb_sds_create_size [function] [call site] 00174
3 sds_alloc [function] [call site] 00175
4 flb_malloc [function] [call site] 00176
4 __errno_location [call site] 00177
4 flb_errno_print [function] [call site] 00178
2 flb_log_check [function] [call site] 00179
2 flb_log_print [function] [call site] 00180
2 flb_uri_to_encode [function] [call site] 00181
2 flb_sds_printf [function] [call site] 00182
3 strlen [call site] 00183
3 flb_sds_avail [function] [call site] 00184
3 flb_sds_increase [function] [call site] 00185
4 flb_sds_alloc [function] [call site] 00186
4 flb_realloc [function] [call site] 00187
4 __errno_location [call site] 00188
4 flb_errno_print [function] [call site] 00189
3 flb_sds_len [function] [call site] 00190
3 vsnprintf [call site] 00191
3 flb_log_check [function] [call site] 00192
3 flb_log_print [function] [call site] 00193
3 flb_sds_avail [function] [call site] 00194
3 flb_sds_increase [function] [call site] 00195
3 flb_sds_len [function] [call site] 00196
3 vsnprintf [call site] 00197
3 flb_sds_avail [function] [call site] 00198
3 flb_log_check [function] [call site] 00199
3 flb_log_print [function] [call site] 00200
2 flb_log_check [function] [call site] 00201
2 flb_log_print [function] [call site] 00202
2 flb_sds_destroy [function] [call site] 00203
2 flb_sds_cat [function] [call site] 00205
3 flb_sds_avail [function] [call site] 00206
3 flb_sds_increase [function] [call site] 00207
3 flb_sds_len [function] [call site] 00208
2 flb_log_check [function] [call site] 00209
2 flb_log_print [function] [call site] 00210
2 flb_sds_destroy [function] [call site] 00211
1 flb_sds_destroy [function] [call site] 00212
1 flb_hash_table_create [function] [call site] 00213
2 flb_malloc [function] [call site] 00214
2 __errno_location [call site] 00215
2 flb_errno_print [function] [call site] 00216
2 flb_calloc [function] [call site] 00217
2 __errno_location [call site] 00218
2 flb_errno_print [function] [call site] 00219
1 flb_hash_table_add [function] [call site] 00221
2 flb_hash_table_evict_older [function] [call site] 00222
3 flb_hash_table_entry_free [function] [call site] 00223
2 flb_hash_table_evict_less_used [function] [call site] 00227
3 flb_hash_table_entry_free [function] [call site] 00228
2 flb_hash_table_evict_random [function] [call site] 00229
3 random [call site] 00230
3 flb_hash_table_entry_free [function] [call site] 00231
2 hash_get_entry [function] [call site] 00232
3 strncmp [call site] 00233
3 strncmp [call site] 00234
2 entry_set_value [function] [call site] 00235
3 flb_malloc [function] [call site] 00237
3 __errno_location [call site] 00238
3 flb_errno_print [function] [call site] 00239
3 time [call site] 00240
2 flb_calloc [function] [call site] 00241
2 __errno_location [call site] 00242
2 flb_errno_print [function] [call site] 00243
2 time [call site] 00244
2 flb_strndup [function] [call site] 00245
2 entry_set_value [function] [call site] 00246
1 flb_hash_table_get [function] [call site] 00248
2 hash_get_entry [function] [call site] 00249
2 time [call site] 00250
2 flb_hash_table_entry_free [function] [call site] 00251
1 flb_hash_table_add [function] [call site] 00252
1 flb_hash_table_get_by_id [function] [call site] 00253
2 strcmp [call site] 00254
1 flb_hash_table_del [function] [call site] 00255
2 strlen [call site] 00256
2 strcmp [call site] 00257
2 strcmp [call site] 00258
2 flb_hash_table_entry_free [function] [call site] 00259
1 flb_hash_table_exists [function] [call site] 00260
1 strlen [call site] 00261
1 flb_hash_table_del_ptr [function] [call site] 00262
2 strncmp [call site] 00263
2 flb_hash_table_entry_free [function] [call site] 00264
1 flb_hash_table_destroy [function] [call site] 00265
2 flb_hash_table_entry_free [function] [call site] 00266
1 flb_sds_create_len [function] [call site] 00270
2 sds_alloc [function] [call site] 00271
1 flb_sds_cat_esc [function] [call site] 00272
2 flb_sds_avail [function] [call site] 00273
2 flb_sds_increase [function] [call site] 00274
2 flb_sds_avail [function] [call site] 00275
2 flb_sds_increase [function] [call site] 00276
1 flb_sds_destroy [function] [call site] 00277
1 flb_gzip_compress [function] [call site] 00278
2 flb_malloc [function] [call site] 00279
2 __errno_location [call site] 00280
2 flb_errno_print [function] [call site] 00281
2 flb_log_check [function] [call site] 00282
2 flb_log_print [function] [call site] 00283
2 gzip_header [function] [call site] 00284
1 flb_gzip_uncompress [function] [call site] 00286
2 flb_log_check [function] [call site] 00287
2 flb_log_print [function] [call site] 00288
2 flb_log_check [function] [call site] 00289
2 flb_log_print [function] [call site] 00290
2 flb_log_check [function] [call site] 00291
2 flb_log_print [function] [call site] 00292
2 flb_log_check [function] [call site] 00293
2 flb_log_print [function] [call site] 00294
2 read_le16 [function] [call site] 00295
2 flb_log_check [function] [call site] 00296
2 flb_log_print [function] [call site] 00297
2 flb_log_check [function] [call site] 00298
2 flb_log_print [function] [call site] 00299
2 flb_log_check [function] [call site] 00300
2 flb_log_print [function] [call site] 00301
2 flb_log_check [function] [call site] 00302
2 flb_log_print [function] [call site] 00303
2 read_le16 [function] [call site] 00304
2 flb_log_check [function] [call site] 00305
2 flb_log_print [function] [call site] 00306
2 read_le32 [function] [call site] 00307
2 flb_log_check [function] [call site] 00308
2 flb_log_print [function] [call site] 00309
2 read_le32 [function] [call site] 00310
2 flb_log_check [function] [call site] 00311
2 flb_log_print [function] [call site] 00312
2 flb_malloc [function] [call site] 00313
2 __errno_location [call site] 00314
2 flb_errno_print [function] [call site] 00315
2 flb_log_check [function] [call site] 00319
2 flb_log_print [function] [call site] 00320
2 flb_log_check [function] [call site] 00322
2 flb_log_print [function] [call site] 00323
1 flb_gzip_uncompress [function] [call site] 00324
1 flb_hash_init [function] [call site] 00326
2 flb_crypto_get_digest_algorithm_instance_by_id [function] [call site] 00327
3 EVP_sha256 [call site] 00328
3 EVP_sha512 [call site] 00329
3 EVP_md5 [call site] 00330
2 EVP_MD_CTX_new [call site] 00331
2 ERR_get_error [call site] 00332
2 EVP_DigestInit_ex [call site] 00333
2 ERR_get_error [call site] 00334
2 EVP_MD_CTX_md [call site] 00335
1 flb_hash_update [function] [call site] 00336
2 EVP_DigestUpdate [call site] 00337
2 ERR_get_error [call site] 00338
1 flb_hash_update [function] [call site] 00339
1 flb_hash_update [function] [call site] 00340
1 flb_hash_finalize [function] [call site] 00341
2 EVP_DigestFinal_ex [call site] 00342
2 ERR_get_error [call site] 00343
1 flb_hash_cleanup [function] [call site] 00344
2 EVP_MD_CTX_free [call site] 00345
1 flb_regex_init [function] [call site] 00346
1 flb_regex_create [function] [call site] 00347
2 flb_malloc [function] [call site] 00348
2 __errno_location [call site] 00349
2 flb_errno_print [function] [call site] 00350
2 str_to_regex [function] [call site] 00351
3 strlen [call site] 00352
3 check_option [function] [call site] 00353
4 flb_log_check [function] [call site] 00354
4 flb_log_print [function] [call site] 00355
1 flb_regex_match [function] [call site] 00357
1 flb_regex_destroy [function] [call site] 00358
1 flb_regex_exit [function] [call site] 00360
1 flb_slist_create [function] [call site] 00361
1 flb_sds_create_len [function] [call site] 00362
1 flb_slist_add_sds [function] [call site] 00363
2 flb_malloc [function] [call site] 00364
2 __errno_location [call site] 00365
1 flb_slist_entry_get [function] [call site] 00366
1 flb_slist_dump [function] [call site] 00367
2 printf [call site] 00368
2 printf [call site] 00369
1 flb_slist_destroy [function] [call site] 00370
2 flb_sds_destroy [function] [call site] 00371