Fuzz introspector: fuzz_command_parser
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
1827 1827 2 :

['init_config_bail', 'rtpp_cfile_process']

1855 1875 init_config call site: 00000 /src/rtpproxy/src/main.c:676
987 1063 11 :

['rtp_resizer_new', 'rtpp_session_ctor', 'rtpp_rlim_max', 'rtp_resizer_free', 'rtpp_create_listener', 'rtp_resizer_set_ptime', 'rtpp_timeout_data_ctor', 'handle_copy', 'free', 'ul_reply_port', 'handle_nomem']

987 1167 rtpp_command_ul_handle call site: 00290 /src/rtpproxy/src/../src/commands/rpcpv1_ul.c:520
129 1181 6 :

['rtpp_command_stream_get', 'handle_command', 'free_command', 'flush_cstats', 'pthread_mutex_unlock', 'pthread_mutex_lock']

129 1181 process_commands_stream call site: 00000 /src/rtpproxy/src/rtpp_command_async.c:230
82 82 3 :

['prdic_free', 'free', 'rtpp_queue_destroy']

82 82 rtpp_timed_ctor call site: 00000 /src/rtpproxy/src/rtpp_timed.c:174
76 83 7 :

['_rtpp_log_lock', 'strlvl', 'fflush', '_rtpp_log_unlock', 'ftime', 'vsyslog_async', 'getdtime']

76 83 _rtpp_log_write_va call site: 00347 /src/rtpproxy/src/rtpp_log_stand.c:256
67 67 3 :

['rtpp_netio_async_destroy', 'rtpp_proc_async_thread_destroy', 'free']

67 67 rtpp_proc_async_ctor call site: 00000 /src/rtpproxy/src/rtpp_proc_async.c:373
55 84 5 :

['rtpp_queue_get_item', 'getdtime', 'rtpp_queue_get_item_by', 'run_servers', 'dtime2mtimespec']

61 90 rtpp_proc_servers_run call site: 00000 /src/rtpproxy/src/rtpp_proc_servers.c:188
50 50 1 :

['syslog_async_init']

60 70 _rtpp_log_open call site: 00310 /src/rtpproxy/src/rtpp_log_stand.c:87
46 46 2 :

['rtpp_daemon', 'getcwd']

147 2672 rtpp_main call site: 00000 /src/rtpproxy/src/main.c:966
38 38 1 :

['rtpp_anetio_sendto']

38 38 rtpc_doreply call site: 00027 /src/rtpproxy/src/rtpp_command.c:199
33 33 2 :

['dlclose', 'rtpp_queue_destroy']

33 33 rtpp_mif_load call site: 00000 /src/rtpproxy/src/rtpp_module_if.c:276
31 31 2 :

['free', 'rtpp_queue_destroy']

31 31 rtpp_notify_ctor call site: 00000 /src/rtpproxy/src/rtpp_notify.c:129

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 rtpp_command_ctor [function] [call site] 00001
2 rtpp_zmalloc [function] [call site] 00002
1 __assert_fail [call site] 00003
1 rtpp_command_split [function] [call site] 00004
2 rtpp_strsplit [function] [call site] 00005
2 memchr [call site] 00006
2 strlen [call site] 00007
2 rtpp_command_guard_retrans [function] [call site] 00008
3 strlen [call site] 00009
3 rtpp_anetio_sendto [function] [call site] 00010
4 rtpp_wi_malloc [function] [call site] 00011
5 rtpp_rmalloc [function] [call site] 00012
6 rtpp_refcnt_osize [function] [call site] 00013
6 rtpp_refcnt_osize [function] [call site] 00014
6 rtpp_refcnt_ctor_pa [function] [call site] 00015
5 rtpp_wi_free [function] [call site] 00016
4 rtpp_queue_put_item [function] [call site] 00017
5 pthread_mutex_lock [call site] 00018
5 circ_buf_push [function] [call site] 00019
5 rtpp_queue_getclen [function] [call site] 00020
5 pthread_cond_signal [call site] 00021
5 pthread_mutex_unlock [call site] 00022
2 rtpp_command_pre_parse [function] [call site] 00023
3 fill_cmd_props [function] [call site] 00024
3 reply_error [function] [call site] 00025
4 snprintf [call site] 00026
4 rtpc_doreply [function] [call site] 00027
5 write [call site] 00028
5 snprintf [call site] 00029
5 rtpp_anetio_sendto [function] [call site] 00030
3 reply_error [function] [call site] 00031
3 reply_error [function] [call site] 00032
3 reply_error [function] [call site] 00033
2 reply_error [function] [call site] 00034
1 handle_command [function] [call site] 00035
2 handle_ver_feature [function] [call site] 00036
3 strcmp [call site] 00037
3 reply_number [function] [call site] 00038
4 snprintf [call site] 00039
4 rtpc_doreply [function] [call site] 00040
3 strcmp [call site] 00041
3 reply_number [function] [call site] 00042
2 reply_number [function] [call site] 00043
2 reply_ok [function] [call site] 00044
3 reply_number [function] [call site] 00045
2 handle_info [function] [call site] 00046
3 reply_error [function] [call site] 00047
3 snprintf [call site] 00048
3 snprintf [call site] 00049
3 rtpc_doreply [function] [call site] 00050
2 rtpp_command_play_opts_parse [function] [call site] 00051
3 rtpp_zmalloc [function] [call site] 00052
3 reply_error [function] [call site] 00053
3 strtol [call site] 00054
3 reply_error [function] [call site] 00055
3 rtpp_command_play_opts_free [function] [call site] 00056
2 reply_error [function] [call site] 00057
2 reply_error [function] [call site] 00058
2 reply_error [function] [call site] 00059
2 reply_error [function] [call site] 00060
2 rtpp_command_del_opts_parse [function] [call site] 00061
3 rtpp_zmalloc [function] [call site] 00062
3 reply_error [function] [call site] 00063
3 reply_error [function] [call site] 00064
3 rtpp_command_del_opts_free [function] [call site] 00065
2 rtpp_command_ul_opts_parse [function] [call site] 00066
3 rtpp_zmalloc [function] [call site] 00067
3 reply_error [function] [call site] 00068
3 ul_opts_init [function] [call site] 00069
3 url_unquote [function] [call site] 00070
4 url_unquote2 [function] [call site] 00071
3 reply_error [function] [call site] 00072
3 reply_error [function] [call site] 00073
3 reply_error [function] [call site] 00074
3 strtol [call site] 00075
3 reply_error [function] [call site] 00076
3 __ctype_b_loc [call site] 00077
3 reply_error [function] [call site] 00078
3 reply_error [function] [call site] 00079
3 extractaddr [function] [call site] 00080
4 __ctype_b_loc [call site] 00081
4 __ctype_b_loc [call site] 00082
3 reply_error [function] [call site] 00083
3 reply_error [function] [call site] 00084
3 extractaddr [function] [call site] 00085
3 reply_error [function] [call site] 00086
3 resolve [function] [call site] 00087
4 getaddrinfo [call site] 00088
4 freeaddrinfo [call site] 00089
3 gai_strerror [call site] 00090
3 reply_error [function] [call site] 00091
3 local4remote [function] [call site] 00092
4 socket [call site] 00093
4 connect [call site] 00094
4 close [call site] 00095
4 getsockname [call site] 00096
4 close [call site] 00097
3 reply_error [function] [call site] 00098
3 reply_error [function] [call site] 00099
3 reply_error [function] [call site] 00100
3 reply_error [function] [call site] 00101
3 strlen [call site] 00102
3 ishostnull [function] [call site] 00104
4 abort [call site] 00105
3 reply_error [function] [call site] 00106
3 ntohs [call site] 00107
3 htons [call site] 00108
3 gai_strerror [call site] 00109
3 reply_error [function] [call site] 00110
3 rtpp_command_ul_opts_free [function] [call site] 00111
2 reply_error [function] [call site] 00112
2 handle_get_stats [function] [call site] 00113
3 snprintf [call site] 00114
3 snprintf [call site] 00115
3 snprintf [call site] 00116
3 rtpc_doreply [function] [call site] 00117
2 reply_error [function] [call site] 00118
2 rtpp_subcommand_ul_opts_parse [function] [call site] 00119
3 atoi_safe_sep [function] [call site] 00120
4 strtol [call site] 00121
3 atoi_safe [function] [call site] 00122
4 atoi_safe_sep [function] [call site] 00123
3 rtpp_command_del_opts_parse [function] [call site] 00124
3 handle_delete_as_subc [function] [call site] 00125
4 rtpp_cmd_delete_ematch [function] [call site] 00126
5 compare_session_tags [function] [call site] 00127
6 memcmp [call site] 00128
6 strtoul [call site] 00129
5 compare_session_tags [function] [call site] 00130
2 rtpp_command_ul_opts_free [function] [call site] 00131
2 reply_error [function] [call site] 00132
2 handle_delete [function] [call site] 00133
3 rtpp_cmd_delete_ematch [function] [call site] 00134
3 rtpp_command_del_opts_free [function] [call site] 00135
2 handle_record [function] [call site] 00136
3 rtpp_cmd_record_ematch [function] [call site] 00137
4 compare_session_tags [function] [call site] 00138
4 compare_session_tags [function] [call site] 00139
4 handle_copy [function] [call site] 00140
5 strncmp [call site] 00141
5 rtpp_record_open [function] [call site] 00142
6 strncmp [call site] 00143
6 rtpp_rzmalloc [function] [call site] 00144
7 rtpp_refcnt_osize [function] [call site] 00145
7 rtpp_refcnt_ctor_pa [function] [call site] 00146
6 pthread_mutex_init [call site] 00147
6 ropen_remote_ctor_pa [function] [call site] 00148
7 strdup [call site] 00149
7 strrchr [call site] 00150
7 atoi [call site] 00151
7 sprintf [call site] 00152
7 gai_strerror [call site] 00154
7 socket [call site] 00155
7 connect [call site] 00156
7 close [call site] 00157
6 rtpp_record_close [function] [call site] 00158
7 flush_rbuf [function] [call site] 00159
8 close [call site] 00160
7 close [call site] 00161
7 unlink [call site] 00162
7 rename [call site] 00163
7 pthread_mutex_destroy [call site] 00164
6 sprintf [call site] 00165
6 sprintf [call site] 00166
6 sprintf [call site] 00167
6 sprintf [call site] 00168
6 open [call site] 00169
6 write [call site] 00170
6 rtpp_record_close [function] [call site] 00171
6 pthread_mutex_destroy [call site] 00172
5 __assert_fail [call site] 00173
5 rtpp_record_open [function] [call site] 00174
5 rtpp_record_open [function] [call site] 00175
2 handle_norecord [function] [call site] 00176
3 rtpp_cmd_norecord_ematch [function] [call site] 00177
4 compare_session_tags [function] [call site] 00178
4 compare_session_tags [function] [call site] 00179
4 handle_stop_record [function] [call site] 00180
4 handle_stop_record [function] [call site] 00181
2 find_stream [function] [call site] 00182
3 rtpp_session_ematch [function] [call site] 00183
4 memcmp [call site] 00184
4 compare_session_tags [function] [call site] 00185
4 strrchr [call site] 00186
4 strrchr [call site] 00187
2 rtpp_command_ul_opts_free [function] [call site] 00188
2 ul_reply_port [function] [call site] 00189
3 ishostnull [function] [call site] 00190
3 snprintf [call site] 00191
3 addr2char_r [function] [call site] 00192
4 inet_ntop [call site] 00193
3 snprintf [call site] 00194
3 snprintf [call site] 00195
3 snprintf [call site] 00196
3 snprintf [call site] 00197
3 snprintf [call site] 00198
3 rtpc_doreply [function] [call site] 00199
2 rtpp_command_play_opts_free [function] [call site] 00200
2 reply_error [function] [call site] 00201
2 rtpp_command_play_handle [function] [call site] 00204
3 strcmp [call site] 00205
3 reply_error [function] [call site] 00206
3 reply_error [function] [call site] 00207
3 rtpp_command_play_opts_free [function] [call site] 00209
2 handle_copy [function] [call site] 00210
2 reply_error [function] [call site] 00211
2 handle_query [function] [call site] 00213
3 handle_query_simple [function] [call site] 00214
4 snprintf [call site] 00215
4 snprintf [call site] 00216
3 snprintf [call site] 00217
3 strcmp [call site] 00218
3 snprintf [call site] 00219
3 strcmp [call site] 00220
3 snprintf [call site] 00221
3 strcmp [call site] 00222
3 snprintf [call site] 00223
3 strcmp [call site] 00224
3 snprintf [call site] 00225
3 strcmp [call site] 00226
3 snprintf [call site] 00227
3 strcmp [call site] 00228
3 strcmp [call site] 00229
3 snprintf [call site] 00230
3 strcmp [call site] 00231
3 snprintf [call site] 00232
3 strcmp [call site] 00233
3 strcmp [call site] 00234
3 snprintf [call site] 00235
3 strcmp [call site] 00236
3 snprintf [call site] 00237
3 strcmp [call site] 00238
3 snprintf [call site] 00239
3 snprintf [call site] 00240
3 strcmp [call site] 00241
3 snprintf [call site] 00242
3 snprintf [call site] 00243
3 snprintf [call site] 00244
2 reply_error [function] [call site] 00245
2 rtpp_command_ul_handle [function] [call site] 00246
3 reply_error [function] [call site] 00247
3 rtpp_create_listener [function] [call site] 00248
4 create_twinlistener [function] [call site] 00249
5 rtpp_socket_ctor [function] [call site] 00250
6 rtpp_rzmalloc [function] [call site] 00251
6 socket [call site] 00252
6 setsockopt [call site] 00253
6 rtpp_socket_bind [function] [call site] 00254
7 bind [call site] 00255
6 rtpp_socket_settos [function] [call site] 00256
7 setsockopt [call site] 00257
6 rtpp_socket_setrbuf [function] [call site] 00258
6 rtpp_socket_setnonblock [function] [call site] 00259
7 fcntl [call site] 00260
6 rtpp_socket_settimestamp [function] [call site] 00261
7 setsockopt [call site] 00262
7 setsockopt [call site] 00263
7 rtpp_socket_rtp_recv [function] [call site] 00264
8 _rtpp_socket_rtp_recv [function] [call site] 00265
9 rtp_packet_alloc [function] [call site] 00266
10 rtpp_rzmalloc [function] [call site] 00267
9 setport [function] [call site] 00268
10 __assert_fail [call site] 00269
10 htons [call site] 00270
8 recvfromto [function] [call site] 00271
9 _recvfromto [function] [call site] 00272
10 recvmsg [call site] 00273
10 __cmsg_nxthdr [call site] 00274
6 rtpp_socket_send_pkt_na [function] [call site] 00275
7 rtpp_anetio_send_pkt_na [function] [call site] 00276
8 rtpp_wi_malloc_pkt_na [function] [call site] 00277
9 rtpp_wi_pkt_free [function] [call site] 00278
8 rtpp_queue_put_item [function] [call site] 00279
6 rtpp_socket_rtp_recv_simple [function] [call site] 00280
7 rtp_packet_alloc [function] [call site] 00281
7 recvfrom [call site] 00282
6 rtpp_socket_getfd [function] [call site] 00283
6 rtpp_socket_drain [function] [call site] 00284
6 rtpp_socket_set_stuid [function] [call site] 00285
6 rtpp_socket_get_stuid [function] [call site] 00286
6 rtpp_socket_dtor [function] [call site] 00287
5 htons [call site] 00288
5 __errno_location [call site] 00289
3 reply_error [function] [call site] 00290
3 reply_error [function] [call site] 00291
3 reply_error [function] [call site] 00292
3 rtpp_create_listener [function] [call site] 00293
3 reply_error [function] [call site] 00294
3 rtpp_session_ctor [function] [call site] 00295
4 rtpp_gen_uid [function] [call site] 00296
4 rtpp_log_ctor [function] [call site] 00297
5 rtpp_rzmalloc [function] [call site] 00298
5 rtpp_gen_uid [function] [call site] 00299
5 rtpp_log_obj_write_early [function] [call site] 00300
6 fprintf [call site] 00301
6 fflush [call site] 00302
5 rtpp_log_obj_ewrite_early [function] [call site] 00303
6 fprintf [call site] 00304
6 vfprintf [call site] 00305
6 __errno_location [call site] 00306
6 fflush [call site] 00307
5 rtpp_log_obj_setlevel_early [function] [call site] 00308
5 rtpp_log_obj_start [function] [call site] 00309
6 _rtpp_log_open [function] [call site] 00310
7 syslog_async_init [function] [call site] 00311
8 syslog_queue_init [function] [call site] 00312
9 pthread_cond_init [call site] 00313
9 pthread_mutex_init [call site] 00314
9 pthread_cond_init [call site] 00315
9 pthread_create [call site] 00316
9 syslog_queue_run [function] [call site] 00317
10 pthread_mutex_lock [call site] 00318
10 pthread_mutex_unlock [call site] 00319
10 syslog [call site] 00320
10 pthread_mutex_lock [call site] 00321
10 pthread_cond_signal [call site] 00322
10 pthread_mutex_unlock [call site] 00323
9 pthread_mutex_destroy [call site] 00324
9 pthread_cond_destroy [call site] 00325
8 pthread_mutex_unlock [call site] 00326
8 pthread_mutex_unlock [call site] 00327
8 openlog [call site] 00328
8 atexit [call site] 00329
8 syslog_async_atexit [function] [call site] 00330
9 syslog_queue_get_free_item [function] [call site] 00331
10 pthread_mutex_unlock [call site] 00332
10 pthread_cond_wait [call site] 00333
9 syslog_queue_put_item [function] [call site] 00334
10 pthread_mutex_unlock [call site] 00335
9 pthread_join [call site] 00336
7 rtpp_zmalloc [function] [call site] 00337
7 strcmp [call site] 00338
7 getenv [call site] 00339
7 strtod [call site] 00340
7 getdtime [function] [call site] 00341
8 _getdtime [function] [call site] 00342
9 clock_gettime [call site] 00343
7 strdup [call site] 00344
6 rtpp_log_obj_write [function] [call site] 00345
7 _rtpp_log_write_va [function] [call site] 00346
8 check_level [function] [call site] 00347
8 vsyslog_async [function] [call site] 00349
9 syslog_queue_get_free_item [function] [call site] 00350
9 syslog_queue_put_item [function] [call site] 00353
8 ftime [function] [call site] 00355
9 modf [call site] 00356
9 snprintf [call site] 00357
8 _rtpp_log_lock [function] [call site] 00358
8 vfprintf [call site] 00360
8 fprintf [call site] 00361
8 fflush [call site] 00362
8 _rtpp_log_unlock [function] [call site] 00363
6 rtpp_log_obj_ewrite [function] [call site] 00364
7 _rtpp_log_ewrite_va [function] [call site] 00365
8 check_level [function] [call site] 00366
8 snprintf [call site] 00368
8 __errno_location [call site] 00369
8 vsyslog_async [function] [call site] 00370
8 _rtpp_log_lock [function] [call site] 00373
8 fprintf [call site] 00375
8 fflush [call site] 00376
8 _rtpp_log_unlock [function] [call site] 00377
6 rtpp_log_obj_setlevel [function] [call site] 00378
7 rtpp_log_setlevel [function] [call site] 00379
7 rtpp_log_setlevel [function] [call site] 00380
6 rtpp_log_setlevel [function] [call site] 00381
5 rtpp_log_obj_dtor [function] [call site] 00382
6 _rtpp_log_close [function] [call site] 00383
4 rtpp_pipe_ctor [function] [call site] 00384
5 rtpp_rzmalloc [function] [call site] 00385
5 rtpp_gen_uid [function] [call site] 00386
5 rtpp_stream_ctor [function] [call site] 00387
6 rtpp_rzmalloc [function] [call site] 00388
6 rtpp_analyzer_ctor [function] [call site] 00389
7 rtpp_rzmalloc [function] [call site] 00390
7 rtpp_stats_init [function] [call site] 00391
8 rtp_analyze_jt_ctor [function] [call site] 00392
9 rtpp_zmalloc [function] [call site] 00393
9 rtp_analyze_jdata_ctor [function] [call site] 00394
10 rtpp_zmalloc [function] [call site] 00395
10 rtpp_ringbuf_ctor [function] [call site] 00396
11 rtpp_rzmalloc [function] [call site] 00397
11 rtpp_zmalloc [function] [call site] 00398
11 rtpp_ringbuf_dtor [function] [call site] 00399
7 rtpp_analyzer_dtor [function] [call site] 00400
8 rtpp_stats_destroy [function] [call site] 00401
9 rtp_analyze_jt_destroy [function] [call site] 00402
6 resizer_injest [function] [call site] 00403
7 rtp_resizer_enqueue [function] [call site] 00404
8 rtp_packet_parse [function] [call site] 00405
9 __assert_fail [call site] 00406
9 rtp_packet_parse_raw [function] [call site] 00407
10 ntohs [call site] 00408
10 ntohl [call site] 00409
10 rtp_calc_samples [function] [call site] 00410
11 g723_samples [function] [call site] 00411
12 g723_len [function] [call site] 00412
6 rtpp_pcnt_strm_ctor [function] [call site] 00413
7 rtpp_rzmalloc [function] [call site] 00414
7 pthread_mutex_init [call site] 00415
7 rtpp_pcnt_strm_dtor [function] [call site] 00416
8 pthread_mutex_destroy [call site] 00417
6 rtpp_netaddr_ctor [function] [call site] 00418
7 rtpp_rzmalloc [function] [call site] 00419
7 pthread_mutex_init [call site] 00420
7 rtpp_netaddr_dtor [function] [call site] 00421
6 rtpp_netaddr_ctor [function] [call site] 00422
6 rtpp_gen_uid [function] [call site] 00423
6 rtpp_stream_dtor [function] [call site] 00424
7 _rtpp_stream_get_actor [function] [call site] 00425
7 snprintf [call site] 00426
7 rtp_resizer_free [function] [call site] 00427
7 pthread_mutex_destroy [call site] 00428
6 pthread_mutex_destroy [call site] 00429
5 rtpp_pcount_ctor [function] [call site] 00430
6 rtpp_pcount_dtor [function] [call site] 00431
5 rtpp_pipe_dtor [function] [call site] 00432
4 rtpp_pipe_ctor [function] [call site] 00433
4 rtpp_acct_ctor [function] [call site] 00434
5 rtpp_rzmalloc [function] [call site] 00435
5 rtpp_acct_dtor [function] [call site] 00436
4 _rtpp_str_dup2_sf [function] [call site] 00437
5 _rtpp_str_dup2 [function] [call site] 00438
4 _rtpp_str_dup2_sf [function] [call site] 00439
4 _rtpp_str_dup2_sc [function] [call site] 00440
5 _rtpp_str_dup2 [function] [call site] 00441
4 rtpp_ttl_ctor [function] [call site] 00442
5 rtpp_rzmalloc [function] [call site] 00443
5 pthread_mutex_init [call site] 00444
5 rtpp_ttl_dtor [function] [call site] 00445
6 pthread_mutex_destroy [call site] 00446
4 rtpp_session_dtor [function] [call site] 00447
5 rtpp_timestamp_get [function] [call site] 00448
3 handle_nomem [function] [call site] 00451
4 reply_error [function] [call site] 00452
3 handle_nomem [function] [call site] 00453
3 handle_nomem [function] [call site] 00454
3 rtpp_rlim_max [function] [call site] 00455
3 rtpp_rlim_max [function] [call site] 00456
3 handle_copy [function] [call site] 00457
3 handle_copy [function] [call site] 00458
3 rtpp_timeout_data_ctor [function] [call site] 00459
4 rtpp_rzmalloc [function] [call site] 00460
3 rtp_resizer_set_ptime [function] [call site] 00461
4 rtp_resizer_get_ptime [function] [call site] 00462
3 rtp_resizer_new [function] [call site] 00463
4 rtpp_zmalloc [function] [call site] 00464
4 rtp_resizer_set_ptime [function] [call site] 00465
3 rtp_resizer_free [function] [call site] 00466
3 ul_reply_port [function] [call site] 00467
2 rtpp_command_ul_opts_free [function] [call site] 00468
2 abort [call site] 00469
1 free_command [function] [call site] 00470