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 761 66.7%
gold [1:9] 137 12.0%
yellow [10:29] 24 2.10%
greenyellow [30:49] 14 1.22%
lawngreen 50+ 204 17.8%
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
231 796 rpc_C_UnwrapKey call site: 00796 rpc_C_DeriveKey
97 292 rpc_C_InitToken call site: 00292 rpc_C_GetOperationState
84 679 rpc_C_VerifyInit call site: 00679 rpc_C_GenerateKey
58 219 p11_rpc_buffer_get_uint64 call site: 00219 rpc_C_GetMechanismList
31 591 rpc_C_DigestInit call site: 00591 rpc_C_Digest
26 524 rpc_C_EncryptInit call site: 00524 rpc_C_Encrypt
24 414 rpc_C_CreateObject call site: 00414 rpc_C_CopyObject
24 630 rpc_C_SignInit call site: 00630 rpc_C_Sign
17 567 rpc_C_Decrypt call site: 00567 rpc_C_DecryptUpdate
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

Runtime coverage analysis

Covered functions
137
Functions that are reachable but not covered
140
Reachable functions
227
Percentage of reachable functions covered
38.33%
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/common/constants.c [] []
/src/p11-kit/common/hash.c [] []
/src/p11-kit/p11-kit/messages.c [] []
/src/p11-kit/common/buffer.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/uri.c [] []
/src/p11-kit/p11-kit/pin.c [] []
/src/p11-kit/p11-kit/conf.c [] []
/src/p11-kit/common/argv.c [] []
/src/p11-kit/p11-kit/rpc-client.c [] []
/src/p11-kit/p11-kit/iter.c [] []
/src/p11-kit/common/compat.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/rpc-transport.c [] []
/src/p11-kit/./p11-kit/virtual-stack-generated.h [] []
/src/p11-kit/p11-kit/proxy.c [] []
/src/p11-kit/./p11-kit/proxy-generated.h [] []
/src/p11-kit/common/message.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/./p11-kit/virtual-fixed-closures.h [] []
/src/p11-kit/common/debug.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/mock.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/library.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/rpc-server.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/./fuzz/rpc_fuzzer.c ['rpc_fuzzer'] []
/src/p11-kit/p11-kit/util.c [] []
/src/p11-kit/p11-kit/virtual.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/dict.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/attrs.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/common/path.c [] []
/src/p11-kit/p11-kit/rpc-message.c ['rpc_fuzzer'] ['rpc_fuzzer']
/src/p11-kit/p11-kit/modules.c [] []
/src/p11-kit/p11-kit/log.c [] []
/src/p11-kit/common/array.c [] []
/src/p11-kit/common/vsock.c [] []
/src/p11-kit/./p11-kit/virtual-base-generated.h [] []
/src/p11-kit/common/lexer.c [] []
/src/p11-kit/common/url.c [] []
/src/p11-kit/p11-kit/filter.c [] []
/src/p11-kit/./p11-kit/virtual-ffi-generated.h [] []

Directories in report

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