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

Fuzzer details

Fuzzer: usbredirfilterfuzz

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 3 6.66%
gold [1:9] 1 2.22%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 41 91.1%
All colors 45 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
0 0 None 12 22 usbredirfilter_string_to_rules call site: 00008 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:68
0 0 None 10 20 usbredirfilter_string_to_rules call site: 00009 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:73
0 0 None 0 0 usbredirfilter_rules_to_string call site: 00028 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:117
0 0 None 0 0 usbredirfilter_rules_to_string call site: 00029 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:120
0 0 None 0 0 usbredirfilter_rules_to_string call site: 00029 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:126
0 0 None 0 0 usbredirfilter_check call site: 00041 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:195

Runtime coverage analysis

Covered functions
9
Functions that are reachable but not covered
13
Reachable functions
20
Percentage of reachable functions covered
35.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/work/build/../../src/spice-usbredir/fuzzing/usbredirfilterfuzz.cc 1
/work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c 6

Fuzzer: /work/build/meson-private/tmphbjtz5px/testfile.cpp

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+ 1 100.%
All colors 1 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
0 6 1 :

['va_log']

0 6 usbredirparser_caps_get_cap call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:272
0 0 None 12 22 usbredirfilter_string_to_rules call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:68
0 0 None 10 20 usbredirfilter_string_to_rules call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:73
0 0 None 2 107 usbredirparser_unserialize call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1942
0 0 None 2 65 usbredirparser_unserialize call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1991
0 0 None 2 25 usbredirparser_queue call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1228
0 0 None 2 2 usbredirparser_do_write call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1177
0 0 None 0 391 usbredirparser_do_read call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1100
0 0 None 0 136 usbredirparser_init call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:217
0 0 None 0 17 usbredirparser_queue call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1237
0 0 None 0 12 usbredirparser_do_read call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1072
0 0 None 0 12 usbredirparser_unserialize call site: 00000 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1813

Runtime coverage analysis

Covered functions
89
Functions that are reachable but not covered
0
Reachable functions
1
Percentage of reachable functions covered
100.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
/work/build/meson-private/tmphbjtz5px/testfile.cpp 1

Fuzzer: usbredirparserfuzz

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 19 8.92%
gold [1:9] 4 1.87%
yellow [10:29] 10 4.69%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 180 84.5%
All colors 213 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
0 6 1 :

['va_log']

0 6 usbredirparser_caps_get_cap call site: 00007 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:272
0 0 None 12 22 usbredirfilter_string_to_rules call site: 00197 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:68
0 0 None 10 20 usbredirfilter_string_to_rules call site: 00198 /work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c:73
0 0 None 2 107 usbredirparser_unserialize call site: 00128 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1942
0 0 None 2 65 usbredirparser_unserialize call site: 00140 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1991
0 0 None 2 25 usbredirparser_queue call site: 00030 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1228
0 0 None 2 2 usbredirparser_do_write call site: 00211 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1177
0 0 None 0 391 usbredirparser_do_read call site: 00181 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1100
0 0 None 0 136 usbredirparser_init call site: 00004 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:217
0 0 None 0 17 usbredirparser_queue call site: 00067 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1237
0 0 None 0 12 usbredirparser_do_read call site: 00174 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1072
0 0 None 0 12 usbredirparser_unserialize call site: 00094 /work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c:1813

Runtime coverage analysis

Covered functions
84
Functions that are reachable but not covered
14
Reachable functions
49
Percentage of reachable functions covered
71.43%
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
/work/build/../../src/spice-usbredir/fuzzing/usbredirparserfuzz.cc 3
/work/build/../../src/spice-usbredir/usbredirparser/usbredirparser.c 28
/work/build/../../src/spice-usbredir/usbredirparser/usbredirfilter.c 2