Fuzz introspector: test_blkid_fuzz
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
98 240 blkid_probe_is_wholedisk call site: 00240 blkid_probe_get_wholedisk_devno
88 16 blkid_probe_open_device call site: 00016 sysfs_devno_is_dm_hidden
69 170 blkid_probe_set_device call site: 00170 blkid_probe_is_wholedisk
19 350 get_hint call site: 00350 blkid_probe_set_hint
9 339 ul_vfs_lseek call site: 00339 blkid_probe_get_hint
8 111 ul_vfs_close call site: 00111 ul_unref_path
5 105 ul_vfs_read call site: 00105 ul_vfs_close
5 383 blkid_probe_set_device call site: 00383 blkid_free_probe
4 161 blkid_probe_reset_hints call site: 00161 ul_debug_prefix
4 370 list_add_tail call site: 00370 ul_debug_prefix
3 8 blkid_new_probe call site: 00008 getpid
3 375 blkid_probe_set_device call site: 00375 blkid_get_io_size

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 mkostemp [call site] 00001
1 err [call site] 00002
1 write [call site] 00003
1 process_file [function] [call site] 00004
2 blkid_new_probe_from_filename [function] [call site] 00005
3 blkid_new_probe [function] [call site] 00006
4 calloc [call site] 00007
4 ul_debug_prefix [function] [call site] 00008
5 getpid [call site] 00009
5 fprintf [call site] 00010
5 fprintf [call site] 00011
4 ul_debug [function] [call site] 00012
5 vfprintf [call site] 00013
5 fputc [call site] 00014
3 blkid_probe_open_device [function] [call site] 00015
4 stat [call site] 00016
4 sysfs_devno_is_dm_hidden [function] [call site] 00017
5 ul_new_sysfs_path [function] [call site] 00018
6 ul_new_path [function] [call site] 00019
7 calloc [call site] 00020
7 ul_debug_prefix [function] [call site] 00021
7 vasprintf [call site] 00023
7 ul_unref_path [function] [call site] 00024
8 ul_debug_prefix [function] [call site] 00025
8 ul_path_close_dirfd [function] [call site] 00027
9 __assert_fail [call site] 00028
9 ul_debug_prefix [function] [call site] 00029
9 close [call site] 00031
6 ul_path_set_prefix [function] [call site] 00032
7 __assert_fail [call site] 00033
7 strdup [call site] 00034
7 ul_debug_prefix [function] [call site] 00035
6 sysfs_blkdev_init_path [function] [call site] 00037
7 gnu_dev_major [call site] 00038
7 gnu_dev_minor [call site] 00039
7 snprintf [call site] 00040
7 ul_path_set_dir [function] [call site] 00041
8 strdup [call site] 00042
8 close [call site] 00043
8 ul_debug_prefix [function] [call site] 00044
7 ul_path_get_dirfd [function] [call site] 00046
8 __assert_fail [call site] 00047
8 __assert_fail [call site] 00048
8 get_absdir [function] [call site] 00049
9 snprintf [call site] 00050
9 __errno_location [call site] 00051
8 __errno_location [call site] 00052
8 ul_debug_prefix [function] [call site] 00053
8 open [call site] 00055
7 ul_path_get_dialect [function] [call site] 00056
7 ul_debug_prefix [function] [call site] 00057
7 calloc [call site] 00059
7 ul_path_set_dialect [function] [call site] 00060
8 ul_debug_prefix [function] [call site] 00061
7 sysfs_blkdev_deinit_path [function] [call site] 00063
8 ul_debug_prefix [function] [call site] 00064
8 ul_path_get_dialect [function] [call site] 00066
8 ul_unref_path [function] [call site] 00067
8 ul_path_set_dialect [function] [call site] 00068
7 ul_path_set_enoent_redirect [function] [call site] 00069
7 sysfs_blkdev_enoent_redirect [function] [call site] 00070
8 ul_path_get_dialect [function] [call site] 00071
8 ul_path_get_dirfd [function] [call site] 00072
8 ul_debug_prefix [function] [call site] 00073
7 ul_debug_prefix [function] [call site] 00075
7 sysfs_blkdev_set_parent [function] [call site] 00077
8 ul_path_get_dialect [function] [call site] 00078
8 ul_unref_path [function] [call site] 00079
8 ul_ref_path [function] [call site] 00080
8 ul_debug_prefix [function] [call site] 00081
6 ul_unref_path [function] [call site] 00083
6 ul_debug_prefix [function] [call site] 00084
5 ul_path_refer_vfs [function] [call site] 00086
5 ul_path_read_string [function] [call site] 00087
6 ul_path_read_buffer [function] [call site] 00088
7 ul_path_read [function] [call site] 00089
8 ul_path_open [function] [call site] 00090
9 open [call site] 00091
9 ul_debug_prefix [function] [call site] 00092
9 ul_path_get_dirfd [function] [call site] 00094
9 openat [call site] 00095
9 __errno_location [call site] 00096
9 openat [call site] 00097
9 ul_debug_prefix [function] [call site] 00098
8 __errno_location [call site] 00100
8 ul_debug_prefix [function] [call site] 00101
8 __read_all [function] [call site] 00103
9 ul_vfs_read [function] [call site] 00104
10 read [call site] 00105
9 __errno_location [call site] 00106
9 xusleep [function] [call site] 00107
10 nanosleep [call site] 00108
8 __errno_location [call site] 00109
8 ul_vfs_close [function] [call site] 00110
9 close [call site] 00111
8 __errno_location [call site] 00112
6 strdup [call site] 00113
5 strncmp [call site] 00114
5 strrchr [call site] 00115
5 ul_unref_path [function] [call site] 00116
4 ul_debug_prefix [function] [call site] 00117
4 __errno_location [call site] 00119
4 ul_vfs_open [function] [call site] 00120
5 open [call site] 00121
4 __errno_location [call site] 00122
4 blkid_probe_set_device [function] [call site] 00123
5 blkid_reset_probe [function] [call site] 00124
6 blkid_probe_reset_values [function] [call site] 00125
7 list_empty [function] [call site] 00126
7 ul_debug_prefix [function] [call site] 00127
7 list_empty [function] [call site] 00129
7 blkid_probe_free_value [function] [call site] 00130
8 ul_debug_prefix [function] [call site] 00133
6 blkid_probe_set_wiper [function] [call site] 00135
7 ul_debug_prefix [function] [call site] 00136
7 ul_debug_prefix [function] [call site] 00138
6 blkid_probe_chain_reset_position [function] [call site] 00140
5 blkid_probe_reset_buffers [function] [call site] 00141
6 blkid_probe_prune_buffers [function] [call site] 00142
7 remove_buffer [function] [call site] 00143
8 ul_debug_prefix [function] [call site] 00145
8 munmap [call site] 00147
6 list_empty [function] [call site] 00148
6 ul_debug_prefix [function] [call site] 00149
6 list_empty [function] [call site] 00151
6 remove_buffer [function] [call site] 00152
6 ul_debug_prefix [function] [call site] 00153
5 ul_vfs_close [function] [call site] 00155
5 blkid_free_probe [function] [call site] 00156
6 ul_vfs_close [function] [call site] 00157
6 blkid_probe_reset_buffers [function] [call site] 00158
6 blkid_probe_reset_values [function] [call site] 00159
6 blkid_probe_reset_hints [function] [call site] 00160
7 list_empty [function] [call site] 00161
7 ul_debug_prefix [function] [call site] 00162
7 list_empty [function] [call site] 00164
6 blkid_free_probe [function] [call site] 00166
7 ul_debug_prefix [function] [call site] 00167
5 posix_fadvise [call site] 00169
5 fstat [call site] 00170
5 __errno_location [call site] 00171
5 blkdev_get_size [function] [call site] 00172
6 ioctl [call site] 00173
6 ioctl [call site] 00174
6 ioctl [call site] 00175
6 fstat [call site] 00176
6 __errno_location [call site] 00177
6 blkdev_find_size [function] [call site] 00178
7 blkdev_valid_offset [function] [call site] 00179
8 lseek [call site] 00180
8 __read_all [function] [call site] 00181
7 __errno_location [call site] 00182
7 blkdev_valid_offset [function] [call site] 00183
7 blkdev_valid_offset [function] [call site] 00184
5 ul_debug_prefix [function] [call site] 00185
5 sysfs_chrdev_devno_to_devname [function] [call site] 00187
6 gnu_dev_major [call site] 00188
6 gnu_dev_minor [call site] 00189
6 ul_new_path [function] [call site] 00190
6 ul_path_readlink [function] [call site] 00191
7 get_absdir [function] [call site] 00192
7 __errno_location [call site] 00193
7 readlink [call site] 00194
7 ul_path_get_dirfd [function] [call site] 00195
7 readlinkat [call site] 00196
6 ul_unref_path [function] [call site] 00197
6 strrchr [call site] 00198
6 strlen [call site] 00199
6 sysfs_devname_sys_to_dev [function] [call site] 00200
7 strchr [call site] 00201
5 strncmp [call site] 00202
5 ul_debug_prefix [function] [call site] 00203
5 __errno_location [call site] 00205
5 ul_debug_prefix [function] [call site] 00206
5 __errno_location [call site] 00208
5 ioctl [call site] 00209
5 fcntl [call site] 00210
5 ul_reopen [function] [call site] 00211
6 ul_fd_get_path [function] [call site] 00212
7 ul_fd_mkpath [function] [call site] 00213
8 __errno_location [call site] 00214
8 snprintf [call site] 00215
8 __errno_location [call site] 00216
7 readlink [call site] 00217
7 __errno_location [call site] 00218
7 ul_endswith [function] [call site] 00219
8 strlen [call site] 00220
8 strlen [call site] 00221
8 memcmp [call site] 00222
7 __errno_location [call site] 00223
7 strdup [call site] 00224
6 __errno_location [call site] 00225
6 open [call site] 00226
5 __errno_location [call site] 00227
5 sysfs_devno_is_dm_private [function] [call site] 00228
6 ul_new_sysfs_path [function] [call site] 00229
6 ul_path_refer_vfs [function] [call site] 00230
6 ul_path_read_string [function] [call site] 00231
6 strncmp [call site] 00232
6 strrchr [call site] 00233
6 strncmp [call site] 00234
6 ul_unref_path [function] [call site] 00235
5 ul_debug_prefix [function] [call site] 00236
5 blkid_probe_is_tiny [function] [call site] 00238
5 blkid_probe_is_wholedisk [function] [call site] 00239
6 blkid_probe_get_devno [function] [call site] 00240
6 blkid_probe_get_wholedisk_devno [function] [call site] 00241
7 blkid_probe_get_devno [function] [call site] 00242
7 blkid_devno_to_wholedisk [function] [call site] 00243
8 sysfs_devno_to_wholedisk [function] [call site] 00244
9 ul_new_sysfs_path [function] [call site] 00245
9 sysfs_blkdev_get_wholedisk [function] [call site] 00246
10 ul_path_access [function] [call site] 00247
11 access [call site] 00248
11 ul_debug_prefix [function] [call site] 00249
11 ul_debug [function] [call site] 00250
11 ul_path_get_dirfd [function] [call site] 00251
11 faccessat [call site] 00252
11 __errno_location [call site] 00253
11 faccessat [call site] 00254
11 ul_debug_prefix [function] [call site] 00255
11 ul_debug [function] [call site] 00256
10 ul_path_read_string [function] [call site] 00257
10 strsep [call site] 00258
10 c_strncasecmp [function] [call site] 00259
11 c_tolower [function] [call site] 00260
11 c_tolower [function] [call site] 00261
10 get_dm_wholedisk [function] [call site] 00262
11 sysfs_blkdev_get_slave [function] [call site] 00263
12 ul_path_opendir [function] [call site] 00264
13 ul_path_open [function] [call site] 00265
13 ul_debug_prefix [function] [call site] 00266
13 ul_debug [function] [call site] 00267
13 ul_path_get_dirfd [function] [call site] 00268
13 dup_fd_cloexec [function] [call site] 00269
14 fcntl [call site] 00270
14 dup [call site] 00271
14 fcntl [call site] 00272
14 fcntl [call site] 00273
14 __errno_location [call site] 00274
14 close [call site] 00275
14 __errno_location [call site] 00276
13 fdopendir [call site] 00277
13 close [call site] 00278
13 rewinddir [call site] 00279
12 xreaddir [function] [call site] 00280
13 readdir [call site] 00281
13 strcmp [call site] 00282
13 strcmp [call site] 00283
12 strdup [call site] 00284
12 closedir [call site] 00285
12 closedir [call site] 00286
11 xstrncpy [function] [call site] 00287
12 strlen [call site] 00288
11 ul_path_get_prefix [function] [call site] 00289
11 __sysfs_devname_to_devno [function] [call site] 00290
12 __assert_fail [call site] 00291
12 strncmp [call site] 00292
12 stat [call site] 00293
12 strdup [call site] 00294
12 sysfs_devname_dev_to_sys [function] [call site] 00295
13 strchr [call site] 00296
12 strdup [call site] 00297
12 strncmp [call site] 00298
12 sysfs_devname_dev_to_sys [function] [call site] 00299
12 snprintf [call site] 00300
12 read_devno [function] [call site] 00301
13 fopen [call site] 00302
13 __isoc99_fscanf [call site] 00303
13 gnu_dev_makedev [call site] 00304
13 fclose [call site] 00305
12 snprintf [call site] 00306
12 read_devno [function] [call site] 00307
12 ul_startswith [function] [call site] 00308
13 strlen [call site] 00309
13 strncmp [call site] 00310
12 snprintf [call site] 00311
12 read_devno [function] [call site] 00312
12 snprintf [call site] 00313
12 read_devno [function] [call site] 00314
10 sysfs_blkdev_get_name [function] [call site] 00315
11 ul_path_readlink [function] [call site] 00316
11 strrchr [call site] 00317
11 strlen [call site] 00318
11 sysfs_devname_sys_to_dev [function] [call site] 00319
10 sysfs_blkdev_get_devno [function] [call site] 00320
11 ul_path_get_dialect [function] [call site] 00321
10 ul_path_readlink [function] [call site] 00322
10 stripoff_last_component [function] [call site] 00323
11 strrchr [call site] 00324
10 stripoff_last_component [function] [call site] 00325
10 sysfs_devname_sys_to_dev [function] [call site] 00326
10 xstrncpy [function] [call site] 00327
10 ul_path_get_prefix [function] [call site] 00328
10 __sysfs_devname_to_devno [function] [call site] 00329
9 ul_unref_path [function] [call site] 00330
5 ioctl [call site] 00331
5 ioctl [call site] 00332
5 __errno_location [call site] 00333
5 ioctl [call site] 00334
5 __errno_location [call site] 00335
5 cdrom_size_correction [function] [call site] 00336
6 is_sector_readable [function] [call site] 00337
7 ul_vfs_lseek [function] [call site] 00338
8 lseek [call site] 00339
7 ul_vfs_read [function] [call site] 00340
7 ul_debug_prefix [function] [call site] 00341
7 __errno_location [call site] 00343
6 ul_debug_prefix [function] [call site] 00344
6 ul_debug_prefix [function] [call site] 00346
5 blkid_probe_get_hint [function] [call site] 00348
6 get_hint [function] [call site] 00349
7 list_empty [function] [call site] 00350
7 strcmp [call site] 00351
5 ioctl [call site] 00352
5 blkid_probe_set_hint [function] [call site] 00353
6 strchr [call site] 00354
6 blkid_parse_tag_string [function] [call site] 00355
7 ul_debug_prefix [function] [call site] 00356
7 strchr [call site] 00358
7 strdup [call site] 00359
7 strrchr [call site] 00360
7 strdup [call site] 00361
6 __errno_location [call site] 00362
6 strtoumax [call site] 00363
6 __errno_location [call site] 00364
6 ul_debug_prefix [function] [call site] 00366
6 strdup [call site] 00368
6 list_add_tail [function] [call site] 00369
7 __list_add [function] [call site] 00370
6 ul_debug_prefix [function] [call site] 00371
6 __errno_location [call site] 00373
5 ioctl [call site] 00374
5 blkid_probe_is_tiny [function] [call site] 00375
5 blkid_get_io_size [function] [call site] 00376
6 ioctl [call site] 00377
6 is_power_of_2 [function] [call site] 00378
5 ul_debug_prefix [function] [call site] 00379
5 ul_debug_prefix [function] [call site] 00381
5 blkid_probe_is_wholedisk [function] [call site] 00382
5 ul_debug_prefix [function] [call site] 00384
4 ul_vfs_close [function] [call site] 00386
4 __errno_location [call site] 00387
3 blkid_free_probe [function] [call site] 00388
2 blkid_probe_enable_partitions [function] [call site] 00389
2 blkid_probe_set_partitions_flags [function] [call site] 00390
2 blkid_probe_enable_superblocks [function] [call site] 00391
2 blkid_probe_set_superblocks_flags [function] [call site] 00392
2 blkid_do_safeprobe [function] [call site] 00393
3 blkid_probe_start [function] [call site] 00394
4 ul_debug_prefix [function] [call site] 00395
4 blkid_probe_set_wiper [function] [call site] 00397
3 ul_debug_prefix [function] [call site] 00398
3 blkid_probe_chain_reset_position [function] [call site] 00400
3 blkid_probe_chain_reset_position [function] [call site] 00401
3 blkid_probe_end [function] [call site] 00402
4 ul_debug_prefix [function] [call site] 00403
4 blkid_probe_set_wiper [function] [call site] 00405
2 blkid_free_probe [function] [call site] 00406
1 close [call site] 00407
1 unlink [call site] 00408