Fuzz introspector: fuzz_xml
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
8 8 1 :

['extract_svclass_uuid']

8 8 sdp_attr_add call site: 00000 /src/bluez/lib/sdp.c:591
0 0 None 28 748 sdp_xml_parse_datatype call site: 00000 /src/bluez/src/sdp-xml.c:405
0 0 None 24 221 element_start call site: 00000 /src/bluez/src/sdp-xml.c:444
0 0 None 18 468 sdp_xml_parse_datatype call site: 00000 /src/bluez/src/sdp-xml.c:415
0 0 None 16 412 sdp_xml_parse_datatype call site: 00000 /src/bluez/src/sdp-xml.c:417
0 0 None 14 356 sdp_xml_parse_datatype call site: 00000 /src/bluez/src/sdp-xml.c:419
0 0 None 14 147 element_start call site: 00000 /src/bluez/src/sdp-xml.c:494
0 0 None 12 300 sdp_xml_parse_datatype call site: 00000 /src/bluez/src/sdp-xml.c:421
0 0 None 10 244 sdp_xml_parse_datatype call site: 00000 /src/bluez/src/sdp-xml.c:423
0 0 None 8 26 sdp_xml_parse_record call site: 00001 /src/bluez/src/sdp-xml.c:607
0 0 None 8 19 sdp_xml_parse_record call site: 00002 /src/bluez/src/sdp-xml.c:611
0 0 None 8 14 sdp_attr_add call site: 00000 /src/bluez/lib/sdp.c:585

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 sdp_xml_parse_record [function] [call site] 00001
2 sdp_record_alloc [function] [call site] 00002
3 bt_malloc0 [function] [call site] 00003
4 calloc [call site] 00004
2 g_markup_parse_context_new [call site] 00005
2 g_markup_parse_context_parse [call site] 00006
2 g_markup_parse_context_free [call site] 00007
2 sdp_record_free [function] [call site] 00008
3 sdp_list_free [function] [call site] 00009
3 sdp_data_free [function] [call site] 00010
4 data_seq_free [function] [call site] 00011
5 sdp_data_free [function] [call site] 00012
3 sdp_list_free [function] [call site] 00013
2 g_markup_parse_context_free [call site] 00014
1 convert_sdp_record_to_xml [function] [call site] 00015
2 sdp_list_foreach [function] [call site] 00016
2 convert_raw_attr_to_xml_func [function] [call site] 00017
3 snprintf [call site] 00018
3 convert_raw_data_to_xml [function] [call site] 00019
4 snprintf [call site] 00020
4 snprintf [call site] 00021
4 snprintf [call site] 00022
4 snprintf [call site] 00023
4 sprintf [call site] 00024
4 snprintf [call site] 00025
4 snprintf [call site] 00026
4 snprintf [call site] 00027
4 snprintf [call site] 00028
4 sprintf [call site] 00029
4 snprintf [call site] 00030
4 snprintf [call site] 00031
4 snprintf [call site] 00032
4 __ctype_b_loc [call site] 00033
4 sprintf [call site] 00034
4 strndup [call site] 00035
4 convert_raw_data_to_xml [function] [call site] 00036
5 convert_raw_data_to_xml [function] [call site] 00037
6 convert_raw_data_to_xml [function] [call site] 00038
1 empty_func [function] [call site] 00039
1 sdp_record_free [function] [call site] 00040