Fuzz introspector: fuzz_community_id
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
0 0 None 0 4 SHA1Update call site: 00028 /src/ndpi/src/lib/third_party/src/ndpi_sha1.c:195
0 0 None 0 0 ndpi_community_id_buf_copy call site: 00018 /src/ndpi/src/lib/ndpi_community_id.c:70
0 0 1 :

['free']

0 0 ndpi_free call site: 00038 /src/ndpi/src/lib/ndpi_memory.c:80

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 fuzz_set_alloc_callbacks_and_seed [function] [call site] 00001
2 fuzz_set_alloc_callbacks [function] [call site] 00002
3 set_ndpi_malloc [function] [call site] 00003
3 malloc_wrapper [function] [call site] 00004
3 set_ndpi_free [function] [call site] 00006
3 free_wrapper [function] [call site] 00007
2 fuzz_set_alloc_seed [function] [call site] 00008
1 ndpi_malloc [function] [call site] 00009
1 ndpi_flowv4_flow_hash [function] [call site] 00010
2 ndpi_community_id_icmp_type_to_code_v4 [function] [call site] 00011
2 htonl [call site] 00012
2 htonl [call site] 00013
2 htons [call site] 00014
2 htons [call site] 00015
2 ndpi_community_id_peer_v4_is_less_than [function] [call site] 00016
3 memcmp [call site] 00017
2 ndpi_community_id_buf_copy [function] [call site] 00018
2 ndpi_community_id_buf_copy [function] [call site] 00019
2 ndpi_community_id_buf_copy [function] [call site] 00020
2 ndpi_community_id_finalize_and_compute_hash [function] [call site] 00021
3 ndpi_community_id_buf_copy [function] [call site] 00022
3 ndpi_community_id_buf_copy [function] [call site] 00023
3 ndpi_community_id_buf_copy [function] [call site] 00024
3 ndpi_community_id_buf_copy [function] [call site] 00025
3 ndpi_string_sha1_hash [function] [call site] 00026
4 SHA1Update [function] [call site] 00028
5 SHA1Transform [function] [call site] 00029
5 SHA1Transform [function] [call site] 00030
4 SHA1Final [function] [call site] 00031
5 SHA1Update [function] [call site] 00032
5 SHA1Update [function] [call site] 00033
5 SHA1Update [function] [call site] 00034
3 ndpi_base64_encode [function] [call site] 00035
4 ndpi_malloc [function] [call site] 00036
3 strlen [call site] 00037
3 ndpi_free [function] [call site] 00038
3 strcpy [call site] 00039
3 ndpi_free [function] [call site] 00040
1 ndpi_flowv6_flow_hash [function] [call site] 00041
2 ndpi_community_id_icmp_type_to_code_v6 [function] [call site] 00042
2 htons [call site] 00043
2 htons [call site] 00044
2 ndpi_community_id_peer_v6_is_less_than [function] [call site] 00045
3 memcmp [call site] 00046
2 ndpi_community_id_buf_copy [function] [call site] 00047
2 ndpi_community_id_buf_copy [function] [call site] 00048
2 ndpi_community_id_buf_copy [function] [call site] 00049
2 ndpi_community_id_finalize_and_compute_hash [function] [call site] 00050
1 ndpi_free [function] [call site] 00051