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_xslt

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_xml_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_xmlschema

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_sax

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_schematron

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_html_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
lxml.html._diffcommand.main lxml.html._diffcommand 1 ['N/A'] 7 0 5 5 5 102 1 338 329
lxml.html._difflib.HtmlDiff.make_table lxml.html._difflib 7 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 8 0 4 5 5 85 1 289 268
lxml.doctestcompare.LXMLOutputChecker.output_difference lxml.doctestcompare 4 ['N/A', 'N/A', 'N/A', 'N/A'] 4 0 3 3 4 48 0 163 139
lxml.ElementInclude._include lxml.ElementInclude 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 2 0 2 15 9 22 2 82 70
lxml.html.HtmlMixin.rewrite_links lxml.html 4 ['N/A', 'N/A', 'N/A', 'N/A'] 5 0 4 7 6 24 3 90 65
lxml.html.soupparser._parse lxml.html.soupparser 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 0 6 5 23 3 78 63
lxml.html.formfill._fill_form lxml.html.formfill 2 ['N/A', 'N/A'] 3 0 2 7 6 19 2 69 50
lxml.html._MethodFunc.__call__ lxml.html 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 0 5 5 28 0 100 49

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
35.0%
131 / 374
Cyclomatic complexity statically reachable by fuzzers
39.0%
526 / 1358

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

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

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
[] []
functools [] []
lxml.html.builder [] []
lxml.usedoctest [] []
lxml.includes.extlibs [] []
lxml.isoschematron ['fuzz_schematron'] []
etree [] []
lxml.html.usedoctest [] []
...fuzz_xmlschema ['fuzz_xmlschema'] []
lxml.html.defs [] []
lxml.cssselect [] []
lxml.html.clean [] []
BeautifulSoup [] []
lxml.html.ElementSoup [] []
lxml.includes.libxml [] []
lxml.sax ['fuzz_sax'] []
cgi [] []
heapq [] []
...fuzz_xml_parse ['fuzz_xml_parse'] []
lxml.includes.libxslt [] []
lxml.includes.libexslt [] []
lxml.ElementInclude [] []
atheris [] []
lxml.html.diff [] []
difflib [] []
lxml.html.formfill [] []
...fuzz_sax ['fuzz_sax'] []
bs4 [] []
doctest [] []
lxml.doctestcompare [] []
xml [] []
lxml.html._setmixin [] []
operator [] []
cython [] []
lxml.includes [] []
optparse [] []
...fuzz_html_parse ['fuzz_html_parse'] []
re [] []
...fuzz_xslt ['fuzz_xslt'] []
types [] []
lxml.html [] []
urlparse [] []
sys [] []
io [] []
collections [] []
lxml.pyclasslookup [] []
tempfile [] []
inspect [] []
urllib2 [] []
os [] []
lxml.html.soupparser [] []
lxml.html._difflib [] []
lxml._elementpath [] []
lxml [] []
lxml.builder [] []
cssselect [] []
webbrowser [] []
html [] []
...fuzz_schematron ['fuzz_schematron'] []
test_utils [] []
urllib [] []
lxml.html.html5parser [] []
lxml.html._html5builder [] []
html5lib [] []
[] []
lxml.html._diffcommand [] []

Directories in report

Directory