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

Fuzzer details

Fuzzer: libidn_stringprep_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 5 4.09%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 117 95.9%
All colors 122 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
24 24 3 :

['realloc', 'iconv', '__errno_location']

24 28 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:297
8 12 3 :

['iconv', '__errno_location', 'rpl_free']

12 16 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:334
2 2 1 :

['strlen']

2 177 stringprep_utf8_nfkc_normalize call site: 00097 /src/libidn/lib/nfkc.c:1074
2 2 1 :

['__errno_location']

2 2 str_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:399
0 0 None 12 16 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:295
0 0 None 6 310 stringprep call site: 00018 /src/libidn/lib/stringprep.c:435
0 0 None 4 12 stringprep call site: 00055 /src/libidn/lib/stringprep.c:454
0 0 None 2 278 stringprep_profile call site: 00008 /src/libidn/lib/stringprep.c:508
0 0 None 2 2 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:266
0 0 None 2 2 tld_get_table call site: 00078 /src/libidn/lib/tld.c:64
0 0 None 0 260 stringprep_4i call site: 00020 /src/libidn/lib/stringprep.c:202
0 0 None 0 260 stringprep_4i call site: 00050 /src/libidn/lib/stringprep.c:297

Runtime coverage analysis

Covered functions
57
Functions that are reachable but not covered
15
Reachable functions
72
Percentage of reachable functions covered
79.17%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/libidn/fuzz/libidn_stringprep_fuzzer.c 1
version.c 1
stringprep.c 9
gl/free.c 1
nfkc.c 18
gl/unistr/u8-check.c 1
idn-free.c 1
pr29.c 6
tld.c 12
toutf8.c 2

Fuzzer: libidn_toascii_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 5 4.62%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.92%
greenyellow [30:49] 1 0.92%
lawngreen 50+ 101 93.5%
All colors 108 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
24 24 3 :

['realloc', 'iconv', '__errno_location']

24 28 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:297
8 12 3 :

['iconv', '__errno_location', 'rpl_free']

12 16 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:334
2 2 1 :

['__errno_location']

2 2 str_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:399
0 0 None 12 358 idna_to_ascii_4z call site: 00082 /src/libidn/lib/idna.c:537
0 0 None 12 16 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:295
0 0 None 6 310 stringprep call site: 00019 /src/libidn/lib/stringprep.c:435
0 0 None 4 12 stringprep call site: 00054 /src/libidn/lib/stringprep.c:454
0 0 None 2 58 idna_to_ascii_4i call site: 00062 /src/libidn/lib/idna.c:158
0 0 None 2 2 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:266
0 0 None 2 2 idna_to_ascii_4z call site: 00076 /src/libidn/lib/idna.c:494
0 0 None 2 2 idna_to_ascii_4z call site: 00077 /src/libidn/lib/idna.c:504
0 0 None 0 260 stringprep_4i call site: 00021 /src/libidn/lib/stringprep.c:202

Runtime coverage analysis

Covered functions
38
Functions that are reachable but not covered
14
Reachable functions
52
Percentage of reachable functions covered
73.08%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/libidn/fuzz/libidn_toascii_fuzzer.c 1
idna.c 4
nfkc.c 14
gl/free.c 1
stringprep.c 6
gl/unistr/u8-check.c 1
punycode.c 4
idn-free.c 1
toutf8.c 2

Fuzzer: libidn_tounicode_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 6 4.19%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 137 95.8%
All colors 143 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
24 24 3 :

['realloc', 'iconv', '__errno_location']

24 28 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:297
8 12 3 :

['iconv', '__errno_location', 'rpl_free']

12 16 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:334
2 2 1 :

['__errno_location']

2 2 str_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:399
0 0 None 12 16 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:295
0 0 None 6 310 stringprep call site: 00020 /src/libidn/lib/stringprep.c:435
0 0 None 4 12 stringprep call site: 00055 /src/libidn/lib/stringprep.c:454
0 0 None 2 446 idna_to_unicode_4z4z call site: 00100 /src/libidn/lib/idna.c:660
0 0 None 2 446 idna_to_unicode_4z4z call site: 00103 /src/libidn/lib/idna.c:675
0 0 None 2 58 idna_to_ascii_4i call site: 00081 /src/libidn/lib/idna.c:158
0 0 None 2 2 str_cd_iconv call site: 00000 /src/libidn/lib/gl/striconv.c:266
0 0 None 0 260 stringprep_4i call site: 00022 /src/libidn/lib/stringprep.c:202
0 0 None 0 260 stringprep_4i call site: 00023 /src/libidn/lib/stringprep.c:207

Runtime coverage analysis

Covered functions
46
Functions that are reachable but not covered
13
Reachable functions
59
Percentage of reachable functions covered
77.97%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/libidn/fuzz/libidn_tounicode_fuzzer.c 1
idna.c 8
nfkc.c 14
gl/free.c 1
stringprep.c 6
gl/unistr/u8-check.c 1
gl/c-strncasecmp.c 1
gl/./c-ctype.h 1
punycode.c 6
gl/c-strcasecmp.c 1
idn-free.c 1
toutf8.c 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/libidn/fuzz/libidn_stringprep_fuzzer.c ['libidn_stringprep_fuzzer'] ['libidn_stringprep_fuzzer']
/src/libidn/lib/idna.c ['libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/gl/free.c ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/gl/striconv.c [] []
/src/libidn/fuzz/libidn_toascii_fuzzer.c ['libidn_toascii_fuzzer'] ['libidn_toascii_fuzzer']
/src/libidn/lib/nfkc.c ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/gl/./c-ctype.h ['libidn_tounicode_fuzzer'] []
/src/libidn/lib/tld.c ['libidn_stringprep_fuzzer'] ['libidn_stringprep_fuzzer']
/src/libidn/lib/gl/c-strcasecmp.c ['libidn_tounicode_fuzzer'] ['libidn_tounicode_fuzzer']
/src/libidn/lib/gl/unistr/u8-check.c ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/version.c ['libidn_stringprep_fuzzer'] ['libidn_stringprep_fuzzer']
/src/libidn/lib/punycode.c ['libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/pr29.c ['libidn_stringprep_fuzzer'] ['libidn_stringprep_fuzzer']
/src/libidn/lib/idn-free.c ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/toutf8.c ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/lib/gl/c-strncasecmp.c ['libidn_tounicode_fuzzer'] ['libidn_tounicode_fuzzer']
/src/libidn/lib/stringprep.c ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer'] ['libidn_stringprep_fuzzer', 'libidn_toascii_fuzzer', 'libidn_tounicode_fuzzer']
/src/libidn/fuzz/libidn_tounicode_fuzzer.c ['libidn_tounicode_fuzzer'] ['libidn_tounicode_fuzzer']

Directories in report

Directory
/src/libidn/fuzz/
/src/libidn/lib/
/src/libidn/lib/gl/
/src/libidn/lib/gl/./
/src/libidn/lib/gl/unistr/