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

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 165 82.5%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 35 17.5%
All colors 200 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
55 66 gitdb.db.mem.MemoryDB.stream_copy call site: 00066 gitdb.fun.write_object
15 7 ...fuzz_gitdb.fuzz_decompression_map_reader call site: 00007 gitdb.stream.DecompressMemMapReader.read
15 171 ...fuzz_gitdb.fuzz_pack_file call site: 00171 gitdb.pack.PackFile.stream_iter
14 132 ...fuzz_gitdb.fuzz_loose_obj_db call site: 00132 gitdb.db.loose.LooseObjectDB._map_loose_object
12 187 gitdb.pack.pack_object_at call site: 00187 gitdb.fun.stream_copy
11 31 ...fuzz_gitdb.fuzz_loose_obj_db call site: 00031 gitdb.db.loose.LooseObjectDB.sha_iter
7 123 gitdb.util._retry call site: 00123 os.remove
7 147 gitdb.util._RandomAccessBytesIO.__init__ call site: 00147 gitdb.util.file_contents_ro_filepath
5 44 gitdb.db.mem.MemoryDB.__init__ call site: 00044 gitdb.db.mem.MemoryDB.stream_copy
5 53 gitdb.db.loose.LooseObjectDB.readable_db_object_path call site: 00053 gitdb.utils.encoding.force_text
5 164 gitdb.stream.DecompressMemMapReader._parse_header_info call site: 00164 gitdb.base.OStream.__init__
4 158 ...fuzz_gitdb.fuzz_loose_obj_db call site: 00158 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