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 65 12.0%
gold [1:9] 2 0.37%
yellow [10:29] 0 0.0%
greenyellow [30:49] 4 0.74%
lawngreen 50+ 467 86.8%
All colors 538 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 :

['fwrite', 'abort']

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

['fwrite', 'abort']

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

['abort']

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

['encode_unknown']

0 15 cmark_utf8proc_encode_char call site: 00115 /src/cmark/src/utf8.c:207
0 2 1 :

['cmark_strbuf_clear']

0 2 cmark_strbuf_set call site: 00000 /src/cmark/src/buffer.c:80
0 0 None 0 23 outc call site: 00425 /src/cmark/src/latex.c:22
0 0 None 0 23 S_outc call site: 00479 /src/cmark/src/man.c:24
0 0 None 0 18 finalize call site: 00149 /src/cmark/src/blocks.c:323
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: 00249 /src/cmark/src/iterator.c:63
0 0 None 0 0 cmark_set_cstr call site: 00265 /src/cmark/src/node.c:256

Runtime coverage analysis

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

Directories in report

Directory
/src/cmark/fuzz/
/usr/include/x86_64-linux-gnu/bits/
/src/cmark/src/