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: 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 765 38.4%
gold [1:9] 20 1.00%
yellow [10:29] 4 0.20%
greenyellow [30:49] 3 0.15%
lawngreen 50+ 1200 60.2%
All colors 1992 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
57 1090 delim_run_can_close call site: 01090 scan_entity
48 281 Options::has_gfm_footnotes call site: 00281 InlineStack::push
37 416 scan_atx_heading call site: 00416 FootnoteDefs::contains
37 1288 extract_attribute_block_content_from_header_text call site: 01288 FootnoteDefs::contains
26 903 Allocations::allocate_alignment call site: 00903 delim_run_can_open
25 859 FirstPass::run call site: 00859 Tree::append_text
24 830 TreeIndex::add call site: 00830 FirstPass::run
23 153 CodeDelims::insert call site: 00153 FootnoteDefs::contains
23 950 Tree::spine_len call site: 00950 CodeDelims::find
23 1037 puncttable::is_punctuation call site: 01037 is_punctuation
23 1204 Tree::with_capacity call site: 01204 delim_run_can_open
23 1527 FirstPass::parse_block call site: 01527 scan_entity

Runtime coverage analysis

Covered functions
520
Functions that are reachable but not covered
1
Reachable functions
2
Percentage of reachable functions covered
50.0%
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
fuzz/fuzz_targets/parse.rs 2
pulldown-cmark/src/parse.rs 53
pulldown-cmark/src/firstpass.rs 232
pulldown-cmark/src/scanners.rs 99
dos-fuzzer/src/literals.rs 32
pulldown-cmark/src/tree.rs 18
dos-fuzzer/src/main.rs 1
pulldown-cmark/src/strings.rs 21
pulldown-cmark/src/lib.rs 1
pulldown-cmark/src/linklabel.rs 13
pulldown-cmark/tests/html.rs 5
pulldown-cmark/src/html.rs 5
pulldown-cmark/build.rs 18
pulldown-cmark/src/puncttable.rs 2
pulldown-cmark/src/cjk.rs 6
pulldown-cmark/src/entities.rs 3

Fuzzer: commonmark_js

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 1305 56.5%
gold [1:9] 7 0.30%
yellow [10:29] 10 0.43%
greenyellow [30:49] 1 0.04%
lawngreen 50+ 984 42.6%
All colors 2307 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
58 376 FirstPass::parse_block call site: 00376 FirstPass::parse_footnote
57 1173 delim_run_can_close call site: 01173 scan_entity
49 1598 FirstPass::parse_block call site: 01598 unescape
40 979 Tree::append call site: 00979 delim_run_can_open
38 1313 FirstPass::parse_line call site: 01313 FirstPass::parse_table
36 1388 HeadingIndex::get call site: 01388 parse_inside_attribute_block
35 691 FirstPass::scan_paragraph_interrupt call site: 00691 scan_containers
33 2078 pulldown_cmark_fuzz::commonmark_js call site: 02078 get
25 727 InlineStack::push call site: 00727 TableDelimiterCellState::feed_byte
25 949 FirstPass::run call site: 00949 Tree::append_text
24 2 special_bytes call site: 00002 FootnoteDefs::contains
23 1120 puncttable::is_punctuation call site: 01120 is_punctuation

Runtime coverage analysis

Covered functions
669
Functions that are reachable but not covered
12
Reachable functions
17
Percentage of reachable functions covered
29.41%
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
fuzz/fuzz_targets/commonmark_js.rs 14
pulldown-cmark/src/firstpass.rs 232
pulldown-cmark/src/parse.rs 53
dos-fuzzer/src/main.rs 1
dos-fuzzer/src/literals.rs 33
pulldown-cmark/src/strings.rs 21
fuzz/src/lib.rs 71
pulldown-cmark/src/tree.rs 18
pulldown-cmark/src/main.rs 2
pulldown-cmark/src/scanners.rs 99
pulldown-cmark/src/lib.rs 7
pulldown-cmark/src/linklabel.rs 13
pulldown-cmark/tests/html.rs 5
pulldown-cmark/src/html.rs 5
pulldown-cmark/build.rs 18
pulldown-cmark/src/puncttable.rs 2
pulldown-cmark/src/cjk.rs 6
pulldown-cmark/src/entities.rs 3
pulldown-cmark/tests/errors.rs 1

Fuzzer: html

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 753 37.7%
gold [1:9] 20 1.00%
yellow [10:29] 4 0.20%
greenyellow [30:49] 3 0.15%
lawngreen 50+ 1216 60.9%
All colors 1996 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
57 1090 delim_run_can_close call site: 01090 scan_entity
48 281 Options::has_gfm_footnotes call site: 00281 InlineStack::push
29 950 Tree::spine_len call site: 00950 CodeDelims::find
26 903 Allocations::allocate_alignment call site: 00903 delim_run_can_open
25 859 FirstPass::run call site: 00859 Tree::append_text
23 1037 puncttable::is_punctuation call site: 01037 is_punctuation
23 1204 Tree::with_capacity call site: 01204 delim_run_can_open
23 1527 FirstPass::parse_block call site: 01527 scan_entity
21 153 CodeDelims::insert call site: 00153 FootnoteDefs::contains
21 989 delim_run_can_open call site: 00989 CodeDelims::find
20 433 &[u8]::get call site: 00433 FootnoteDefs::contains
20 1305 HeadingIndex::get call site: 01305 FootnoteDefs::contains

Runtime coverage analysis

Covered functions
792
Functions that are reachable but not covered
2
Reachable functions
4
Percentage of reachable functions covered
50.0%
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
fuzz/fuzz_targets/html.rs 4
pulldown-cmark/src/parse.rs 53
pulldown-cmark/src/firstpass.rs 232
pulldown-cmark/src/scanners.rs 99
dos-fuzzer/src/literals.rs 32
pulldown-cmark/src/tree.rs 18
dos-fuzzer/src/main.rs 1
pulldown-cmark/src/strings.rs 21
pulldown-cmark/src/lib.rs 1
pulldown-cmark/src/linklabel.rs 13
pulldown-cmark/tests/html.rs 5
pulldown-cmark/src/html.rs 5
pulldown-cmark/build.rs 18
pulldown-cmark/src/puncttable.rs 2
pulldown-cmark/src/cjk.rs 6
pulldown-cmark/src/entities.rs 3

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/pulldown-cmark/guide/prepare-specs.rs [] []
/src/pulldown-cmark/bench/benches/markdown-it.rs [] []
/src/pulldown-cmark/pulldown-cmark/src/html.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/tests/suite/footnotes.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/definition_lists.rs [] []
/src/pulldown-cmark/pulldown-cmark/examples/normalize-wikilink.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/cjk_friendly_emphasis.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/heading_attrs.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/metadata_blocks.rs [] []
/src/pulldown-cmark/pulldown-cmark/src/entities.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/src/puncttable.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/src/parse.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/tests/suite/wikilinks.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/case_sensitive_refdef.rs [] []
/src/pulldown-cmark/pulldown-cmark/src/main.rs ['commonmark_js'] []
/src/pulldown-cmark/dos-fuzzer/src/clock.rs [] []
/src/pulldown-cmark/guide/demo/src/lib.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/spec.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/html.rs ['parse', 'commonmark_js', 'html'] []
/src/pulldown-cmark/pulldown-cmark/tests/serde.rs [] []
/src/pulldown-cmark/pulldown-cmark/build.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/fuzz/fuzz_targets/parse.rs ['parse'] []
/src/pulldown-cmark/pulldown-cmark/src/utils.rs [] []
/src/pulldown-cmark/fuzz/fuzz_targets/commonmark_js.rs ['commonmark_js'] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/regression.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/gfm_table.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/container_extensions.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/smart_punct.rs [] []
/src/pulldown-cmark/dos-fuzzer/src/black_box.rs [] []
/src/pulldown-cmark/dos-fuzzer/src/literals.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/bench/benches/lib.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/lib.rs [] []
/src/pulldown-cmark/pulldown-cmark-escape/src/lib.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/highlight.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/table.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/old_footnotes.rs [] []
/src/pulldown-cmark/fuzz/src/lib.rs ['commonmark_js'] ['commonmark_js']
/src/pulldown-cmark/pulldown-cmark/src/strings.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/src/tree.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/tests/suite/strikethrough.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/errors.rs ['commonmark_js'] ['commonmark_js']
/src/pulldown-cmark/dos-fuzzer/src/main.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/tests/suite/blockquotes_tags.rs [] []
/src/pulldown-cmark/pulldown-cmark/src/cjk.rs ['parse', 'commonmark_js', 'html'] ['parse', 'html']
/src/pulldown-cmark/pulldown-cmark/src/lib.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/src/scanners.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/bench/benches/html_rendering.rs [] []
/src/pulldown-cmark/pulldown-cmark/src/firstpass.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/tests/suite/gfm_tasklist.rs [] []
/src/pulldown-cmark/fuzz/fuzz_targets/html.rs ['html'] []
/src/pulldown-cmark/pulldown-cmark/src/linklabel.rs ['parse', 'commonmark_js', 'html'] ['parse', 'commonmark_js', 'html']
/src/pulldown-cmark/pulldown-cmark/tests/suite/math.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/super_sub.rs [] []
/src/pulldown-cmark/dos-fuzzer/src/scoring.rs [] []
/src/pulldown-cmark/pulldown-cmark/tests/suite/gfm_strikethrough.rs [] []

Directories in report

Directory
/src/pulldown-cmark/pulldown-cmark/
/src/pulldown-cmark/dos-fuzzer/src/
/src/pulldown-cmark/guide/
/src/pulldown-cmark/pulldown-cmark/examples/
/src/pulldown-cmark/pulldown-cmark/src/
/src/pulldown-cmark/pulldown-cmark-escape/src/
/src/pulldown-cmark/fuzz/src/
/src/pulldown-cmark/bench/benches/
/src/pulldown-cmark/pulldown-cmark/tests/suite/
/src/pulldown-cmark/fuzz/fuzz_targets/
/src/pulldown-cmark/pulldown-cmark/tests/
/src/pulldown-cmark/guide/demo/src/