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: cmark_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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 132 15.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 722 84.5%
All colors 854 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
24 585 S_render_node call site: 00585 _scan_dangerous_url
14 612 houdini_escape_href call site: 00612 _scan_dangerous_url
13 660 S_render_node call site: 00660 cmark_strbuf_putc
11 744 S_get_enumlevel call site: 00744 get_link_type
8 674 longest_backtick_sequence call site: 00674 shortest_unused_backtick_sequence
8 692 is_autolink call site: 00692 cmark_node_get_url
6 831 S_render_node call site: 00831 escape_xml_str
5 683 shortest_unused_backtick_sequence call site: 00683 is_autolink
4 570 S_render_node call site: 00570 escape_html
4 787 S_render_node call site: 00787 cmark_node_get_url
3 534 S_render_sourcepos call site: 00534 cmark_strbuf_puts
3 740 cmark_render_latex call site: 00740 S_get_enumlevel

Runtime coverage analysis

Covered functions
231
Functions that are reachable but not covered
12
Reachable functions
209
Percentage of reachable functions covered
94.26%
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
/src/cmark/fuzz/cmark-fuzz.c 1
blocks.c 45
buffer.c 16
references.c 10
utf8.c 10
scanners.c 18
inlines.c 48
cmark_ctype.c 4
chunk.h 7
houdini_html_u.c 5
node.c 27
iterator.c 7
cmark.c 2
html.c 5
houdini_html_e.c 1
houdini_href_e.c 1
commonmark.c 6
render.c 3
latex.c 5
man.c 3
xml.c 5

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/cmark/src/inlines.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/houdini_html_u.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/houdini_html_e.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/fuzz/cmark-fuzz.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/utf8.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/latex.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/chunk.h ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/cmark.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/buffer.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/node.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/man.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/houdini_href_e.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/render.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/html.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/cmark_ctype.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/commonmark.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/xml.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/iterator.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/blocks.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/references.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/scanners.c ['cmark_fuzzer'] ['cmark_fuzzer']

Directories in report

Directory
/src/cmark/fuzz/
/src/cmark/src/