Fuzz introspector: fuzz_ds_libcache
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 15 cache_add call site: 00027 /src/ndpi/src/lib/third_party/src/libcache.c:204
0 0 1 :

['free']

0 0 ndpi_free call site: 00013 /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 cache_new [function] [call site] 00009
2 ndpi_calloc [function] [call site] 00010
3 ndpi_malloc [function] [call site] 00011
2 ndpi_calloc [function] [call site] 00012
2 ndpi_free [function] [call site] 00013
1 cache_add [function] [call site] 00014
2 jenkins_one_at_a_time_hash [function] [call site] 00015
2 memcmp [call site] 00016
2 cache_touch_entry [function] [call site] 00017
2 cache_entry_new [function] [call site] 00018
3 ndpi_calloc [function] [call site] 00019
2 cache_entry_map_new [function] [call site] 00020
3 ndpi_calloc [function] [call site] 00021
2 ndpi_free [function] [call site] 00022
2 ndpi_malloc [function] [call site] 00023
2 ndpi_free [function] [call site] 00024
2 ndpi_free [function] [call site] 00025
2 jenkins_one_at_a_time_hash [function] [call site] 00026
2 memcmp [call site] 00027
2 ndpi_free [function] [call site] 00028
2 ndpi_free [function] [call site] 00029
2 ndpi_free [function] [call site] 00030
1 cache_contains [function] [call site] 00031
2 jenkins_one_at_a_time_hash [function] [call site] 00032
2 memcmp [call site] 00033
2 cache_touch_entry [function] [call site] 00034
1 cache_contains [function] [call site] 00035
1 cache_remove [function] [call site] 00036
2 jenkins_one_at_a_time_hash [function] [call site] 00037
2 memcmp [call site] 00038
2 ndpi_free [function] [call site] 00039
2 ndpi_free [function] [call site] 00040
2 ndpi_free [function] [call site] 00041
1 cache_remove [function] [call site] 00042