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

Fuzzer details

Fuzzer: rpc_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 802 70.3%
gold [1:9] 95 8.33%
yellow [10:29] 34 2.98%
greenyellow [30:49] 12 1.05%
lawngreen 50+ 197 17.2%
All colors 1140 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
214 813 rpc_C_SeedRandom call site: 00813 rpc_C_MessageEncryptInit
172 591 rpc_C_DigestInit call site: 00591 rpc_C_GenerateKey
170 219 p11_rpc_buffer_get_uint64 call site: 00219 rpc_C_GetMechanismList
29 521 proto_read_mechanism call site: 00521 rpc_C_Encrypt
26 558 rpc_C_DecryptInit call site: 00558 rpc_C_Decrypt
24 414 rpc_C_CreateObject call site: 00414 rpc_C_CopyObject
19 490 rpc_C_FindObjectsInit call site: 00490 rpc_C_EncryptInit
16 196 p11_rpc_message_alloc_extra call site: 00196 rpc_C_GetSlotInfo
15 459 proto_write_attribute_array call site: 00459 p11_rpc_message_write_attribute_array
14 179 rpc_C_GetInfo call site: 00179 rpc_C_GetSlotList
13 1034 rpc_C_DeriveKey2 call site: 01034 proto_write_mech_param_update
11 774 rpc_C_GenerateKeyPair call site: 00774 rpc_C_WrapKey

Runtime coverage analysis

Covered functions
128
Functions that are reachable but not covered
145
Reachable functions
227
Percentage of reachable functions covered
36.12%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
./fuzz/rpc_fuzzer.c 1
common/mock.c 4
common/library.c 5
common/debug.c 4
common/compat.c 1
common/buffer.c 7
p11-kit/virtual.c 1
p11-kit/rpc-server.c 110
common/message.c 3
p11-kit/rpc-message.c 32
common/dict.c 9
common/attrs.c 9

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/p11-kit/p11-kit/virtual.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/conf.c [] []
/src/p11-kit/common/hash.c [] []
/src/p11-kit/common/constants.c [] []
/src/p11-kit/p11-kit/messages.c [] []
/src/p11-kit/./p11-kit/virtual-stack-generated.h [] []
/src/p11-kit/p11-kit/modules.c [] []
/src/p11-kit/common/array.c [] []
/src/p11-kit/common/path.c [] []
/src/p11-kit/p11-kit/log.c [] []
/src/p11-kit/p11-kit/rpc-message.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/./p11-kit/virtual-ffi-generated.h [] []
/src/p11-kit/./p11-kit/virtual-base-generated.h [] []
/src/p11-kit/common/dict.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/./p11-kit/proxy-generated.h [] []
/src/p11-kit/common/compat.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/vsock.c [] []
/src/p11-kit/./fuzz/rpc_fuzzer.c ['rpc_fuzzer'] []
/src/p11-kit/p11-kit/rpc-server.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/filter.c [] []
/src/p11-kit/common/argv.c [] []
/src/p11-kit/p11-kit/proxy.c [] []
/src/p11-kit/common/message.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/attrs.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/util.c [] []
/src/p11-kit/common/lexer.c [] []
/src/p11-kit/./p11-kit/virtual-fixed-closures.h [] []
/src/p11-kit/p11-kit/uri.c [] []
/src/p11-kit/p11-kit/rpc-transport.c [] []
/src/p11-kit/p11-kit/iter.c [] []
/src/p11-kit/common/url.c [] []
/src/p11-kit/p11-kit/pin.c [] []
/src/p11-kit/common/mock.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/buffer.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/library.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/debug.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/rpc-client.c [] []

Directories in report

Directory
/src/p11-kit/./p11-kit/
/src/p11-kit/common/
/src/p11-kit/./fuzz/
/src/p11-kit/p11-kit/