Fuzz introspector: /src/tinyusb/test/fuzz/device/cdc/src/fuzz.cc
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
6 76 process_setup_received call site: 00076 usbd_edpt_clear_stall
6 84 usbd_process_event call site: 00084 usbd_control_xfer_cb
5 69 process_get_status call site: 00069 process_get_status
4 42 tud_control_xfer call site: 00042 configuration_reset
3 116 stream_xfer call site: 00116 stream_release
3 137 stream_write_xfer_locked call site: 00137 stream_xfer
2 10 dcd_int_handler call site: 00010 sof_event_handler
2 17 dcd_int_handler call site: 00017 tud_task_ext
2 48 process_set_config call site: 00048 tu_bind_driver_to_ep_itf
2 92 usbd_process_event call site: 00092 cdc_task
2 106 tu_fifo_read_n_access_mode call site: 00106 correct_read_index
1 7 tud_rhport_init call site: 00007 dcd_int_handler

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 fuzz_init [function] [call site] 00001
1 tusb_rhport_init [function] [call site] 00002
2 tud_rhport_init [function] [call site] 00003
3 tud_inited [function] [call site] 00004
3 usbd_app_driver_get_cb [function] [call site] 00005
3 dcd_int_enable [function] [call site] 00007
1 dcd_int_handler [function] [call site] 00008
2 __assert_fail [call site] 00009
2 dcd_event_handler [function] [call site] 00010
3 sof_event_handler [function] [call site] 00011
4 queue_event [function] [call site] 00012
5 tud_event_hook_cb [function] [call site] 00013
4 queue_event [function] [call site] 00014
3 queue_event [function] [call site] 00015
3 queue_event [function] [call site] 00016
2 dcd_event_handler [function] [call site] 00017
2 dcd_event_handler [function] [call site] 00018
1 tud_task_ext [function] [call site] 00019
2 tud_inited [function] [call site] 00020
2 tud_task_event_ready [function] [call site] 00021
3 tud_inited [function] [call site] 00022
2 run_after_queue_call [function] [call site] 00023
2 usbd_process_event [function] [call site] 00024
3 usbd_reset [function] [call site] 00025
4 configuration_reset [function] [call site] 00026
3 usbd_reset [function] [call site] 00027
3 usbd_reset [function] [call site] 00028
3 tud_umount_cb [function] [call site] 00029
3 dcd_edpt0_setup_begin [function] [call site] 00030
3 process_setup_received [function] [call site] 00031
4 tud_vendor_control_xfer_cb [function] [call site] 00032
4 invoke_class_control [function] [call site] 00033
4 process_std_device_request [function] [call site] 00034
5 dcd_set_address [function] [call site] 00035
6 dcd_edpt_xfer [function] [call site] 00036
5 tud_address_cb [function] [call site] 00037
5 tud_control_xfer [function] [call site] 00038
6 data_stage_xact [function] [call site] 00039
7 usbd_edpt_xfer [function] [call site] 00040
8 dcd_edpt_xfer [function] [call site] 00041
6 usbd_edpt_xfer [function] [call site] 00042
5 dcd_sof_enable [function] [call site] 00043
5 dcd_edpt_close_all [function] [call site] 00044
5 configuration_reset [function] [call site] 00045
5 tud_umount_cb [function] [call site] 00046
5 process_set_config [function] [call site] 00047
6 tud_descriptor_configuration_cb [function] [call site] 00048
6 tu_bind_driver_to_ep_itf [function] [call site] 00049
5 tud_mount_cb [function] [call site] 00050
5 tud_control_status [function] [call site] 00051
6 usbd_edpt_xfer [function] [call site] 00052
5 process_get_descriptor [function] [call site] 00053
6 tud_descriptor_device_cb [function] [call site] 00054
6 tud_control_xfer [function] [call site] 00055
6 tud_descriptor_bos_cb [function] [call site] 00056
6 tud_control_xfer [function] [call site] 00057
6 tud_descriptor_configuration_cb [function] [call site] 00058
6 tud_descriptor_other_speed_configuration_cb [function] [call site] 00059
6 tud_control_xfer [function] [call site] 00060
6 tud_descriptor_string_cb [function] [call site] 00061
7 strlen [call site] 00062
6 tud_control_xfer [function] [call site] 00063
6 tud_descriptor_device_qualifier_cb [function] [call site] 00064
6 tud_control_xfer [function] [call site] 00065
5 tud_control_status [function] [call site] 00066
5 tud_control_status [function] [call site] 00067
5 process_get_status [function] [call site] 00068
6 tud_control_xfer [function] [call site] 00069
4 invoke_class_control [function] [call site] 00070
4 tud_control_xfer [function] [call site] 00071
4 tud_control_status [function] [call site] 00072
4 process_get_status [function] [call site] 00073
4 invoke_class_control [function] [call site] 00074
4 usbd_edpt_stalled [function] [call site] 00075
4 process_get_status [function] [call site] 00076
4 usbd_edpt_clear_stall [function] [call site] 00077
5 dcd_edpt_clear_stall [function] [call site] 00078
4 usbd_edpt_stall [function] [call site] 00079
5 dcd_edpt_stall [function] [call site] 00080
4 invoke_class_control [function] [call site] 00081
4 tud_control_status [function] [call site] 00082
3 dcd_edpt_stall [function] [call site] 00083
3 dcd_edpt_stall [function] [call site] 00084
3 usbd_control_xfer_cb [function] [call site] 00085
4 dcd_edpt0_status_complete [function] [call site] 00086
4 usbd_edpt_xfer [function] [call site] 00087
4 dcd_edpt_stall [function] [call site] 00088
4 dcd_edpt_stall [function] [call site] 00089
4 data_stage_xact [function] [call site] 00090
3 tud_suspend_cb [function] [call site] 00091
3 tud_resume_cb [function] [call site] 00092
3 tud_sof_cb [function] [call site] 00093
1 cdc_task [function] [call site] 00094
2 __assert_fail [call site] 00095
2 tud_cdc_n_connected [function] [call site] 00096
3 tud_mounted [function] [call site] 00097
3 tud_suspended [function] [call site] 00098
2 tud_cdc_n_get_line_state [function] [call site] 00099
2 tud_cdc_n_get_line_coding [function] [call site] 00100
2 tud_cdc_n_set_wanted_char [function] [call site] 00101
2 tud_cdc_n_available [function] [call site] 00102
2 tud_cdc_n_read [function] [call site] 00103
3 tu_edpt_stream_read [function] [call site] 00104
4 tu_fifo_read_n_access_mode [function] [call site] 00105
5 tu_fifo_peek_n_access_mode [function] [call site] 00106
6 correct_read_index [function] [call site] 00107
6 ff_pull_n [function] [call site] 00108
5 advance_index [function] [call site] 00109
4 tu_edpt_stream_read_xfer [function] [call site] 00110
5 stream_claim [function] [call site] 00111
6 usbd_edpt_claim [function] [call site] 00112
7 tu_edpt_claim [function] [call site] 00113
5 stream_xfer [function] [call site] 00114
6 usbd_edpt_xfer_fifo [function] [call site] 00115
6 usbd_edpt_xfer [function] [call site] 00116
5 stream_release [function] [call site] 00117
6 usbd_edpt_release [function] [call site] 00118
7 tu_edpt_release [function] [call site] 00119
2 tud_cdc_n_read [function] [call site] 00120
2 tud_cdc_n_read_flush [function] [call site] 00121
3 tu_fifo_clear [function] [call site] 00122
3 tu_edpt_stream_read_xfer [function] [call site] 00123
2 tud_cdc_n_peek [function] [call site] 00124
3 tu_fifo_peek [function] [call site] 00125
4 ff_peek_local [function] [call site] 00126
5 correct_read_index [function] [call site] 00127
2 tud_cdc_n_write [function] [call site] 00128
3 tu_edpt_stream_write [function] [call site] 00129
4 tu_fifo_write_n_access_mode [function] [call site] 00130
5 ff_push_n [function] [call site] 00131
5 advance_write_index [function] [call site] 00132
6 advance_index [function] [call site] 00133
6 advance_index [function] [call site] 00134
4 tu_edpt_stream_write_xfer [function] [call site] 00135
5 stream_write_xfer_locked [function] [call site] 00136
6 stream_claim [function] [call site] 00137
6 tu_fifo_read_n_access_mode [function] [call site] 00138
6 stream_release [function] [call site] 00139
6 stream_xfer [function] [call site] 00140
2 tud_cdc_n_write [function] [call site] 00141
2 strlen [call site] 00142
2 tud_cdc_n_write [function] [call site] 00143
2 tud_cdc_n_write_flush [function] [call site] 00144
3 tu_edpt_stream_write_xfer [function] [call site] 00145
2 tud_cdc_n_write_available [function] [call site] 00146
3 tu_edpt_stream_write_available [function] [call site] 00147
2 tud_cdc_n_write_clear [function] [call site] 00148
3 tu_fifo_clear [function] [call site] 00149