Fuzz introspector: fuzz-parse-attr-line
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
116 164 strbuf_release call site: 00164 strbuf_grow
26 104 xrealloc call site: 00104 die
25 40 trace2_cmd_error_va_fl call site: 00040 tr2_dst_get_trace_fd
22 80 git_env_ulong call site: 00080 die
21 142 strbuf_vaddf call site: 00142 strbuf_addstr
10 11 strbuf_grow call site: 00011 die
7 32 xwrite call site: 00032 trace2_cmd_error_va_fl
4 288 fprintf_ln call site: 00288 attr_name_valid
3 66 strbuf_add call site: 00066 BUG_fl
3 308 xmallocz call site: 00308 die
2 22 vfreportf call site: 00022 fprintf
2 25 vfreportf call site: 00025 _

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 parse_attr_line [function] [call site] 00001
2 strspn [call site] 00002
2 strlen [call site] 00003
2 unquote_c_style [function] [call site] 00007
3 strcspn [call site] 00008
3 strbuf_add [function] [call site] 00009
4 strbuf_grow [function] [call site] 00010
5 st_add [function] [call site] 00011
6 die [function] [call site] 00012
7 fputs [call site] 00013
7 common_exit [function] [call site] 00014
8 check_bug_if_BUG [function] [call site] 00015
9 BUG_fl [function] [call site] 00016
10 BUG_vfl [function] [call site] 00017
11 BUG_vfl_common [function] [call site] 00018
12 snprintf [call site] 00019
12 vreportf [function] [call site] 00020
13 vfreportf [function] [call site] 00021
14 strlen [call site] 00022
14 fprintf [call site] 00023
14 abort [call site] 00024
14 vsnprintf [call site] 00025
14 fprintf [call site] 00027
14 fflush [call site] 00028
14 fileno [call site] 00029
14 write_in_full [function] [call site] 00030
15 xwrite [function] [call site] 00031
16 write [call site] 00032
16 __errno_location [call site] 00033
16 __errno_location [call site] 00034
16 handle_nonblock [function] [call site] 00035
17 poll [call site] 00036
15 __errno_location [call site] 00037
11 abort [call site] 00038
11 trace2_cmd_error_va_fl [function] [call site] 00039
12 tr2_dst_trace_want [function] [call site] 00040
13 tr2_dst_get_trace_fd [function] [call site] 00041
14 tr2_sysenv_get [function] [call site] 00042
15 getenv [call site] 00044
15 xstrdup [function] [call site] 00045
16 strdup [call site] 00046
14 strcmp [call site] 00049
14 strcasecmp [call site] 00050
14 strcmp [call site] 00051
14 strcasecmp [call site] 00052
14 atoi [call site] 00053
14 is_absolute_path [function] [call site] 00054
15 git_is_dir_sep [function] [call site] 00055
15 git_has_dos_drive_prefix [function] [call site] 00056
14 is_directory [function] [call site] 00057
15 stat64 [call site] 00058
14 tr2_dst_try_auto_path [function] [call site] 00059
15 tr2_sid_get [function] [call site] 00060
16 tr2_sid_compute [function] [call site] 00061
17 getenv [call site] 00062
17 strbuf_addstr [function] [call site] 00063
18 strlen [call site] 00064
18 strbuf_add [function] [call site] 00065
19 strbuf_setlen [function] [call site] 00066
20 __assert_fail [call site] 00068
17 strbuf_addch [function] [call site] 00069
18 strbuf_avail [function] [call site] 00070
18 strbuf_grow [function] [call site] 00071
19 xrealloc [function] [call site] 00074
20 xmalloc [function] [call site] 00075
21 do_xmalloc [function] [call site] 00076
22 memory_limit_check [function] [call site] 00077
23 git_env_ulong [function] [call site] 00078
24 getenv [call site] 00079
24 git_parse_ulong [function] [call site] 00080
25 git_parse_unsigned [function] [call site] 00081
26 strchr [call site] 00082
26 __errno_location [call site] 00083
26 __errno_location [call site] 00084
26 strtoumax [call site] 00085
26 __errno_location [call site] 00086
26 __errno_location [call site] 00087
26 get_unit_factor [function] [call site] 00088
27 strcasecmp [call site] 00089
27 strcasecmp [call site] 00090
27 strcasecmp [call site] 00091
26 __errno_location [call site] 00092
26 __errno_location [call site] 00093
26 __errno_location [call site] 00094
23 const_error [function] [call site] 00098
22 const_error [function] [call site] 00102
20 memory_limit_check [function] [call site] 00103
20 realloc [call site] 00104
17 tr2_sid_append_my_sid_component [function] [call site] 00106
18 getpid [call site] 00107
18 tr2_tbuf_utc_datetime [function] [call site] 00108
19 gettimeofday [call site] 00109
19 gmtime_r [call site] 00110
18 strbuf_addstr [function] [call site] 00116
18 strbuf_addch [function] [call site] 00117
18 xgethostname [function] [call site] 00118
19 gethostname [call site] 00119
18 strbuf_add [function] [call site] 00120
18 git_hash_init [function] [call site] 00121
18 strlen [call site] 00122
18 git_hash_update [function] [call site] 00123
18 git_hash_final [function] [call site] 00125
18 hash_to_hex_algop_r [function] [call site] 00127
18 strbuf_addch [function] [call site] 00128
18 strbuf_add [function] [call site] 00129
18 strbuf_addf [function] [call site] 00130
19 strbuf_vaddf [function] [call site] 00131
20 strbuf_avail [function] [call site] 00132
20 strbuf_grow [function] [call site] 00133
20 vsnprintf [call site] 00134
20 strbuf_avail [function] [call site] 00137
20 strbuf_grow [function] [call site] 00138
20 vsnprintf [call site] 00139
20 strbuf_avail [function] [call site] 00140
20 strbuf_setlen [function] [call site] 00142
17 setenv [call site] 00143
15 strrchr [call site] 00144
15 strbuf_addstr [function] [call site] 00145
15 git_is_dir_sep [function] [call site] 00146
15 strbuf_addch [function] [call site] 00147
15 strbuf_addstr [function] [call site] 00148
15 tr2_dst_too_many_files [function] [call site] 00149
16 tr2_sysenv_get [function] [call site] 00150
16 atoi [call site] 00151
16 strbuf_addstr [function] [call site] 00152
16 git_is_dir_sep [function] [call site] 00153
16 strbuf_addbuf [function] [call site] 00154
17 strbuf_grow [function] [call site] 00155
17 strbuf_setlen [function] [call site] 00156
16 strbuf_addstr [function] [call site] 00157
16 stat64 [call site] 00158
16 opendir [call site] 00159
16 readdir64 [call site] 00160
16 closedir [call site] 00161
16 open64 [call site] 00162
16 strbuf_release [function] [call site] 00163
17 strbuf_init [function] [call site] 00164
18 strbuf_grow [function] [call site] 00165
16 strbuf_release [function] [call site] 00166
15 strbuf_setlen [function] [call site] 00167
15 strbuf_addf [function] [call site] 00168
15 open64 [call site] 00169
15 strbuf_release [function] [call site] 00170
15 tr2_dst_want_warning [function] [call site] 00171
16 tr2_sysenv_get [function] [call site] 00172
16 atoi [call site] 00173
15 tr2_sysenv_display_name [function] [call site] 00174
15 tr2_dst_want_warning [function] [call site] 00177
15 tr2_sysenv_display_name [function] [call site] 00178
15 __errno_location [call site] 00179
15 strerror [call site] 00180
15 tr2_dst_trace_disable [function] [call site] 00182
16 close [call site] 00183
15 strbuf_release [function] [call site] 00184
15 strbuf_release [function] [call site] 00185
14 tr2_dst_try_path [function] [call site] 00186
15 open64 [call site] 00187
15 tr2_dst_want_warning [function] [call site] 00188
15 tr2_sysenv_display_name [function] [call site] 00189
15 __errno_location [call site] 00190
15 strerror [call site] 00191
15 tr2_dst_trace_disable [function] [call site] 00193
14 starts_with [function] [call site] 00194
14 tr2_dst_try_unix_domain_socket [function] [call site] 00195
15 skip_prefix_impl [function] [call site] 00196
15 skip_prefix_impl [function] [call site] 00197
15 skip_prefix_impl [function] [call site] 00198
15 tr2_dst_want_warning [function] [call site] 00199
15 tr2_sysenv_display_name [function] [call site] 00200
15 tr2_dst_trace_disable [function] [call site] 00202
15 is_absolute_path [function] [call site] 00203
15 strlen [call site] 00204
15 tr2_dst_want_warning [function] [call site] 00205
15 tr2_sysenv_display_name [function] [call site] 00206
15 tr2_dst_trace_disable [function] [call site] 00208
15 tr2_dst_try_uds_connect [function] [call site] 00209
16 socket [call site] 00210
16 gitstrlcpy [function] [call site] 00211
17 strlen [call site] 00212
16 connect [call site] 00213
16 __errno_location [call site] 00214
16 close [call site] 00215
16 __errno_location [call site] 00216
15 __errno_location [call site] 00217
15 tr2_dst_try_uds_connect [function] [call site] 00218
15 tr2_dst_want_warning [function] [call site] 00219
15 tr2_sysenv_display_name [function] [call site] 00220
15 __errno_location [call site] 00221
15 strerror [call site] 00222
15 tr2_dst_trace_disable [function] [call site] 00224
14 tr2_dst_malformed_warning [function] [call site] 00225
15 tr2_sysenv_display_name [function] [call site] 00226
14 tr2_dst_trace_disable [function] [call site] 00228
11 common_exit [function] [call site] 00229
12 trace2_cmd_exit_fl [function] [call site] 00230
13 trace2_collect_process_info [function] [call site] 00231
14 trace2_is_enabled [function] [call site] 00232
14 getppid [call site] 00233
14 push_ancestry_name [function] [call site] 00234
15 stat_parent_pid [function] [call site] 00235
16 strbuf_addf [function] [call site] 00236
16 git_fopen [function] [call site] 00237
17 fopen64 [call site] 00238
17 fopen64 [call site] 00239
17 fileno [call site] 00240
17 fstat64 [call site] 00241
17 fclose [call site] 00242
17 fclose [call site] 00243
17 __errno_location [call site] 00244
16 strbuf_fread [function] [call site] 00245
17 strbuf_grow [function] [call site] 00246
17 fread [call site] 00247
17 strbuf_setlen [function] [call site] 00248
17 strbuf_release [function] [call site] 00249
16 parse_proc_stat [function] [call site] 00250
17 strchr [call site] 00251
17 strrchr [call site] 00252
17 strchr [call site] 00253
17 strtol [call site] 00254
17 strbuf_add [function] [call site] 00255
16 fclose [call site] 00256
16 strbuf_release [function] [call site] 00257
16 strbuf_release [function] [call site] 00258
15 strvec_push [function] [call site] 00259
16 strvec_push_nodup [function] [call site] 00261
15 push_ancestry_name [function] [call site] 00264
16 strbuf_release [function] [call site] 00265
14 trace2_cmd_ancestry_fl [function] [call site] 00266
15 tr2_dst_trace_want [function] [call site] 00267
14 strvec_clear [function] [call site] 00268
15 strvec_init [function] [call site] 00269
13 getnanotime [function] [call site] 00270
14 highres_nanos [function] [call site] 00271
15 clock_gettime [call site] 00272
14 gettimeofday_nanos [function] [call site] 00273
15 gettimeofday [call site] 00274
14 gettimeofday_nanos [function] [call site] 00275
14 highres_nanos [function] [call site] 00276
13 tr2tls_absolute_elapsed [function] [call site] 00277
13 tr2_dst_trace_want [function] [call site] 00278
11 exit [call site] 00279
11 abort [call site] 00280
3 strbuf_addch [function] [call site] 00281
3 strbuf_setlen [function] [call site] 00282
2 strcspn [call site] 00283
2 starts_with [function] [call site] 00284
2 fprintf_ln [function] [call site] 00286
3 vfprintf [call site] 00287
3 putc [call site] 00288
2 strspn [call site] 00289
2 strcspn [call site] 00290
2 attr_name_valid [function] [call site] 00291
2 attr_name_reserved [function] [call site] 00292
3 starts_with [function] [call site] 00293
2 report_invalid_attr [function] [call site] 00294
3 strbuf_addf [function] [call site] 00296
3 fprintf [call site] 00297
3 strbuf_release [function] [call site] 00298
2 strspn [call site] 00299
2 parse_attr [function] [call site] 00300
3 strcspn [call site] 00301
3 strchr [call site] 00302
3 attr_name_valid [function] [call site] 00303
3 attr_name_reserved [function] [call site] 00304
3 report_invalid_attr [function] [call site] 00305
3 git_attr_internal [function] [call site] 00313
4 attr_name_valid [function] [call site] 00314
4 hashmap_lock [function] [call site] 00315
5 pthread_mutex_lock [call site] 00316
4 attr_hashmap_get [function] [call site] 00317
5 hashmap_entry_init [function] [call site] 00319
5 hashmap_get [function] [call site] 00320
6 find_entry_ptr [function] [call site] 00321
5 container_of_or_null_offset [function] [call site] 00324
4 xcalloc [function] [call site] 00326
5 memory_limit_check [function] [call site] 00328
5 calloc [call site] 00329
5 calloc [call site] 00330
4 hashmap_get_size [function] [call site] 00332
4 attr_hashmap_add [function] [call site] 00334
4 hashmap_get_size [function] [call site] 00345
4 hashmap_unlock [function] [call site] 00348
5 pthread_mutex_unlock [call site] 00349
3 strspn [call site] 00350
2 git_attr_internal [function] [call site] 00354
2 parse_path_pattern [function] [call site] 00355
3 strlen [call site] 00356
3 simple_length [function] [call site] 00357
3 no_wildcard [function] [call site] 00358
4 simple_length [function] [call site] 00359
2 parse_attr [function] [call site] 00362
2 strbuf_release [function] [call site] 00363
2 strbuf_release [function] [call site] 00364