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: tidy_config_fuzzer

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: tidy_parse_file_fuzzer

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: tidy_fuzzer

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: tidy_general_fuzzer

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: tidy_parse_string_fuzzer

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: tidy_xml_fuzzer

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
prvTidyParseInline /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 2882 532 219 191 0 2278 275
prvTidyParseBlock /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 13 0 2373 449 181 199 0 2284 233
CheckSvgAttr /src/tidy-html5/src/attrs.c 3 ['N/A', 'N/A', 'N/A'] 8 0 725 157 60 39 0 365 212
prvTidyParseBody /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 1352 240 97 201 0 2197 137
prvTidyParseRow /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 807 136 52 178 0 2023 61
prvTidyParseHTML /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 923 156 58 168 0 1978 58
prvTidyParseList /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 742 128 51 178 0 2023 57
prvTidyParsePre /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 651 108 41 175 0 2002 52
prvTidyParseRowGroup /src/tidy-html5/src/parser.c 3 ['N/A', 'N/A', 'int'] 12 0 752 133 51 172 0 1988 51
ParseList /src/tidy-html5/src/config.c 2 ['N/A', 'N/A'] 10 0 378 59 22 64 0 406 46

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

Functions statically reachable by fuzzers
65.0%
653 / 999
Cyclomatic complexity statically reachable by fuzzers
83.0%
7033 / 8514

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
[] []
/src/tidy-html5/src/istack.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy_parse_file_fuzzer.c ['tidy_parse_file_fuzzer'] []
/src/tidy-html5/src/parser.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/tmbstr.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/message.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy_general_fuzzer.c ['tidy_general_fuzzer'] []
/src/tidy-html5/src/language_es.h [] []
/src/tidy-html5/src/entities.c ['tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/config.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/streamio.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/language_es_mx.h [] []
/src/tidy_fuzzer.c ['tidy_fuzzer'] []
/src/tidy_config_fuzzer.c ['tidy_config_fuzzer'] []
/src/tidy-html5/src/language_fr.h [] []
/src/tidy-html5/src/fileio.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_general_fuzzer'] []
/src/tidy-html5/src/language_en_gb.h [] []
/src/tidy-html5/src/messageobj.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/buffio.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/language_de.h [] []
/src/tidy-html5/src/attrs.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/mappedio.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_general_fuzzer'] []
/src/tidy-html5/src/utf8.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/access.c ['tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/language_en.h [] []
/src/tidy_parse_string_fuzzer.c ['tidy_parse_string_fuzzer'] []
/src/fuzzer_temp_file.h ['tidy_config_fuzzer'] []
/src/tidy-html5/src/gdoc.c ['tidy_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/tidylib.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/alloc.c [] []
/src/tidy-html5/src/language_pt_br.h [] []
/src/tidy-html5/src/language_zh_cn.h [] []
/src/tidy-html5/src/language.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/clean.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/pprint.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/lexer.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy-html5/src/tags.c ['tidy_config_fuzzer', 'tidy_parse_file_fuzzer', 'tidy_fuzzer', 'tidy_general_fuzzer', 'tidy_parse_string_fuzzer', 'tidy_xml_fuzzer'] []
/src/tidy_xml_fuzzer.c ['tidy_xml_fuzzer'] []

Directories in report

Directory
/src/
/src/tidy-html5/src/