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

Fuzzer details

Fuzzer: cgif_fuzzer

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 4 5.26%
gold [1:9] 0 0.0%
yellow [10:29] 1 1.31%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 71 93.4%
All colors 76 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
2 2 1 :

['fopen64']

6 31 cgif_newgif call site: 00009 /src/cgif/build/../src/cgif.c:83
2 2 1 :

['fclose']

2 9 cgif_close call site: 00072 /src/cgif/build/../src/cgif.c:606
2 2 1 :

['fclose']

2 5 cgif_newgif call site: 00012 /src/cgif/build/../src/cgif.c:122
2 2 1 :

['fwrite']

2 2 writecb call site: 00000 /src/cgif/build/../src/cgif.c:53
0 0 None 2 2 cgif_newgif call site: 00010 /src/cgif/build/../src/cgif.c:91
0 0 None 0 15 cgif_raw_newgif call site: 00012 /src/cgif/build/../src/cgif_raw.c:432
0 0 1 :

['free']

0 0 cgif_raw_newgif call site: 00019 /src/cgif/build/../src/cgif_raw.c:458
0 0 None 0 0 cgif_raw_addframe call site: 00054 /src/cgif/build/../src/cgif_raw.c:531
0 0 None 0 0 cgif_raw_addframe call site: 00066 /src/cgif/build/../src/cgif_raw.c:602
0 0 None 0 0 hU16toLE call site: 00014 /src/cgif/build/../src/cgif_raw.c:63

Runtime coverage analysis

Covered functions
34
Functions that are reachable but not covered
3
Reachable functions
39
Percentage of reachable functions covered
92.31%
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
fuzz/cgif_fuzzer.c 5
build/../src/cgif.c 12
build/../src/cgif_raw.c 16