Fuzz introspector: /src/inspector/source-code/src/utils_fuzzer.cc
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
1930 1930 1 :

['evdns_resolv_set_defaults']

1930 1930 evdns_base_resolv_conf_parse_impl call site: 00000 /src/libevent/evdns.c:4555
310 313 2 :

['evdns_tcp_disconnect', 'event_mm_free_']

310 313 disconnect_and_free_connection call site: 00000 /src/libevent/evdns.c:651
142 170 6 :

['evutil_socketpair', 'event_warn', 'evutil_fast_socket_nonblocking', 'pipe', 'close', 'evutil_fast_socket_closeonexec']

142 170 evutil_make_internal_pipe_ call site: 00000 /src/libevent/evutil.c:3102
76 80 4 :

['event_mm_malloc_', 'event_debug_map_HT_FIND', 'event_err', 'event_debug_map_HT_INSERT']

76 80 event_debug_note_setup_ call site: 00000 /src/libevent/event.c:247
68 72 4 :

['socket', 'evutil_closesocket', 'evutil_fast_socket_closeonexec', 'evutil_fast_socket_nonblocking']

68 72 evutil_socket_ call site: 00000 /src/libevent/evutil.c:2848
37 37 2 :

['evutil_make_socket_closeonexec', 'epoll_create']

47 391 epoll_init call site: 00000 /src/libevent/epoll.c:183
37 37 2 :

['event_errx', 'event_debug_map_HT_FIND']

37 37 event_debug_assert_not_added_ call site: 00000 /src/libevent/event.c:365
37 37 2 :

['event_errx', 'event_debug_map_HT_FIND']

37 37 event_debug_assert_is_setup_ call site: 00000 /src/libevent/event.c:344
37 37 2 :

['event_errx', 'event_debug_map_HT_FIND']

37 37 event_debug_note_add_ call site: 00000 /src/libevent/event.c:292
37 37 2 :

['event_errx', 'event_debug_map_HT_FIND']

37 37 event_debug_note_del_ call site: 00000 /src/libevent/event.c:318
34 34 1 :

['event_sock_err']

34 34 evsig_init_ call site: 00000 /src/libevent/signal.c:183
24 30 2 :

['evbuffer_enable_locking', 'bufferevent_get_underlying']

24 30 bufferevent_enable_locking_ call site: 00000 /src/libevent/bufferevent.c:851

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 evutil_parse_sockaddr_port [function] [call site] 00001
2 strchr [call site] 00002
2 strchr [call site] 00003
2 strchr [call site] 00004
2 atoi [function] [call site] 00005
3 strtol [call site] 00006
2 __bswap_16 [function] [call site] 00007
2 evutil_inet_pton_scope [function] [call site] 00008
3 evutil_inet_pton [function] [call site] 00009
4 __isoc99_sscanf [call site] 00010
4 __bswap_32 [function] [call site] 00011
4 strchr [call site] 00012
4 strlen [call site] 00013
4 EVUTIL_ISDIGIT_ [function] [call site] 00014
4 __isoc99_sscanf [call site] 00015
4 EVUTIL_ISXDIGIT_ [function] [call site] 00016
4 strtol [call site] 00017
3 strchr [call site] 00018
3 evutil_inet_pton [function] [call site] 00019
3 if_nametoindex [call site] 00020
3 strtoul [call site] 00021
3 event_mm_strdup_ [function] [call site] 00022
4 __errno_location [call site] 00023
4 strlen [call site] 00024
4 strdup [call site] 00025
4 __errno_location [call site] 00026
3 strchr [call site] 00027
3 evutil_inet_pton [function] [call site] 00028
3 event_mm_free_ [function] [call site] 00029
2 __bswap_16 [function] [call site] 00030
2 evutil_inet_pton [function] [call site] 00031
1 evutil_format_sockaddr_port_ [function] [call site] 00032
2 evutil_inet_ntop [function] [call site] 00033
3 __bswap_32 [function] [call site] 00034
3 evutil_snprintf [function] [call site] 00035
4 evutil_vsnprintf [function] [call site] 00036
5 vsnprintf [call site] 00037
3 evutil_snprintf [function] [call site] 00038
3 evutil_snprintf [function] [call site] 00039
3 strlen [call site] 00040
3 evutil_snprintf [function] [call site] 00041
3 strlen [call site] 00042
3 strlen [call site] 00043
3 event_strlcpy_ [function] [call site] 00044
2 __bswap_16 [function] [call site] 00045
2 evutil_snprintf [function] [call site] 00046
2 evutil_inet_ntop [function] [call site] 00047
2 __bswap_16 [function] [call site] 00048
2 evutil_snprintf [function] [call site] 00049
2 evutil_snprintf [function] [call site] 00050
1 evutil_getaddrinfo [function] [call site] 00051
2 need_numeric_port_hack [function] [call site] 00052
3 test_for_getaddrinfo_hacks [function] [call site] 00053
4 getaddrinfo [call site] 00054
4 getaddrinfo [call site] 00055
4 getaddrinfo [call site] 00056
4 ai_find_protocol [function] [call site] 00057
4 freeaddrinfo [call site] 00058
4 freeaddrinfo [call site] 00059
4 freeaddrinfo [call site] 00060
2 parse_numeric_servname [function] [call site] 00061
3 strtol [call site] 00062
2 evutil_getaddrinfo_common_ [function] [call site] 00063
3 evutil_getaddrinfo_infer_protocols [function] [call site] 00064
3 evutil_unparse_protoname [function] [call site] 00065
4 getprotobynumber [call site] 00066
3 evutil_parse_servname [function] [call site] 00067
4 parse_numeric_servname [function] [call site] 00068
4 getservbyname [call site] 00069
4 __bswap_16 [function] [call site] 00070
3 __bswap_16 [function] [call site] 00071
3 __bswap_16 [function] [call site] 00072
3 evutil_new_addrinfo_ [function] [call site] 00073
4 evutil_new_addrinfo_ [function] [call site] 00074
5 evutil_new_addrinfo_ [function] [call site] 00075
6 evutil_freeaddrinfo [function] [call site] 00076
7 event_mm_free_ [function] [call site] 00077
7 event_mm_free_ [function] [call site] 00078
7 freeaddrinfo [call site] 00079
6 event_mm_calloc_ [function] [call site] 00080
7 calloc [call site] 00081
7 __errno_location [call site] 00082
3 __bswap_32 [function] [call site] 00083
3 evutil_new_addrinfo_ [function] [call site] 00084
3 evutil_freeaddrinfo [function] [call site] 00085
3 evutil_addrinfo_append_ [function] [call site] 00086
3 evutil_inet_pton_scope [function] [call site] 00087
3 __bswap_16 [function] [call site] 00088
3 evutil_new_addrinfo_ [function] [call site] 00089
3 evutil_inet_pton [function] [call site] 00090
3 __bswap_16 [function] [call site] 00091
3 evutil_new_addrinfo_ [function] [call site] 00092
2 need_socktype_protocol_hack [function] [call site] 00093
3 test_for_getaddrinfo_hacks [function] [call site] 00094
2 evutil_getaddrinfo_infer_protocols [function] [call site] 00095
2 getaddrinfo [call site] 00096
2 apply_numeric_port_hack [function] [call site] 00097
3 __bswap_16 [function] [call site] 00098
3 __bswap_16 [function] [call site] 00099
3 freeaddrinfo [call site] 00100
2 need_socktype_protocol_hack [function] [call site] 00101
2 apply_socktype_protocol_hack [function] [call site] 00102
3 evutil_getaddrinfo_infer_protocols [function] [call site] 00103
3 event_mm_malloc_ [function] [call site] 00104
3 event_mm_strdup_ [function] [call site] 00105
3 event_mm_free_ [function] [call site] 00106
2 evutil_freeaddrinfo [function] [call site] 00107
1 evutil_freeaddrinfo [function] [call site] 00108
1 evutil_getaddrinfo_common_ [function] [call site] 00109
1 evutil_freeaddrinfo [function] [call site] 00110
1 evutil_getaddrinfo_common_ [function] [call site] 00111
1 evutil_freeaddrinfo [function] [call site] 00112