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

Fuzzer details

Fuzzer: fuzz_util

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 7 10.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 60 89.5%
All colors 67 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
4 60 gunicorn.util.import_app call site: 00060 gunicorn.util._called_with_wrong_args
1 21 gunicorn.util.parse_address call site: 00021 re.split
1 23 gunicorn.util.parse_address call site: 00023 .int
1 34 ...fuzz_util.TestInput call site: 00034 time.time

Runtime coverage analysis

Covered functions
17
Functions that are reachable but not covered
35
Reachable functions
42
Percentage of reachable functions covered
16.67%
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_util 11
gunicorn.util 30

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
gunicorn.arbiter.Arbiter.reload gunicorn.arbiter 1 ['N/A'] 6 0 11 4 5 130 1 419 374
gunicorn.workers.sync.SyncWorker.run_for_multiple gunicorn.workers.sync 2 ['N/A', 'N/A'] 8 0 2 4 5 71 1 240 219
gunicorn.http.message.Message.__init__ gunicorn.http.message 4 ['N/A', 'N/A', 'N/A', 'N/A'] 4 0 2 2 4 40 0 140 128
gunicorn.glogging.Logger.setup gunicorn.glogging 2 ['N/A', 'N/A'] 3 0 14 9 7 36 2 120 99
gunicorn.instrument.statsd.Statsd.access gunicorn.instrument.statsd 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 5 2 4 37 0 119 92
gunicorn.workers.base.Worker.init_process gunicorn.workers.base 1 ['N/A'] 3 0 13 3 4 33 0 106 78
gunicorn.arbiter.Arbiter.run gunicorn.arbiter 1 ['N/A'] 5 0 19 4 5 111 1 361 60
gunicorn.http.message.Request.parse gunicorn.http.message 2 ['N/A', 'N/A'] 3 0 6 4 5 40 0 141 50
gunicorn.app.pasterapp.serve gunicorn.app.pasterapp 3 ['N/A', 'N/A', 'N/A'] 5 0 2 2 4 69 0 220 48
gunicorn.http.wsgi.Response.sendfile gunicorn.http.wsgi 2 ['N/A', 'N/A'] 4 0 5 6 5 25 1 86 46

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

Functions statically reachable by fuzzers
34.0%
141 / 414
Cyclomatic complexity statically reachable by fuzzers
37.0%
545 / 1464

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
[] []
html [] []
gunicorn.pidfile [] []
shlex [] []
gunicorn.http [] []
tornado [] []
gunicorn.reloader [] []
sys [] []
gunicorn.http.parser [] []
platform [] []
atheris [] []
gunicorn.workers [] []
gunicorn.http.errors [] []
gunicorn.instrument.statsd [] []
gunicorn.config [] []
gevent [] []
setproctitle [] []
base64 [] []
gunicorn.http.message [] []
gunicorn.__main__ [] []
ast [] []
os [] []
grp [] []
gunicorn.sock [] []
gunicorn.workers.sync [] []
traceback [] []
eventlet [] []
re [] []
socket [] []
linecache [] []
json [] []
gunicorn.debug [] []
gunicorn.arbiter [] []
ssl [] []
importlib [] []
gunicorn [] []
ipaddress [] []
textwrap [] []
gunicorn.workers.geventlet [] []
gunicorn.workers.gtornado [] []
gunicorn.app.base [] []
pwd [] []
argparse [] []
gunicorn.app.pasterapp [] []
gunicorn.glogging [] []
gunicorn.instrument [] []
...fuzz_util ['fuzz_util'] []
warnings [] []
inotify [] []
gunicorn.workers.base_async [] []
paste [] []
io [] []
inspect [] []
select [] []
signal [] []
gunicorn.http.unreader [] []
selectors [] []
gunicorn.app.wsgiapp [] []
configparser [] []
gunicorn.util ['fuzz_util'] []
threading [] []
packaging [] []
gunicorn.errors [] []
gunicorn.http.body [] []
gunicorn.workers.base [] []
datetime [] []
gunicorn.app [] []
importlib_metadata [] []
gunicorn.systemd [] []
[] []
collections [] []
logging [] []
functools [] []
gunicorn.http.wsgi [] []
fcntl [] []
tempfile [] []
time [] []
gunicorn.workers.gthread [] []
stat [] []
random [] []
gunicorn.workers.ggevent [] []
gunicorn.workers.workertmp [] []

Directories in report

Directory