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

Fuzzer details

Fuzzer: fuzz_wheel

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+ 5 100.%
All colors 5 100

Runtime coverage analysis

Covered functions
8
Functions that are reachable but not covered
5
Reachable functions
5
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_wheel 4

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
wheel.cli.convert.convert wheel.cli.convert 3 ['N/A', 'N/A', 'N/A'] 6 0 3 3 4 147 1 474 468
wheel.bdist_wheel.bdist_wheel.get_tag wheel.bdist_wheel 1 ['N/A'] 5 0 0 9 7 123 0 423 396
wheel.vendored.packaging.markers.Marker.evaluate wheel.vendored.packaging.markers 2 ['N/A', 'N/A'] 7 0 2 2 4 44 0 144 108
wheel.wheelfile.WheelFile.write_files wheel.wheelfile 2 ['N/A', 'N/A'] 3 0 6 3 4 37 0 117 77
wheel.cli.tags.tags wheel.cli.tags 6 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 3 0 5 12 8 40 1 132 60
wheel.vendored.packaging.specifiers.Specifier._compare_equal wheel.vendored.packaging.specifiers 3 ['N/A', 'N/A', 'N/A'] 4 0 0 2 4 36 1 120 52
wheel.bdist_wheel.bdist_wheel.run wheel.bdist_wheel 1 ['N/A'] 7 0 14 7 6 144 0 463 48

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

Functions statically reachable by fuzzers
48.0%
123 / 258
Cyclomatic complexity statically reachable by fuzzers
52.0%
474 / 908

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
[] []
wheel._setuptools_logging [] []
sysconfig [] []
re [] []
stat [] []
wheel.wheelfile [] []
wheel.vendored.packaging._elffile [] []
shutil [] []
sys [] []
distutils [] []
base64 [] []
ast [] []
argparse [] []
platform [] []
ctypes [] []
os [] []
wheel [] []
glob [] []
wheel.vendored [] []
logging [] []
pathlib [] []
warnings [] []
wheel.vendored.packaging.requirements [] []
wheel.vendored.packaging.tags [] []
email [] []
wheel.vendored.packaging.utils [] []
wheel.vendored.packaging._manylinux [] []
textwrap [] []
wheel.vendored.packaging._musllinux [] []
io [] []
setuptools [] []
...fuzz_wheel ['fuzz_wheel'] []
wheel.vendored.packaging._parser [] []
collections [] []
wheel.vendored.packaging._structures [] []
wheel.cli [] []
subprocess [] []
_manylinux [] []
struct [] []
atheris [] []
[] []
wheel.vendored.packaging._tokenizer [] []
wheel.cli.unpack [] []
wheel.cli.convert [] []
csv [] []
wheel.vendored.packaging.specifiers [] []
tempfile [] []
itertools [] []
typing [] []
wheel.metadata [] []
zipfile [] []
hashlib [] []
wheel.__main__ [] []
wheel.vendored.packaging.markers [] []
wheel.bdist_wheel [] []
wheel.cli.pack [] []
wheel.cli.tags [] []
time [] []
wheel.util [] []
wheel.macosx_libfile [] []
wheel.vendored.packaging [] []
wheel.vendored.packaging.version [] []

Directories in report

Directory