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

Fuzzer details

Fuzzer: fuzz_frame

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 2 40.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 3 60.0%
All colors 5 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
2 2 ...fuzz_frame.TestOneInput call site: 00002 fdp.ConsumeBool

Runtime coverage analysis

Covered functions
93
Functions that are reachable but not covered
4
Reachable functions
4
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_frame 3

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
zmq.eventloop.zmqstream.ZMQStream.flush zmq.eventloop.zmqstream 3 ['N/A', 'N/A', 'N/A'] 7 0 8 9 7 75 0 256 256
zmq.backend.cffi.socket.Socket.send zmq.backend.cffi.socket 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 2 7 6 47 0 157 145
zmq.ssh.tunnel.open_tunnel zmq.ssh.tunnel 6 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 3 0 1 2 4 38 1 125 122
zmq.backend.cython._zmq.Socket.send zmq.backend.cython._zmq 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 6 0 3 6 5 39 0 132 86
zmq.auth.thread.AuthenticationThread._run zmq.auth.thread 1 ['N/A'] 7 0 4 3 4 61 1 211 71
zmq._future._AsyncSocket._add_recv_event zmq._future 4 ['N/A', 'N/A', 'N/A', 'N/A'] 6 0 7 5 5 24 2 82 57
zmq.green.core._Socket.send zmq.green.core 6 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 5 5 5 18 0 62 53
zmq.ssh.forward.Handler.handle zmq.ssh.forward 1 ['N/A'] 1 0 8 5 5 13 0 44 38

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

Functions statically reachable by fuzzers
16.0%
75 / 481
Cyclomatic complexity statically reachable by fuzzers
19.0%
309 / 1669

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
[] []
zmq.eventloop._deprecated [] []
copy [] []
zmq.green.core [] []
zmq.backend.cffi [] []
pyczmq [] []
zmq.sugar [] []
zmq.log.__main__ [] []
zmq.sugar.poll [] []
sys [] []
zmq.backend [] []
zmq.backend.cython [] []
zmq.eventloop.zmqstream [] []
zmq.ssh.forward [] []
pickle [] []
cython [] []
random [] []
zmq.green.poll [] []
zmq.green.device [] []
zmq.utils.garbage [] []
threading [] []
paramiko [] []
zmq.eventloop.future [] []
zmq.backend.cffi.error [] []
time [] []
minitornado [] []
zmq.ssh [] []
atheris [] []
zmq.utils.monitor [] []
ctypes [] []
socket [] []
zmq.devices.basedevice [] []
warnings [] []
itertools [] []
gevent [] []
zmq.eventloop.ioloop [] []
zmq.backend.select [] []
zmq.sugar.context [] []
zmq.log.handlers [] []
logging [] []
importlib [] []
zmq.utils.interop [] []
zmq.utils.jsonapi [] []
zmq.backend.cffi.context [] []
datetime [] []
zmq.sugar.attrsettr [] []
argparse [] []
zmq.backend.cffi.socket [] []
os [] []
zmq.utils [] []
zmq.backend.cffi.utils [] []
zmq.asyncio [] []
socketserver [] []
collections [] []
zmq.backend.cffi._poll [] []
zmq.green.eventloop.zmqstream [] []
zmq.backend.cython._zmq [] []
zmq.devices [] []
platform [] []
zmq.devices.proxydevice [] []
queue [] []
asyncio [] []
zmq.auth.base [] []
zmq.constants [] []
zmq.sugar.version [] []
cffi [] []
zmq.devices.monitoredqueuedevice [] []
zmq.utils.strtypes [] []
tornado [] []
zmq.green [] []
...fuzz_frame ['fuzz_frame'] []
zmq.log [] []
colorama [] []
zmq._future [] []
functools [] []
zmq.utils.z85 [] []
glob [] []
zmq.auth.ioloop [] []
zmq.auth [] []
zmq.sugar.frame [] []
re [] []
zmq.green.eventloop [] []
zmq.devices.monitoredqueue [] []
select [] []
zmq.error [] []
atexit [] []
struct [] []
zmq.auth.thread [] []
json [] []
zmq.auth.asyncio [] []
pathlib [] []
_cffi [] []
getpass [] []
zmq.sugar.stopwatch [] []
zmq._typing [] []
zmq.decorators [] []
zmq.green.eventloop.ioloop [] []
typing [] []
[] []
zmq.sugar.tracker [] []
signal [] []
zmq [] []
zmq.devices.proxysteerabledevice [] []
zmq.backend.cffi.message [] []
zmq.eventloop [] []
weakref [] []
zmq.ssh.tunnel [] []
zmq.backend.cffi.devices [] []
zmq.sugar.socket [] []
pexpect [] []
zmq.auth.certs [] []
multiprocessing [] []
zmq.utils.win32 [] []

Directories in report

Directory