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_gitdb

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 168 83.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 34 16.8%
All colors 202 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
48 66 gitdb.db.mem.MemoryDB.stream_copy call site: 00066 gitdb.fun.write_object
16 116 gitdb.util._retry call site: 00116 gitdb.db.base.FileDBBase.db_path
15 7 ...fuzz_gitdb.fuzz_decompression_map_reader call site: 00007 gitdb.stream.DecompressMemMapReader.read
15 173 ...fuzz_gitdb.fuzz_pack_file call site: 00173 gitdb.pack.PackFile.stream_iter
14 134 ...fuzz_gitdb.fuzz_loose_obj_db call site: 00134 gitdb.db.loose.LooseObjectDB._map_loose_object
12 189 gitdb.pack.pack_object_at call site: 00189 gitdb.fun.stream_copy
11 31 ...fuzz_gitdb.fuzz_loose_obj_db call site: 00031 gitdb.db.loose.LooseObjectDB.sha_iter
7 149 gitdb.util._RandomAccessBytesIO.__init__ call site: 00149 gitdb.util.file_contents_ro_filepath
6 44 gitdb.db.mem.MemoryDB.__init__ call site: 00044 gitdb.db.mem.MemoryDB.stream_copy
6 53 gitdb.db.loose.LooseObjectDB.readable_db_object_path call site: 00053 gitdb.utils.encoding.force_text
5 166 gitdb.stream.DecompressMemMapReader._parse_header_info call site: 00166 gitdb.base.OStream.__init__
4 160 ...fuzz_gitdb.fuzz_loose_obj_db call site: 00160 gitdb.db.loose.LooseObjectDB._map_loose_object

Runtime coverage analysis

Covered functions
8
Functions that are reachable but not covered
111
Reachable functions
114
Percentage of reachable functions covered
2.63%
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_gitdb 25
gitdb.stream 22
gitdb.db.loose 41
gitdb.db.mem 10
gitdb.db.base 2
gitdb.utils.encoding 2
gitdb.base 2
gitdb.fun 16
gitdb.pack 12
gitdb.util 14

Analyses and suggestions