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

Fuzzer details

Fuzzer: fuzz_serialization_roundtrip

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
224
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_serialization_roundtrip 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
joblib.parallel.Parallel.__call__ joblib.parallel 2 ['N/A', 'N/A'] 6 0 6 7 6 122 0 402 402
joblib.memory.MemorizedFunc._cached_call joblib.memory 4 ['N/A', 'N/A', 'N/A', 'N/A'] 5 0 6 5 5 99 4 328 271
joblib._memmapping_reducer.ArrayMemmapForwardReducer.__call__ joblib._memmapping_reducer 2 ['N/A', 'N/A'] 5 0 11 7 6 78 0 253 187
joblib.externals.loky.process_executor._ExecutorManagerThread.run joblib.externals.loky.process_executor 1 ['N/A'] 4 0 5 4 5 67 0 212 176
joblib.externals.cloudpickle.cloudpickle.Pickler.reducer_override joblib.externals.cloudpickle.cloudpickle 2 ['N/A', 'N/A'] 6 0 1 2 4 54 0 181 148
joblib.externals.loky.backend.popen_loky_posix.Popen._launch joblib.externals.loky.backend.popen_loky_posix 2 ['N/A', 'N/A'] 5 0 11 4 5 56 2 180 144
joblib.externals.loky.process_executor.ProcessPoolExecutor.__init__ joblib.externals.loky.process_executor 9 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 5 0 6 5 5 51 0 168 123
joblib.numpy_pickle.NumpyArrayWrapper.read joblib.numpy_pickle 2 ['N/A', 'N/A'] 5 0 1 2 4 43 0 137 89
joblib.externals.loky.process_executor._process_worker joblib.externals.loky.process_executor 8 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 3 0 22 11 7 31 0 100 58
joblib.externals.loky.backend.spawn.prepare joblib.externals.loky.backend.spawn 2 ['N/A', 'N/A'] 2 0 7 14 9 18 2 65 53

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

Functions statically reachable by fuzzers
31.0%
209 / 672
Cyclomatic complexity statically reachable by fuzzers
33.0%
765 / 2287

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
[] []
joblib._multiprocessing_helpers [] []
joblib.externals.loky.process_executor [] []
socket [] []
contextlib [] []
joblib.testing [] []
dis [] []
joblib.externals.loky.backend.fork_exec [] []
joblib.externals.loky [] []
resource [] []
multiprocessing [] []
tempfile [] []
joblib.externals.loky.initializers [] []
joblib.externals.cloudpickle.cloudpickle [] []
joblib [] []
joblib.externals.loky.backend.popen_loky_win32 [] []
_multiprocessing [] []
...fuzz_serialization_roundtrip ['fuzz_serialization_roundtrip'] []
joblib.externals.loky.backend.queues [] []
joblib.backports [] []
viztracer [] []
distributed [] []
collections [] []
dummy_threading [] []
signal [] []
io [] []
subprocess [] []
[] []
functools [] []
joblib.externals [] []
runpy [] []
warnings [] []
joblib.externals.loky.backend [] []
joblib.externals.cloudpickle [] []
joblib.externals.loky.backend.reduction [] []
asyncio [] []
joblib.compressor [] []
datetime [] []
sys [] []
itertools [] []
lzma [] []
os [] []
joblib.logger [] []
importlib [] []
json [] []
types [] []
threading [] []
ast [] []
joblib.externals.loky.backend._posix_reduction [] []
msvcrt [] []
typing [] []
numpy [] []
joblib.numpy_pickle [] []
lz4 [] []
pydoc [] []
_winapi [] []
hashlib [] []
dask [] []
joblib.pool [] []
joblib.executor [] []
joblib.externals.loky.backend.process [] []
math [] []
zlib [] []
weakref [] []
joblib.parallel [] []
shutil [] []
joblib.hashing [] []
urllib [] []
operator [] []
atheris [] []
joblib.externals.cloudpickle.cloudpickle_fast [] []
joblib.externals.loky.reusable_executor [] []
textwrap [] []
tokenize [] []
joblib.externals.loky.backend.resource_tracker [] []
joblib.externals.loky.backend.popen_loky_posix [] []
joblib.externals.loky.backend.utils [] []
joblib._parallel_backends [] []
joblib.memory [] []
platform [] []
traceback [] []
joblib.disk [] []
joblib.externals.loky.cloudpickle_wrapper [] []
psutil [] []
inspect [] []
atexit [] []
joblib.externals.loky.backend.context [] []
abc [] []
joblib.numpy_pickle_utils [] []
joblib.externals.loky.backend._win_reduction [] []
joblib._utils [] []
joblib.externals.loky.backend.spawn [] []
queue [] []
joblib._dask [] []
bz2 [] []
joblib._store_backends [] []
joblib.func_inspect [] []
uuid [] []
pprint [] []
gc [] []
argparse [] []
logging [] []
joblib._memmapping_reducer [] []
copyreg [] []
re [] []
joblib._cloudpickle_wrapper [] []
joblib.numpy_pickle_compat [] []
time [] []
joblib.externals.loky.backend.synchronize [] []
pickle [] []
concurrent [] []
joblib.externals.loky._base [] []

Directories in report

Directory