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_xpath

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 35 20.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 132 79.0%
All colors 167 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
12 4 ...fuzz_xpath.TestOneInput call site: 00004 cssselect.parser.parse
5 30 cssselect.parser.parse call site: 00030 cssselect.parser.Selector.__init__
4 116 cssselect.parser.parse_simple_selector call site: 00116 .len
3 88 cssselect.parser.parse_attrib call site: 00088 stream.peek
3 141 cssselect.parser.parse_simple_selector_arguments call site: 00141 stream.next
1 38 cssselect.parser.tokenize call site: 00038 match.group
1 40 cssselect.parser.tokenize call site: 00040 match.group
1 43 cssselect.parser.tokenize call site: 00043 match.group
1 45 cssselect.parser.tokenize call site: 00045 match.end
1 63 cssselect.parser.parse_simple_selector call site: 00063 peek.is_delim
1 81 cssselect.parser.parse_attrib call site: 00081 stream.next
1 105 cssselect.parser.FunctionalPseudoElement.__init__ call site: 00105 cssselect.parser.parse_arguments

Runtime coverage analysis

Covered functions
73
Functions that are reachable but not covered
34
Reachable functions
58
Percentage of reachable functions covered
41.38%
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_xpath 4
cssselect.xpath 10
cssselect.parser 47

Fuzzer: fuzz_parse

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 23 14.8%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 132 85.1%
All colors 155 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
5 18 cssselect.parser.parse call site: 00018 cssselect.parser.Selector.__init__
4 104 cssselect.parser.parse_simple_selector call site: 00104 .len
3 76 cssselect.parser.parse_attrib call site: 00076 stream.peek
3 129 cssselect.parser.parse_simple_selector_arguments call site: 00129 stream.next
1 26 cssselect.parser.tokenize call site: 00026 match.group
1 28 cssselect.parser.tokenize call site: 00028 match.group
1 31 cssselect.parser.tokenize call site: 00031 match.group
1 33 cssselect.parser.tokenize call site: 00033 match.end
1 51 cssselect.parser.parse_simple_selector call site: 00051 peek.is_delim
1 69 cssselect.parser.parse_attrib call site: 00069 stream.next
1 93 cssselect.parser.FunctionalPseudoElement.__init__ call site: 00093 cssselect.parser.parse_arguments
1 99 cssselect.parser.parse_simple_selector call site: 00099 .str

Runtime coverage analysis

Covered functions
73
Functions that are reachable but not covered
27
Reachable functions
51
Percentage of reachable functions covered
47.06%
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_parse 4
cssselect.parser 47