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: fuzz_tqdm

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 233 87.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 32 12.0%
All colors 265 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
132 19 ...fuzz_tqdm.TestOneInput call site: 00019 tqdm.std.tqdm.set_postfix
41 194 tqdm.contrib.discord.DiscordIO.write call site: 00194 tqdm.contrib.slack.tqdm_slack.display
24 239 tqdm.contrib.slack.SlackIO.write call site: 00239 tqdm.std.tqdm.refresh
19 163 tqdm.contrib.utils_worker.MonoWorker.submit call site: 00163 tqdm.std.tqdm.external_write_mode
10 183 tqdm.contrib.utils_worker.MonoWorker.submit call site: 00183 tqdm.contrib.discord.tqdm_discord.display
4 13 ...fuzz_tqdm.gen_random_list call site: 00013 fdp.ConsumeUnicode
1 152 tqdm.contrib.telegram.TelegramIO.write call site: 00152 tqdm.contrib.utils_worker.MonoWorker.submit
1 157 tqdm.contrib.utils_worker.MonoWorker.submit call site: 00157 collections.deque.pop
1 159 tqdm.contrib.utils_worker.MonoWorker.submit call site: 00159 collections.deque.appendleft

Runtime coverage analysis

Covered functions
4
Functions that are reachable but not covered
143
Reachable functions
145
Percentage of reachable functions covered
1.38%
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
/ 1
...fuzz_tqdm 12
tqdm.std 71
tqdm.utils 30
tqdm.contrib.telegram 7
tqdm.contrib.utils_worker 10
tqdm.rich 2
tqdm.contrib.discord 7
tqdm.gui 16
tqdm.tk 2
tqdm.notebook 18
tqdm.contrib.slack 7

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
tqdm.cli.main tqdm.cli 2 ['N/A', 'N/A'] 7 0 28 17 10 195 1 647 206
tqdm.gui.tqdm_gui.__init__ tqdm.gui 3 ['N/A', 'N/A', 'N/A'] 2 0 15 4 5 24 1 77 56
tqdm.tk.tqdm_tk.__init__ tqdm.tk 3 ['N/A', 'N/A', 'N/A'] 2 0 14 6 5 19 1 62 47
tqdm.std.tqdm.display tqdm.std 3 ['N/A', 'N/A', 'N/A'] 5 0 4 7 6 47 0 156 36
tqdm.keras.TqdmCallback.on_epoch_begin tqdm.keras 4 ['N/A', 'N/A', 'N/A', 'N/A'] 7 0 2 5 5 115 0 381 35

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

Functions statically reachable by fuzzers
35.0%
77 / 217
Cyclomatic complexity statically reachable by fuzzers
40.0%
302 / 759

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
[] []
functools [] []
concurrent [] []
tqdm.version [] []
multiprocessing [] []
time [] []
importlib [] []
tqdm.contrib.itertools [] []
ctypes [] []
ast [] []
tqdm._tqdm [] []
datetime [] []
tqdm.contrib.logging [] []
tqdm.contrib.telegram ['fuzz_tqdm'] []
keras [] []
tqdm [] []
setuptools_scm [] []
logging [] []
tqdm._tqdm_pandas [] []
tqdm.contrib.discord ['fuzz_tqdm'] []
tqdm.__main__ [] []
tqdm.contrib.slack ['fuzz_tqdm'] []
asyncio [] []
tqdm.cli [] []
pathlib [] []
tqdm._monitor [] []
tqdm.keras [] []
matplotlib [] []
unicodedata [] []
tqdm.autonotebook [] []
atexit [] []
atheris [] []
importlib_resources [] []
numpy [] []
inspect [] []
pandas [] []
itertools [] []
array [] []
tqdm.dask [] []
tqdm.utils ['fuzz_tqdm'] []
IPython [] []
tqdm.std ['fuzz_tqdm'] []
os [] []
tqdm._tqdm_gui [] []
copy [] []
fcntl [] []
tqdm.contrib.utils_worker ['fuzz_tqdm'] []
...fuzz_tqdm ['fuzz_tqdm'] []
sys [] []
slack_sdk [] []
tqdm.auto [] []
tqdm.asyncio [] []
tqdm.contrib.bells [] []
tqdm.gui ['fuzz_tqdm'] []
subprocess [] []
tqdm._dist_ver [] []
tqdm.contrib [] []
tqdm.rich ['fuzz_tqdm'] []
operator [] []
threading [] []
re [] []
collections [] []
tqdm.tk ['fuzz_tqdm'] []
rich [] []
warnings [] []
struct [] []
shlex [] []
colorama [] []
[] []
ipywidgets [] []
tkinter [] []
tqdm.contrib.concurrent [] []
weakref [] []
requests [] []
html [] []
textwrap [] []
tqdm._main [] []
tqdm._tqdm_notebook [] []
tqdm._utils [] []
tqdm.notebook ['fuzz_tqdm'] []

Directories in report

Directory