Fuzz introspector: fuzzfile
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
12 62 5 :

['cupsFileOpenFd', 'ftruncate', 'httpAddrClose', 'close', 'cups_open']

12 62 cupsFileOpen call site: 00299 /src/libcups/cups/file.c:663
10 10 2 :

['close', 'httpAddrClose']

10 10 cupsFileOpen call site: 00300 /src/libcups/cups/file.c:704
8 8 1 :

['httpAddrClose']

8 8 cupsFileClose call site: 00080 /src/libcups/cups/file.c:148
2 2 1 :

['lseek']

12 22 cupsFileOpenFd call site: 00302 /src/libcups/cups/file.c:754
2 2 1 :

['inflateEnd']

6 62 cupsFileSeek call site: 00370 /src/libcups/cups/file.c:1238
0 30 2 :

['cups_write', 'cups_compress']

0 30 cupsFilePrintf call site: 00321 /src/libcups/cups/file.c:926
0 30 2 :

['cups_write', 'cups_compress']

0 30 cupsFilePuts call site: 00328 /src/libcups/cups/file.c:1071
0 0 None 32 56 cups_fill call site: 00344 /src/libcups/cups/file.c:1565
0 0 None 32 56 cups_fill call site: 00345 /src/libcups/cups/file.c:1585
0 0 None 32 56 cups_fill call site: 00349 /src/libcups/cups/file.c:1634
0 0 None 16 16 cups_open call site: 00013 /src/libcups/cups/file.c:1787
0 0 None 12 12 cups_open call site: 00014 /src/libcups/cups/file.c:1793

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 atexit [call site] 00001
1 cleanup_files [function] [call site] 00002
2 unlink [call site] 00003
1 getpid [call site] 00004
1 __snprintf_chk [call site] 00005
1 strdup [call site] 00006
1 cupsFileOpen [function] [call site] 00007
2 __ctype_b_loc [call site] 00008
2 strchr [call site] 00009
2 strtol [call site] 00010
2 cups_open [function] [call site] 00011
3 open [call site] 00012
3 fstat [call site] 00013
3 close [call site] 00014
3 close [call site] 00015
3 __errno_location [call site] 00016
3 close [call site] 00017
3 __errno_location [call site] 00018
3 lstat [call site] 00019
3 close [call site] 00020
3 close [call site] 00021
3 __errno_location [call site] 00022
2 open [call site] 00023
2 cups_open [function] [call site] 00024
2 __errno_location [call site] 00025
2 cups_open [function] [call site] 00026
2 cups_open [function] [call site] 00027
2 ftruncate [call site] 00028
2 cupsCopyString [function] [call site] 00029
3 strlen [call site] 00030
3 validate_end [function] [call site] 00031
2 strrchr [call site] 00032
2 httpAddrGetList [function] [call site] 00033
3 _cupsGlobals [function] [call site] 00034
4 pthread_once [call site] 00035
4 cups_globals_init [function] [call site] 00036
5 pthread_key_create [call site] 00037
5 cups_globals_free [function] [call site] 00038
6 _cupsStrFree [function] [call site] 00039
7 cupsMutexLock [function] [call site] 00040
8 pthread_mutex_lock [call site] 00041
7 cupsArrayFind [function] [call site] 00042
8 cups_array_find [function] [call site] 00043
7 cupsArrayRemove [function] [call site] 00044
8 cups_array_find [function] [call site] 00045
7 cupsMutexUnlock [function] [call site] 00046
8 pthread_mutex_unlock [call site] 00047
6 cupsArrayDelete [function] [call site] 00048
7 cupsArrayClear [function] [call site] 00049
6 cupsArrayDelete [function] [call site] 00050
6 cupsArrayDelete [function] [call site] 00051
6 httpClose [function] [call site] 00052
7 _httpDisconnect [function] [call site] 00053
8 _httpTLSStop [function] [call site] 00054
9 SSL_get_SSL_CTX [call site] 00055
9 SSL_shutdown [call site] 00056
9 SSL_CTX_free [call site] 00057
9 SSL_free [call site] 00058
8 httpAddrClose [function] [call site] 00059
9 close [call site] 00060
9 unlink [call site] 00061
7 httpAddrFreeList [function] [call site] 00062
7 _httpFreeCredentials [function] [call site] 00063
8 OPENSSL_sk_free [call site] 00064
6 _httpFreeCredentials [function] [call site] 00065
6 cupsFileClose [function] [call site] 00066
7 cupsFileFlush [function] [call site] 00067
8 cups_compress [function] [call site] 00068
9 crc32 [call site] 00069
9 cups_write [function] [call site] 00070
10 send [call site] 00071
10 write [call site] 00072
10 __errno_location [call site] 00073
9 deflate [call site] 00074
8 cups_write [function] [call site] 00075
7 inflateEnd [call site] 00076
7 cups_write [function] [call site] 00077
7 deflate [call site] 00078
7 cups_write [function] [call site] 00079
7 deflateEnd [call site] 00080
7 httpAddrClose [function] [call site] 00081
7 close [call site] 00082
6 cupsFileClose [function] [call site] 00083
6 cupsFileClose [function] [call site] 00084
6 cupsArrayDelete [function] [call site] 00085
6 cupsArrayDelete [function] [call site] 00086
6 regfree [call site] 00087
4 pthread_getspecific [call site] 00088
4 getenv [call site] 00089
4 calloc [call site] 00090
4 getuid [call site] 00091
4 strdup [call site] 00092
4 getpwuid_r [call site] 00093
4 cupsCopyString [function] [call site] 00094
4 __snprintf_chk [call site] 00095
4 access [call site] 00096
4 pthread_setspecific [call site] 00097
3 httpInitialize [function] [call site] 00098
4 _cupsGlobalLock [function] [call site] 00099
5 cupsMutexLock [function] [call site] 00100
4 _cupsGlobalUnlock [function] [call site] 00101
5 cupsMutexUnlock [function] [call site] 00102
4 sigaction [call site] 00103
4 _httpTLSInitialize [function] [call site] 00104
4 _cupsGlobalUnlock [function] [call site] 00105
3 __res_init [call site] 00106
3 calloc [call site] 00107
3 cupsCopyString [function] [call site] 00108
3 _cups_strcasecmp [function] [call site] 00109
3 strncmp [call site] 00110
3 cupsCopyString [function] [call site] 00111
3 strlen [call site] 00112
3 strrchr [call site] 00113
3 cupsCopyString [function] [call site] 00114
3 strlen [call site] 00115
3 getaddrinfo [call site] 00116
3 freeaddrinfo [call site] 00117
3 calloc [call site] 00118
3 gai_strerror [call site] 00119
3 _cupsSetError [function] [call site] 00120
4 __errno_location [call site] 00121
4 strerror [call site] 00122
4 _cupsGlobals [function] [call site] 00123
4 _cupsStrFree [function] [call site] 00124
4 cupsLangDefault [function] [call site] 00125
5 _cupsGlobals [function] [call site] 00126
5 _cupsGlobals [function] [call site] 00127
5 setlocale [call site] 00128
5 strcmp [call site] 00129
5 getenv [call site] 00130
5 strchr [call site] 00131
5 cupsCopyString [function] [call site] 00132
5 nl_langinfo [call site] 00133
5 _cups_strcasecmp [function] [call site] 00134
5 strncmp [call site] 00135
5 cupsLangFind [function] [call site] 00136
6 cupsLangDefault [function] [call site] 00137
6 cupsMutexLock [function] [call site] 00138
6 cupsCopyString [function] [call site] 00139
6 _cups_strcasecmp [function] [call site] 00140
6 calloc [call site] 00141
6 cupsRWInit [function] [call site] 00142
7 pthread_rwlock_init [call site] 00143
6 cupsCopyString [function] [call site] 00144
6 _cups_strncasecmp [function] [call site] 00145
6 cupsLangLoadStrings [function] [call site] 00146
7 open [call site] 00147
7 __errno_location [call site] 00148
7 strerror [call site] 00149
7 _cupsSetError [function] [call site] 00150
8 cupsLangGetString [function] [call site] 00151
9 cupsRWLockRead [function] [call site] 00152
10 pthread_rwlock_rdlock [call site] 00153
9 bsearch [call site] 00154
9 cups_message_compare [function] [call site] 00155
10 strcmp [call site] 00156
9 cupsRWUnlock [function] [call site] 00157
10 pthread_rwlock_unlock [call site] 00158
8 _cupsStrAlloc [function] [call site] 00159
9 cupsMutexLock [function] [call site] 00160
9 cupsArrayNew [function] [call site] 00161
10 calloc [call site] 00162
9 compare_sp_items [function] [call site] 00163
10 strcmp [call site] 00164
9 cupsMutexUnlock [function] [call site] 00165
9 cupsArrayFind [function] [call site] 00166
9 cupsMutexUnlock [function] [call site] 00167
9 strlen [call site] 00168
9 calloc [call site] 00169
9 cupsMutexUnlock [function] [call site] 00170
9 cupsArrayAdd [function] [call site] 00171
10 cups_array_add [function] [call site] 00172
11 realloc [call site] 00173
11 cups_array_find [function] [call site] 00174
9 cupsMutexUnlock [function] [call site] 00175
8 _cupsStrAlloc [function] [call site] 00176
7 fstat [call site] 00177
7 __errno_location [call site] 00178
7 strerror [call site] 00179
7 _cupsSetError [function] [call site] 00180
7 close [call site] 00181
7 __errno_location [call site] 00182
7 strerror [call site] 00183
7 _cupsSetError [function] [call site] 00184
7 close [call site] 00185
7 read [call site] 00186
7 __errno_location [call site] 00187
7 strerror [call site] 00188
7 _cupsSetError [function] [call site] 00189
7 close [call site] 00190
7 close [call site] 00191
7 strerror [call site] 00192
7 _cupsSetError [function] [call site] 00193
7 cupsRWLockWrite [function] [call site] 00194
8 pthread_rwlock_wrlock [call site] 00195
7 __ctype_b_loc [call site] 00196
7 __snprintf_chk [call site] 00197
7 _cupsSetError [function] [call site] 00198
7 __snprintf_chk [call site] 00199
7 _cupsSetError [function] [call site] 00200
7 __snprintf_chk [call site] 00201
7 _cupsSetError [function] [call site] 00202
7 __snprintf_chk [call site] 00203
7 _cupsSetError [function] [call site] 00204
7 __snprintf_chk [call site] 00205
7 _cupsSetError [function] [call site] 00206
7 __snprintf_chk [call site] 00207
7 _cupsSetError [function] [call site] 00208
7 __snprintf_chk [call site] 00209
7 _cupsSetError [function] [call site] 00210
7 __snprintf_chk [call site] 00211
7 _cupsSetError [function] [call site] 00212
7 bsearch [call site] 00213
7 cups_message_compare [function] [call site] 00214
7 realloc [call site] 00215
7 __errno_location [call site] 00216
7 strerror [call site] 00217
7 _cupsSetError [function] [call site] 00218
7 _cupsStrAlloc [function] [call site] 00219
7 __errno_location [call site] 00220
7 strerror [call site] 00221
7 _cupsSetError [function] [call site] 00222
7 _cupsStrFree [function] [call site] 00223
7 _cupsStrFree [function] [call site] 00224
7 qsort [call site] 00225
7 cups_message_compare [function] [call site] 00226
7 cupsRWUnlock [function] [call site] 00227
6 __snprintf_chk [call site] 00228
6 access [call site] 00229
6 _cupsStrFree [function] [call site] 00230
6 cupsMutexUnlock [function] [call site] 00231
3 freeaddrinfo [call site] 00232
3 __errno_location [call site] 00233
3 strerror [call site] 00234
3 _cupsSetError [function] [call site] 00235
3 _cups_strcasecmp [function] [call site] 00236
3 __ctype_b_loc [call site] 00237
3 atoi [call site] 00238
3 getservbyname [call site] 00239
3 strcmp [call site] 00240
3 strcmp [call site] 00241
3 strcmp [call site] 00242
3 strcmp [call site] 00243
3 strcmp [call site] 00244
3 _cupsSetError [function] [call site] 00245
3 _cups_strcasecmp [function] [call site] 00246
3 calloc [call site] 00247
3 __errno_location [call site] 00248
3 strerror [call site] 00249
3 _cupsSetError [function] [call site] 00250
3 calloc [call site] 00251
3 __errno_location [call site] 00252
3 strerror [call site] 00253
3 _cupsSetError [function] [call site] 00254
3 calloc [call site] 00255
3 __errno_location [call site] 00256
3 strerror [call site] 00257
3 _cupsSetError [function] [call site] 00258
3 calloc [call site] 00259
3 __errno_location [call site] 00260
3 strerror [call site] 00261
3 _cupsSetError [function] [call site] 00262
2 httpAddrConnect [function] [call site] 00263
3 __errno_location [call site] 00264
3 strerror [call site] 00265
3 _cupsSetError [function] [call site] 00266
3 httpInitialize [function] [call site] 00267
3 httpAddrClose [function] [call site] 00268
3 httpAddrGetFamily [function] [call site] 00269
3 socket [call site] 00270
3 setsockopt [call site] 00271
3 setsockopt [call site] 00272
3 setsockopt [call site] 00273
3 fcntl [call site] 00274
3 fcntl [call site] 00275
3 fcntl [call site] 00276
3 httpAddrGetLength [function] [call site] 00277
4 strlen [call site] 00278
3 connect [call site] 00279
3 fcntl [call site] 00280
3 httpAddrClose [function] [call site] 00281
3 __errno_location [call site] 00282
3 httpAddrClose [function] [call site] 00283
3 fcntl [call site] 00284
3 httpAddrClose [function] [call site] 00285
3 poll [call site] 00286
3 __errno_location [call site] 00287
3 __errno_location [call site] 00288
3 getsockopt [call site] 00289
3 httpAddrClose [function] [call site] 00290
3 httpAddrClose [function] [call site] 00291
3 httpAddrClose [function] [call site] 00292
3 __errno_location [call site] 00293
3 __errno_location [call site] 00294
3 httpAddrClose [function] [call site] 00295
3 __errno_location [call site] 00296
3 strerror [call site] 00297
3 _cupsSetError [function] [call site] 00298
2 httpAddrFreeList [function] [call site] 00299
2 cupsFileOpenFd [function] [call site] 00300
3 __ctype_b_loc [call site] 00301
3 calloc [call site] 00302
3 lseek [call site] 00303
3 time [call site] 00304
3 cups_write [function] [call site] 00305
3 deflateInit2_ [call site] 00306
3 crc32 [call site] 00307
3 fcntl [call site] 00308
2 httpAddrClose [function] [call site] 00309
2 close [call site] 00310
1 cupsFileWrite [function] [call site] 00311
2 cups_write [function] [call site] 00312
2 cupsFileFlush [function] [call site] 00313
2 cups_compress [function] [call site] 00314
2 cups_write [function] [call site] 00315
1 cupsFilePrintf [function] [call site] 00316
2 __vsnprintf_chk [call site] 00317
2 realloc [call site] 00318
2 __vsnprintf_chk [call site] 00319
2 cups_write [function] [call site] 00320
2 cupsFileFlush [function] [call site] 00321
2 cups_compress [function] [call site] 00322
2 cups_write [function] [call site] 00323
2 cupsFileFlush [function] [call site] 00324
1 cupsFilePuts [function] [call site] 00325
2 strlen [call site] 00326
2 cups_write [function] [call site] 00327
2 cupsFileFlush [function] [call site] 00328
2 cups_compress [function] [call site] 00329
2 cups_write [function] [call site] 00330
2 cupsFileFlush [function] [call site] 00331
1 cupsFilePutChar [function] [call site] 00332
2 send [call site] 00333
2 cupsFileFlush [function] [call site] 00334
1 cupsFileFlush [function] [call site] 00335
1 cupsFileClose [function] [call site] 00336
1 cupsFileRead [function] [call site] 00337
2 cups_fill [function] [call site] 00338
3 cups_read [function] [call site] 00339
4 recv [call site] 00340
4 read [call site] 00341
4 __errno_location [call site] 00342
3 __errno_location [call site] 00343
3 __errno_location [call site] 00344
3 __errno_location [call site] 00345
3 __errno_location [call site] 00346
3 __errno_location [call site] 00347
3 crc32 [call site] 00348
3 inflateInit2_ [call site] 00349
3 __errno_location [call site] 00350
3 cups_read [function] [call site] 00351
3 inflate [call site] 00352
3 crc32 [call site] 00353
3 inflateEnd [call site] 00354
3 __memcpy_chk [call site] 00355
3 read [call site] 00356
3 __errno_location [call site] 00357
3 cups_read [function] [call site] 00358
1 cupsFileRewind [function] [call site] 00359
2 inflateEnd [call site] 00360
2 lseek [call site] 00361
1 cupsFileGets [function] [call site] 00362
1 cupsFileGetChar [function] [call site] 00365
2 cups_fill [function] [call site] 00366
1 cupsFileTell [function] [call site] 00367
1 cupsFileSeek [function] [call site] 00368
2 cupsFileRewind [function] [call site] 00369
2 cups_fill [function] [call site] 00370
2 inflateEnd [call site] 00371
2 lseek [call site] 00372
2 cups_fill [function] [call site] 00373
2 lseek [call site] 00374
2 cups_fill [function] [call site] 00375
2 lseek [call site] 00376
1 cupsFileNumber [function] [call site] 00377
1 cupsFileIsCompressed [function] [call site] 00378
1 getpid [call site] 00379
1 __snprintf_chk [call site] 00380
1 strdup [call site] 00381
1 cupsFileOpen [function] [call site] 00382
1 cupsFileWrite [function] [call site] 00383
1 cupsFilePrintf [function] [call site] 00384
1 cupsFileClose [function] [call site] 00385
1 cupsFileRead [function] [call site] 00386
1 cupsFileIsCompressed [function] [call site] 00387
1 __snprintf_chk [call site] 00388
1 strdup [call site] 00389
1 cupsFileOpen [function] [call site] 00390
1 cupsFileWrite [function] [call site] 00391
1 cupsFileClose [function] [call site] 00392
1 cupsFileFind [function] [call site] 00393
2 access [call site] 00394
2 cupsCopyString [function] [call site] 00395
2 cupsCopyString [function] [call site] 00396
2 access [call site] 00397
2 cupsCopyString [function] [call site] 00398
2 access [call site] 00399
1 getpid [call site] 00400
1 mkdir [call site] 00401
1 cupsDirOpen [function] [call site] 00402
2 calloc [call site] 00403
2 opendir [call site] 00404
2 cupsCopyString [function] [call site] 00405
1 cupsFileOpen [function] [call site] 00406
1 cupsFilePrintf [function] [call site] 00407
1 cupsFileClose [function] [call site] 00408
1 cupsDirRead [function] [call site] 00409
2 readdir [call site] 00410
2 strcmp [call site] 00411
2 cupsCopyString [function] [call site] 00412
2 __snprintf_chk [call site] 00413
2 stat [call site] 00414
1 cupsDirRewind [function] [call site] 00415
2 rewinddir [call site] 00416
1 cupsDirClose [function] [call site] 00417
2 closedir [call site] 00418
1 rmdir [call site] 00419
1 unlink [call site] 00420
1 getpid [call site] 00421
1 __snprintf_chk [call site] 00422
1 strdup [call site] 00423
1 cupsFileOpen [function] [call site] 00424
1 cupsFileWrite [function] [call site] 00425
1 cupsFileLock [function] [call site] 00426
2 lockf [call site] 00427
1 cupsFileUnlock [function] [call site] 00428
2 lockf [call site] 00429
1 cupsFileClose [function] [call site] 00430
1 cleanup_files [function] [call site] 00431