Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
LLVMFuzzerInitialize /src/memcached/fuzzer_proxy.c 2 ['N/A', 'N/A'] 17 0 38 3 2 388 0 1839 852
try_read_command_udp /src/memcached/memcached.c 1 ['N/A'] 13 0 45 6 3 291 0 1831 190
mcplib_pool /src/memcached/proxy_lua.c 1 ['N/A'] 7 0 461 58 19 75 0 203 139
start_storage_compact_thread /src/memcached/storage.c 1 ['N/A'] 11 0 41 6 3 89 1 429 109
storage_init /src/memcached/storage.c 1 ['N/A'] 4 0 92 12 5 27 1 127 99
server_sockets /src/memcached/memcached.c 3 ['int', 'int', 'N/A'] 16 0 504 75 28 256 1 1388 84
start_lru_maintainer_thread /src/memcached/items.c 1 ['N/A'] 9 0 45 6 3 70 1 336 83
slab_rebalance_thread /src/memcached/slabs.c 1 ['N/A'] 7 0 140 32 12 48 2 233 73
_mc_meta_load_cb /src/memcached/memcached.c 3 ['N/A', 'N/A', 'N/A'] 2 0 543 120 34 21 1 119 72
logger_thread /src/memcached/logger.c 1 ['N/A'] 11 0 141 28 10 38 3 150 65

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
67.0%
491 / 729
Cyclomatic complexity statically reachable by fuzzers
72.0%
3460 / 4790

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/memcached/./xxhash.h [] []
/src/memcached/proxy_request.c ['fuzzer_proxy'] []
/src/memcached/proto_text.c ['fuzzer_proxy'] []
/src/memcached/base64.c ['fuzzer_proxy'] []
/src/memcached/proxy_config.c [] []
/src/memcached/items.c ['fuzzer_proxy'] []
/src/memcached/bipbuffer.c ['fuzzer_proxy'] []
/src/memcached/memcached.c ['fuzzer_proxy'] []
/src/memcached/slab_automove_extstore.c [] []
/src/memcached/md5.c [] []
/src/memcached/authfile.c [] []
/src/memcached/proxy_lua.c ['fuzzer_proxy'] []
/src/memcached/util.c ['fuzzer_proxy'] []
/src/memcached/cache.c ['fuzzer_proxy'] []
/src/memcached/jenkins_hash.c [] []
/src/memcached/proto_bin.c ['fuzzer_proxy'] []
/src/memcached/proxy_await.c ['fuzzer_proxy'] []
/src/memcached/thread.c ['fuzzer_proxy'] []
/src/memcached/crc32c.c [] []
/src/memcached/proxy_internal.c ['fuzzer_proxy'] []
/src/memcached/extstore.c ['fuzzer_proxy'] []
/src/memcached/slabs.c ['fuzzer_proxy'] []
/src/memcached/proxy_network.c [] []
/src/memcached/proxy_ratelim.c [] []
/src/memcached/stats_prefix.c ['fuzzer_proxy'] []
/src/memcached/assoc.c ['fuzzer_proxy'] []
/src/memcached/proxy_xxhash.c [] []
/src/memcached/slab_automove.c [] []
/src/memcached/crawler.c ['fuzzer_proxy'] []
/src/memcached/storage.c ['fuzzer_proxy'] []
/src/memcached/proxy_ustats.c [] []
/src/memcached/proxy_jump_hash.c [] []
/src/memcached/proxy_ring_hash.c [] []
/src/memcached/itoa_ljust.c ['fuzzer_proxy'] []
/src/memcached/proto_proxy.c ['fuzzer_proxy'] []
/src/memcached/murmur3_hash.c [] []
/src/memcached/fuzzer_proxy.c ['fuzzer_proxy'] []
/src/memcached/restart.c [] []
/src/memcached/logger.c ['fuzzer_proxy'] []
/src/memcached/daemon.c [] []
/src/memcached/hash.c [] []

Directories in report

Directory
/src/memcached/./
/src/memcached/