Fuzz introspector: selabel_file_text-fuzzer
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
20 203 spec_node_cmp call site: 00203 __errno_location
19 174 spec_node_cmp call site: 00174 rspec_incomp
17 156 spec_node_cmp call site: 00156 lspec_incomp
8 194 spec_node_cmp call site: 00194 __errno_location
6 107 selabel_validate call site: 00107 __errno_location
4 115 insert_spec call site: 00115 __errno_location
4 151 spec_node_cmp call site: 00151 __errno_location
4 237 selabel_sub_key call site: 00237 selabel_apply_subs
3 33 process_line call site: 00033 __errno_location
3 86 regex_format_error call site: 00086 abort
3 100 insert_spec call site: 00100 pthread_mutex_lock
3 259 lookup_check_node call site: 00259 __errno_location

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 memmem [call site] 00001
1 selinux_set_callback [function] [call site] 00002
1 selinux_set_callback [function] [call site] 00003
1 calloc [call site] 00004
1 convert_data [function] [call site] 00005
2 memfd_create [call site] 00006
2 write_full [function] [call site] 00007
3 write [call site] 00008
3 __errno_location [call site] 00009
2 close [call site] 00010
2 fdopen [call site] 00011
2 close [call site] 00012
2 fseek [call site] 00013
2 fclose [call site] 00014
1 __errno_location [call site] 00015
1 process_text_file [function] [call site] 00016
2 getline [call site] 00017
2 process_line [function] [call site] 00018
3 strchr [call site] 00019
3 __errno_location [call site] 00020
3 read_spec_entries [function] [call site] 00021
4 __errno_location [call site] 00022
4 __ctype_b_loc [call site] 00023
4 read_spec_entry [function] [call site] 00024
5 __ctype_b_loc [call site] 00025
5 __ctype_b_loc [call site] 00026
5 utf8_char_len [function] [call site] 00027
5 __errno_location [call site] 00028
5 __errno_location [call site] 00029
5 strndup [call site] 00030
3 __errno_location [call site] 00031
3 pthread_mutex_lock [call site] 00032
3 pthread_mutex_unlock [call site] 00033
3 __errno_location [call site] 00034
3 pthread_mutex_lock [call site] 00035
3 pthread_mutex_unlock [call site] 00036
3 __errno_location [call site] 00037
3 pthread_mutex_lock [call site] 00038
3 pthread_mutex_unlock [call site] 00039
3 __errno_location [call site] 00040
3 string_to_file_kind [function] [call site] 00041
3 __errno_location [call site] 00042
3 pthread_mutex_lock [call site] 00043
3 pthread_mutex_unlock [call site] 00044
3 __errno_location [call site] 00045
3 insert_spec [function] [call site] 00046
4 __errno_location [call site] 00047
4 regex_has_meta_chars [function] [call site] 00048
4 __assert_fail [call site] 00049
4 strchr [call site] 00050
4 regex_simplify [function] [call site] 00051
5 __errno_location [call site] 00052
5 pthread_mutex_lock [call site] 00053
5 pthread_mutex_unlock [call site] 00054
4 strlen [call site] 00055
4 strcmp [call site] 00056
4 strncmp [call site] 00057
4 __errno_location [call site] 00058
4 reallocarray [call site] 00059
4 __errno_location [call site] 00060
4 reallocarray [call site] 00061
4 compile_regex [function] [call site] 00062
5 __errno_location [call site] 00063
5 pthread_mutex_lock [call site] 00064
5 pthread_mutex_unlock [call site] 00065
5 strlen [call site] 00066
5 pthread_mutex_unlock [call site] 00067
5 snprintf [call site] 00068
5 __errno_location [call site] 00069
5 regex_prepare_data [function] [call site] 00070
6 pthread_once [call site] 00071
6 compile_context_init [function] [call site] 00072
7 pcre2_compile_context_create_8 [call site] 00073
7 pcre2_set_compile_extra_options_8 [call site] 00074
6 pcre2_compile_context_create_8 [call site] 00075
6 pcre2_set_compile_extra_options_8 [call site] 00076
6 regex_data_create [function] [call site] 00077
7 calloc [call site] 00078
6 pcre2_compile_8 [call site] 00079
6 pcre2_jit_compile_8 [call site] 00080
6 pcre2_compile_context_free_8 [call site] 00081
6 pcre2_compile_context_free_8 [call site] 00082
6 regex_data_free [function] [call site] 00083
7 pcre2_code_free_8 [call site] 00084
5 regex_format_error [function] [call site] 00085
6 snprintf [call site] 00086
6 abort [call site] 00087
6 snprintf [call site] 00088
6 abort [call site] 00089
6 snprintf [call site] 00090
6 abort [call site] 00091
6 pcre2_get_error_message_8 [call site] 00092
5 pthread_mutex_unlock [call site] 00093
5 __errno_location [call site] 00094
5 pthread_mutex_unlock [call site] 00095
4 __errno_location [call site] 00096
4 pthread_mutex_lock [call site] 00097
4 pthread_mutex_unlock [call site] 00098
4 strcmp [call site] 00099
4 compat_validate [function] [call site] 00100
5 pthread_mutex_lock [call site] 00101
5 pthread_mutex_unlock [call site] 00102
5 pthread_mutex_unlock [call site] 00103
5 selabel_validate [function] [call site] 00104
6 pthread_mutex_lock [call site] 00105
6 pthread_mutex_unlock [call site] 00106
6 pthread_mutex_unlock [call site] 00107
5 __errno_location [call site] 00108
5 pthread_mutex_lock [call site] 00109
5 pthread_mutex_unlock [call site] 00110
5 __errno_location [call site] 00111
5 pthread_mutex_lock [call site] 00112
5 pthread_mutex_unlock [call site] 00113
4 strlen [call site] 00114
4 regex_simplify [function] [call site] 00115
4 __errno_location [call site] 00116
4 pthread_mutex_lock [call site] 00117
4 pthread_mutex_unlock [call site] 00118
4 __errno_location [call site] 00119
4 strchr [call site] 00120
4 __assert_fail [call site] 00121
4 strncmp [call site] 00122
4 strncmp [call site] 00123
4 __errno_location [call site] 00124
4 reallocarray [call site] 00125
4 strndup [call site] 00126
4 __errno_location [call site] 00127
4 reallocarray [call site] 00128
4 strlen [call site] 00129
4 __assert_fail [call site] 00130
4 strcmp [call site] 00131
4 compat_validate [function] [call site] 00132
1 __errno_location [call site] 00133
1 __assert_fail [call site] 00134
1 sort_specs [function] [call site] 00135
2 sort_spec_node [function] [call site] 00136
3 __assert_fail [call site] 00137
3 __assert_fail [call site] 00138
3 __assert_fail [call site] 00139
3 qsort [call site] 00140
3 compare_literal_spec [function] [call site] 00141
4 strcmp [call site] 00142
3 qsort [call site] 00143
3 compare_spec_node [function] [call site] 00144
4 strcmp [call site] 00145
4 __assert_fail [call site] 00146
3 sort_spec_node [function] [call site] 00147
1 cmp [function] [call site] 00148
2 __assert_fail [call site] 00149
2 spec_node_cmp [function] [call site] 00150
3 strcmp [call site] 00151
3 __errno_location [call site] 00152
3 pthread_mutex_lock [call site] 00153
3 pthread_mutex_unlock [call site] 00155
3 strcmp [call site] 00156
3 lspec_incomp [function] [call site] 00157
4 __errno_location [call site] 00158
4 pthread_mutex_lock [call site] 00159
4 file_kind_to_string [function] [call site] 00161
4 pthread_mutex_unlock [call site] 00162
3 lspec_incomp [function] [call site] 00163
3 lspec_incomp [function] [call site] 00164
3 lspec_incomp [function] [call site] 00165
3 __errno_location [call site] 00166
3 pthread_mutex_lock [call site] 00167
3 pthread_mutex_unlock [call site] 00169
3 __errno_location [call site] 00170
3 pthread_mutex_lock [call site] 00171
3 pthread_mutex_unlock [call site] 00173
3 strcmp [call site] 00174
3 __assert_fail [call site] 00175
3 strcmp [call site] 00176
3 strcmp [call site] 00177
3 rspec_incomp [function] [call site] 00178
4 __errno_location [call site] 00179
4 pthread_mutex_lock [call site] 00180
4 file_kind_to_string [function] [call site] 00182
4 pthread_mutex_unlock [call site] 00183
3 __errno_location [call site] 00184
3 pthread_mutex_lock [call site] 00185
3 file_kind_to_string [function] [call site] 00187
3 pthread_mutex_unlock [call site] 00188
3 __errno_location [call site] 00189
3 pthread_mutex_lock [call site] 00190
3 file_kind_to_string [function] [call site] 00192
3 pthread_mutex_unlock [call site] 00193
3 strcmp [call site] 00194
3 __errno_location [call site] 00195
3 pthread_mutex_lock [call site] 00196
3 pthread_mutex_unlock [call site] 00198
3 __errno_location [call site] 00199
3 pthread_mutex_lock [call site] 00200
3 pthread_mutex_unlock [call site] 00202
3 spec_node_cmp [function] [call site] 00203
4 __errno_location [call site] 00204
4 pthread_mutex_lock [call site] 00205
4 pthread_mutex_unlock [call site] 00207
4 __errno_location [call site] 00208
4 pthread_mutex_lock [call site] 00209
4 pthread_mutex_unlock [call site] 00211
4 __errno_location [call site] 00212
4 pthread_mutex_lock [call site] 00213
4 pthread_mutex_unlock [call site] 00215
4 __errno_location [call site] 00216
4 pthread_mutex_lock [call site] 00217
4 pthread_mutex_unlock [call site] 00219
4 __errno_location [call site] 00220
4 pthread_mutex_lock [call site] 00221
4 pthread_mutex_unlock [call site] 00223
1 __assert_fail [call site] 00224
1 __errno_location [call site] 00225
1 lookup_all [function] [call site] 00226
2 mode_to_file_kind [function] [call site] 00227
2 __errno_location [call site] 00228
2 __errno_location [call site] 00229
2 strstr [call site] 00230
2 strlen [call site] 00231
2 strstr [call site] 00232
2 strcpy [call site] 00233
2 strlen [call site] 00234
2 __errno_location [call site] 00235
2 selabel_sub_key [function] [call site] 00236
3 selabel_apply_subs [function] [call site] 00237
4 strncmp [call site] 00238
4 selabel_sub_match_wild [function] [call site] 00239
3 strlen [call site] 00240
3 selabel_apply_subs [function] [call site] 00241
3 selabel_apply_subs [function] [call site] 00242
2 lookup_find_deepest_node [function] [call site] 00243
3 strchr [call site] 00244
3 search_child_node [function] [call site] 00245
4 strncmp [call site] 00246
2 lookup_check_node [function] [call site] 00247
3 strlen [call site] 00248
3 __assert_fail [call site] 00249
3 search_literal_spec [function] [call site] 00250
4 strncmp [call site] 00251
4 strcmp [call site] 00252
4 strncmp [call site] 00253
4 strcmp [call site] 00254
3 strcmp [call site] 00255
3 __errno_location [call site] 00256
3 strncmp [call site] 00257
3 strcmp [call site] 00258
3 compile_regex [function] [call site] 00259
3 __errno_location [call site] 00260
3 pthread_mutex_lock [call site] 00261
3 pthread_mutex_unlock [call site] 00262
3 regex_match [function] [call site] 00263
4 pthread_once [call site] 00264
4 match_data_key_init [function] [call site] 00265
5 pthread_key_create [call site] 00266
5 match_data_thread_free [function] [call site] 00267
6 pcre2_match_data_free_8 [call site] 00268
5 pcre2_match_context_create_8 [call site] 00269
5 pcre2_set_match_limit_8 [call site] 00270
4 pthread_getspecific [call site] 00271
4 pcre2_match_data_create_8 [call site] 00272
4 pthread_setspecific [call site] 00273
4 pcre2_match_data_create_from_pattern_8 [call site] 00274
4 pcre2_match_8 [call site] 00275
4 pcre2_match_data_free_8 [call site] 00276
3 strcmp [call site] 00277
3 __errno_location [call site] 00278
3 __errno_location [call site] 00279
3 __errno_location [call site] 00280
3 free_lookup_result [function] [call site] 00281
2 strlen [call site] 00282
2 strncmp [call site] 00283
2 all_node_specs [function] [call site] 00284
3 __assert_fail [call site] 00285
3 strcmp [call site] 00286
3 strcmp [call site] 00287
3 all_node_specs [function] [call site] 00288
4 free_lookup_result [function] [call site] 00289
1 __errno_location [call site] 00290
1 __assert_fail [call site] 00291
1 __assert_fail [call site] 00292
1 __assert_fail [call site] 00293
1 __assert_fail [call site] 00294
1 __assert_fail [call site] 00295
1 strcmp [call site] 00296
1 __assert_fail [call site] 00297
1 __assert_fail [call site] 00298
1 __assert_fail [call site] 00299
1 strlen [call site] 00300
1 __assert_fail [call site] 00301
1 free_lookup_result [function] [call site] 00302
1 fclose [call site] 00303
1 free_spec_node [function] [call site] 00304
2 pthread_mutex_destroy [call site] 00305
2 pthread_mutex_destroy [call site] 00306
2 regex_data_free [function] [call site] 00307
2 pthread_mutex_destroy [call site] 00308
2 free_spec_node [function] [call site] 00309
1 munmap [call site] 00310
1 __assert_fail [call site] 00311