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_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 10 30.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 23 69.6%
All colors 33 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 1 ...fuzz_parse.TestOneInput call site: 00001 sqlparse.parse
2 28 sqlparse.engine.statement_splitter.StatementSplitter.process call site: 00028 sqlparse.engine.grouping.group
1 9 sqlparse.lexer.Lexer.get_default_instance call site: 00009 filter_.process
1 25 sqlparse.sql.Token.__init__ call site: 00025 value.split
1 31 sqlparse.engine.filter_stack.FilterStack.run call site: 00031 .tuple

Runtime coverage analysis

Covered functions
69
Functions that are reachable but not covered
18
Reachable functions
27
Percentage of reachable functions covered
33.33%
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 3
sqlparse 4
sqlparse.engine.filter_stack 5
sqlparse.lexer 2
sqlparse.engine.statement_splitter 9
sqlparse.sql 4

Fuzzer: fuzz_format

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 24 27.2%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 64 72.7%
All colors 88 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
2 10 sqlparse.formatter.validate_options call site: 00010 .int
2 33 sqlparse.formatter.build_filter_stack call site: 00033 sqlparse.engine.filter_stack.FilterStack.enable_grouping
2 36 sqlparse.formatter.build_filter_stack call site: 00036 sqlparse.engine.filter_stack.FilterStack.enable_grouping
2 40 sqlparse.formatter.build_filter_stack call site: 00040 sqlparse.engine.filter_stack.FilterStack.enable_grouping
2 43 sqlparse.formatter.build_filter_stack call site: 00043 sqlparse.engine.filter_stack.FilterStack.enable_grouping
2 46 sqlparse.formatter.build_filter_stack call site: 00046 sqlparse.engine.filter_stack.FilterStack.enable_grouping
2 49 sqlparse.formatter.build_filter_stack call site: 00049 sqlparse.engine.filter_stack.FilterStack.enable_grouping
2 79 sqlparse.engine.statement_splitter.StatementSplitter.process call site: 00079 sqlparse.engine.grouping.group
2 82 sqlparse.engine.filter_stack.FilterStack.run call site: 00082 fdp.ConsumeIntInRange
1 24 sqlparse.formatter.validate_options call site: 00024 .int
1 27 sqlparse.formatter.build_filter_stack call site: 00027 stack.preprocess.append
1 29 sqlparse.formatter.build_filter_stack call site: 00029 stack.preprocess.append

Runtime coverage analysis

Covered functions
69
Functions that are reachable but not covered
22
Reachable functions
34
Percentage of reachable functions covered
35.29%
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_format 5
sqlparse 4
sqlparse.formatter 7
sqlparse.engine.filter_stack 5
sqlparse.lexer 2
sqlparse.engine.statement_splitter 9
sqlparse.sql 4

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
sqlparse.keywords [] []
sys [] []
sqlparse.filters.right_margin [] []
sqlparse.engine.grouping [] []
sqlparse.filters.output [] []
sqlparse.__main__ [] []
[] []
collections [] []
sqlparse.lexer ['fuzz_parse', 'fuzz_format'] []
sqlparse.engine [] []
argparse [] []
...fuzz_format ['fuzz_format'] []
sqlparse.cli [] []
sqlparse.filters [] []
sqlparse.filters.reindent [] []
sqlparse.exceptions [] []
sqlparse ['fuzz_parse', 'fuzz_format'] []
atheris [] []
sqlparse.filters.tokens [] []
sqlparse.utils [] []
itertools [] []
threading [] []
sqlparse.sql ['fuzz_parse', 'fuzz_format'] []
sqlparse.formatter ['fuzz_format'] []
sqlparse.engine.statement_splitter ['fuzz_parse', 'fuzz_format'] []
re [] []
sqlparse.tokens [] []
...fuzz_parse ['fuzz_parse'] []
sqlparse.filters.others [] []
sqlparse.filters.aligned_indent [] []
sqlparse.engine.filter_stack ['fuzz_parse', 'fuzz_format'] []
io [] []

Directories in report

Directory