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

Fuzzer details

Fuzzer: fuzz_keys

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 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 100.%
All colors 2 100

Runtime coverage analysis

Covered functions
71
Functions that are reachable but not covered
2
Reachable functions
2
Percentage of reachable functions covered
0.0%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/ 1
...fuzz_keys 1

Fuzzer: fuzz_asymmetric_load

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 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 7 100.%
All colors 7 100

Runtime coverage analysis

Covered functions
72
Functions that are reachable but not covered
7
Reachable functions
7
Percentage of reachable functions covered
0.0%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/ 1
...fuzz_asymmetric_load 6

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
oscrypto._openssl.tls.TLSSocket.wrap oscrypto._openssl.tls 4 ['N/A', 'N/A', 'N/A', 'N/A'] 5 0 2 3 4 232 0 789 783
oscrypto._mac.asymmetric.load_pkcs12 oscrypto._mac.asymmetric 2 ['N/A', 'N/A'] 5 0 1 7 6 205 0 702 436
oscrypto.asymmetric.dump_private_key oscrypto.asymmetric 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 1 10 7 163 0 544 232
oscrypto._mac.tls.TLSSocket.wrap oscrypto._mac.tls 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 2 3 4 186 0 624 196
oscrypto._win.tls.TLSSocket.wrap oscrypto._win.tls 4 ['N/A', 'N/A', 'N/A', 'N/A'] 5 0 2 3 4 182 0 637 147
oscrypto._win.asymmetric.generate_pair oscrypto._win.asymmetric 3 ['N/A', 'N/A', 'N/A'] 5 0 1 11 7 176 0 610 123
oscrypto._openssl.asymmetric.Certificate.self_signed oscrypto._openssl.asymmetric 1 ['N/A'] 3 0 2 6 5 75 0 251 114
oscrypto._win.asymmetric.Certificate.self_signed oscrypto._win.asymmetric 1 ['N/A'] 4 0 2 6 5 70 0 252 111
oscrypto._openssl.asymmetric.generate_pair oscrypto._openssl.asymmetric 3 ['N/A', 'N/A', 'N/A'] 2 0 26 31 15 139 0 473 81
oscrypto._win.asymmetric._sign oscrypto._win.asymmetric 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 1 10 7 75 4 262 65

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

Functions statically reachable by fuzzers
50.0%
236 / 476
Cyclomatic complexity statically reachable by fuzzers
53.0%
1068 / 2003

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 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
[] []
ctypes [] []
oscrypto._mac._core_foundation [] []
oscrypto [] []
sys [] []
oscrypto._win._secur32_cffi [] []
oscrypto._cipher_suites [] []
...fuzz_asymmetric_load ['fuzz_asymmetric_load'] []
oscrypto.errors [] []
binascii [] []
atheris [] []
oscrypto._win.trust_list [] []
oscrypto._openssl.symmetric [] []
[] []
datetime [] []
oscrypto._mac [] []
oscrypto._win._advapi32_cffi [] []
oscrypto._win._kernel32 [] []
oscrypto._win._kernel32_ctypes [] []
oscrypto._win._decode [] []
...fuzz_keys ['fuzz_keys'] []
random [] []
oscrypto.tls [] []
weakref [] []
oscrypto._mac._core_foundation_cffi [] []
oscrypto._openssl.tls [] []
oscrypto._win.util [] []
oscrypto._mac.util [] []
oscrypto._win._advapi32_ctypes [] []
oscrypto._openssl._libcrypto_ctypes [] []
locale [] []
oscrypto._mac.asymmetric [] []
platform [] []
oscrypto._win [] []
oscrypto._linux_bsd [] []
oscrypto._openssl.util [] []
oscrypto._win._secur32_ctypes [] []
inspect [] []
oscrypto._win._cng [] []
threading [] []
oscrypto._openssl._libcrypto [] []
oscrypto._win._cng_ctypes [] []
oscrypto._tls [] []
oscrypto._win._crypt32_cffi [] []
oscrypto.util [] []
oscrypto._win._kernel32_cffi [] []
backend [] []
tempfile [] []
oscrypto._win.tls [] []
oscrypto._rand [] []
textwrap [] []
oscrypto._win._crypt32 [] []
shutil [] []
oscrypto._asymmetric [] []
oscrypto._mac._core_foundation_ctypes [] []
os [] []
oscrypto._mac._common_crypto [] []
oscrypto._mac.symmetric [] []
oscrypto._ecdsa [] []
oscrypto._mac.trust_list [] []
oscrypto.symmetric [] []
oscrypto._win.asymmetric [] []
hashlib [] []
ffi [] []
oscrypto._types [] []
re [] []
asn1crypto [] []
oscrypto.keys [] []
oscrypto.kdf [] []
oscrypto._pkcs5 [] []
oscrypto._linux_bsd.trust_list [] []
oscrypto._pkcs1 [] []
socket [] []
oscrypto._win._advapi32 [] []
oscrypto._openssl._libcrypto_cffi [] []
oscrypto._mac._security_cffi [] []
time [] []
oscrypto._mac._common_crypto_ctypes [] []
oscrypto._mac._security [] []
oscrypto._openssl.asymmetric [] []
oscrypto._win._cng_cffi [] []
math [] []
oscrypto.trust_list [] []
oscrypto._int [] []
base64 [] []
oscrypto._asn1 [] []
oscrypto._errors [] []
oscrypto._openssl._libssl [] []
select [] []
oscrypto._mac._common_crypto_cffi [] []
oscrypto._ffi [] []
oscrypto.version [] []
oscrypto._pkcs12 [] []
oscrypto._openssl._libssl_ctypes [] []
oscrypto._openssl._libssl_cffi [] []
oscrypto._openssl [] []
oscrypto._win.symmetric [] []
oscrypto.asymmetric [] []
oscrypto._mac.tls [] []
hmac [] []
cffi [] []
oscrypto._win._crypt32_ctypes [] []
oscrypto._win._secur32 [] []
oscrypto._mac._security_ctypes [] []
struct [] []

Directories in report

Directory