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

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 1711 78.8%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 459 21.1%
All colors 2170 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
4 4 2 :

['abort', 'fwrite']

4 4 xcalloc call site: 00000 /src/cmark/src/cmark.c:15
4 4 2 :

['abort', 'fwrite']

4 4 xrealloc call site: 00000 /src/cmark/src/cmark.c:24
2 2 1 :


2 2 cmark_strbuf_grow call site: 00008 /src/cmark/src/buffer.c:43
0 15 1 :


0 15 cmark_utf8proc_encode_char call site: 00093 /src/cmark/src/utf8.c:213
0 2 1 :


0 2 cmark_strbuf_set call site: 00000 /src/cmark/src/buffer.c:82
0 0 None 0 3246 S_parser_feed call site: 00014 /src/cmark/src/blocks.c:589
0 0 None 0 25 outc call site: 01949 /src/cmark/src/latex.c:22
0 0 None 0 25 S_outc call site: 02106 /src/cmark/src/man.c:24
0 0 None 0 18 finalize call site: 01791 /src/cmark/src/blocks.c:321
0 0 None 0 14 handle_newline call site: 00000 /src/cmark/src/inlines.c:1267
0 0 None 0 2 skip_line_end call site: 00071 /src/cmark/src/inlines.c:247
0 0 None 0 0 cmark_iter_next call site: 01891 /src/cmark/src/iterator.c:63

Runtime coverage analysis

Covered functions
Functions that are reachable but not covered
Reachable functions
Percentage of reachable functions covered
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 41
buffer.c 14
references.c 5
utf8.c 7
scanners.c 2
inlines.c 18
cmark_ctype.c 4
chunk.h 6
houdini_html_u.c 5
node.c 13
iterator.c 7
commonmark.c 2
render.c 4
html.c 5
houdini_html_e.c 1
houdini_href_e.c 1
latex.c 2
man.c 2
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/cmark_ctype.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/references.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/houdini_html_u.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/render.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/inlines.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/node.c ['cmark_fuzzer'] ['cmark_fuzzer']
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h [] []
/src/cmark/src/houdini_html_e.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/utf8.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/html.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/fuzz/cmark-fuzz.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/buffer.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/scanners.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/cmark.c [] []
/src/cmark/src/commonmark.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/houdini_href_e.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/blocks.c ['cmark_fuzzer'] ['cmark_fuzzer']
/src/cmark/src/man.c ['cmark_fuzzer'] ['cmark_fuzzer']

Directories in report