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

Fuzzer details

Fuzzer: fuzz_lexer

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 18 9.94%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 163 90.0%
All colors 181 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
7 10 mako.lexer.Lexer.decode_raw_stream call site: 00010 text.startswith
3 33 mako.lexer.Lexer.parse_until_text call site: 00033 match.group
2 116 mako.lexer.Lexer.append_node call site: 00116 .isinstance
2 133 mako.lexer.Lexer.match_comment call site: 00133 mako.lexer.Lexer.append_node
1 5 mako.parsetree.TemplateNode.__init__ call site: 00005 .hasattr
1 76 mako._ast_util.NodeVisitor.generic_visit call site: 00076 m.group
1 121 mako.lexer.Lexer.append_node call site: 00121 escapes.strip
1 173 mako.lexer.Lexer.match_python_block call site: 00173 match.group

Runtime coverage analysis

Covered functions
140
Functions that are reachable but not covered
37
Reachable functions
75
Percentage of reachable functions covered
50.67%
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_lexer 4
mako.lexer 40
mako.parsetree 13
mako.ast 12
mako.pyparser 2
mako._ast_util 7
mako.pygen 11

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
[] []
pygments [] []
mako.cmd [] []
mako.testing [] []
mako.cache [] []
argparse [] []
mako.ext.babelplugin [] []
mako.exceptions [] []
mako.testing.assertions [] []
mako.template [] []
mako.ext.extract [] []
mako.util [] []
mako.ext.pygmentplugin [] []
babel [] []
dataclasses [] []
mako.testing.config [] []
mako.testing.exclusions [] []
mako.ext.linguaplugin [] []
unittest [] []
mako.ast ['fuzz_lexer'] []
mako.pygen ['fuzz_lexer'] []
mako.testing.fixtures [] []
os [] []
timeit [] []
tempfile [] []
importlib_metadata [] []
operator [] []
json [] []
ast [] []
mako.compat [] []
[] []
beaker [] []
mako.codegen [] []
io [] []
types [] []
contextlib [] []
inspect [] []
mako.testing._config [] []
urllib [] []
sys [] []
mako.parsetree ['fuzz_lexer'] []
pytest [] []
mako.filters [] []
functools [] []
atheris [] []
lingua [] []
posixpath [] []
mako.pyparser ['fuzz_lexer'] []
weakref [] []
threading [] []
configparser [] []
html [] []
...fuzz_lexer ['fuzz_lexer'] []
shutil [] []
mako.ext.beaker_cache [] []
mako.lexer ['fuzz_lexer'] []
mako.runtime [] []
mako.ext [] []
codecs [] []
mako._ast_util ['fuzz_lexer'] []
mako.lookup [] []
pathlib [] []
re [] []
collections [] []
mako [] []
mako.ext.autohandler [] []
mako.ext.preprocessors [] []
mako.testing.helpers [] []
mako.ext.turbogears [] []
builtins [] []
importlib [] []
time [] []

Directories in report

Directory