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: fuzz_rsa_public_key_from_der

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 24 26.3%
gold [1:9] 1 1.09%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 66 72.5%
All colors 91 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
10 69 mpn_limb_size_in_base_2 call site: 00069 mpn_div_qr_1_invert
7 55 mpz_abs_sub call site: 00055 mpz_abs_add
3 19 nettle_mpz_set_str_256_s call site: 00019 gmp_die
2 43 mpn_cmp4 call site: 00043 mpz_realloc
2 49 mpn_sub_1 call site: 00049 mpn_normalized_size

Runtime coverage analysis

Covered functions
41
Functions that are reachable but not covered
12
Reachable functions
50
Percentage of reachable functions covered
76.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/fuzz_rsa_public_key_from_der.c 1
rsa.c 4
mini-gmp.c 34
der-iterator.c 6
der2rsa.c 1
bignum.c 1

Fuzzer: fuzz_dsa_openssl_private_key_from_der

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 25 22.5%
gold [1:9] 1 0.90%
yellow [10:29] 1 0.90%
greenyellow [30:49] 4 3.60%
lawngreen 50+ 80 72.0%
All colors 111 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
10 75 mpn_limb_size_in_base_2 call site: 00075 mpn_div_qr_1_invert
7 61 mpz_abs_sub call site: 00061 mpz_abs_add
3 25 nettle_mpz_set_str_256_s call site: 00025 gmp_die
2 49 mpn_cmp4 call site: 00049 mpz_realloc
2 55 mpn_sub_1 call site: 00055 mpn_normalized_size
1 95 mpz_cmp call site: 00095 mpn_cmp

Runtime coverage analysis

Covered functions
42
Functions that are reachable but not covered
12
Reachable functions
51
Percentage of reachable functions covered
76.47%
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/fuzz_dsa_openssl_private_key_from_der.c 1
dsa.c 2
mini-gmp.c 35
der2dsa.c 2
der-iterator.c 7
bignum.c 1

Fuzzer: fuzz_rsa_keypair_from_der

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 33 21.2%
gold [1:9] 1 0.64%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 121 78.0%
All colors 155 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
10 78 mpn_limb_size_in_base_2 call site: 00078 mpn_div_qr_1_invert
9 135 nettle_rsa_private_key_from_der_iterator call site: 00135 nettle_rsa_public_key_from_der_iterator
7 64 mpz_abs_sub call site: 00064 mpz_abs_add
3 28 nettle_mpz_set_str_256_s call site: 00028 gmp_die
2 52 mpn_cmp4 call site: 00052 mpz_realloc
2 58 mpn_sub_1 call site: 00058 mpn_normalized_size

Runtime coverage analysis

Covered functions
53
Functions that are reachable but not covered
13
Reachable functions
63
Percentage of reachable functions covered
79.37%
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/fuzz_rsa_keypair_from_der.c 1
rsa.c 4
mini-gmp.c 41
rsa-sign.c 3
der2rsa.c 3
der-iterator.c 7
bignum.c 1

Fuzzer: fuzz_dsa_sha1_keypair_from_sexp

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 32 24.2%
gold [1:9] 1 0.75%
yellow [10:29] 4 3.03%
greenyellow [30:49] 2 1.51%
lawngreen 50+ 93 70.4%
All colors 132 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
10 96 mpn_limb_size_in_base_2 call site: 00096 mpn_div_qr_1_invert
7 82 mpz_abs_sub call site: 00082 mpz_abs_add
3 46 nettle_mpz_set_str_256_s call site: 00046 gmp_die
2 19 nettle_sexp_iterator_check_type call site: 00019 nettle_sexp_iterator_exit_list
2 70 mpn_cmp4 call site: 00070 mpz_realloc
2 76 mpn_sub_1 call site: 00076 mpn_normalized_size
1 14 nettle_sexp_iterator_check_type call site: 00014 abort
1 24 nettle_sexp_iterator_exit_list call site: 00024 abort
1 26 nettle_sexp_iterator_next call site: 00026 abort
1 37 nettle_sexp_iterator_assoc call site: 00037 abort
1 40 nettle_mpz_set_sexp call site: 00040 mpz_set_ui
1 114 mpz_cmp call site: 00114 mpn_cmp

Runtime coverage analysis

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

Files reached

filename functions hit
/src/fuzz_dsa_sha1_keypair_from_sexp.c 1
dsa.c 2
mini-gmp.c 35
sexp2dsa.c 2
sexp.c 9
sexp2bignum.c 1
bignum.c 1

Fuzzer: fuzz_dsa_signature_from_sexp

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 78 75.0%
gold [1:9] 1 0.96%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.96%
lawngreen 50+ 24 23.0%
All colors 104 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
73 27 nettle_sexp_iterator_assoc call site: 00027 nettle_mpz_set_sexp
2 16 nettle_sexp_iterator_assoc call site: 00016 nettle_sexp_iterator_exit_list
1 11 nettle_sexp_iterator_assoc call site: 00011 abort
1 21 nettle_sexp_iterator_exit_list call site: 00021 abort
1 23 nettle_sexp_iterator_next call site: 00023 abort

Runtime coverage analysis

Covered functions
14
Functions that are reachable but not covered
39
Reachable functions
53
Percentage of reachable functions covered
26.42%
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/fuzz_dsa_signature_from_sexp.c 1
dsa.c 2
mini-gmp.c 34
sexp.c 8
sexp2dsa.c 1
sexp2bignum.c 1
bignum.c 1

Fuzzer: fuzz_dsa_sha256_keypair_from_sexp

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 32 24.2%
gold [1:9] 1 0.75%
yellow [10:29] 4 3.03%
greenyellow [30:49] 3 2.27%
lawngreen 50+ 92 69.6%
All colors 132 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
10 96 mpn_limb_size_in_base_2 call site: 00096 mpn_div_qr_1_invert
7 82 mpz_abs_sub call site: 00082 mpz_abs_add
3 46 nettle_mpz_set_str_256_s call site: 00046 gmp_die
2 19 nettle_sexp_iterator_check_type call site: 00019 nettle_sexp_iterator_exit_list
2 70 mpn_cmp4 call site: 00070 mpz_realloc
2 76 mpn_sub_1 call site: 00076 mpn_normalized_size
1 14 nettle_sexp_iterator_check_type call site: 00014 abort
1 24 nettle_sexp_iterator_exit_list call site: 00024 abort
1 26 nettle_sexp_iterator_next call site: 00026 abort
1 37 nettle_sexp_iterator_assoc call site: 00037 abort
1 40 nettle_mpz_set_sexp call site: 00040 mpz_set_ui
1 114 mpz_cmp call site: 00114 mpn_cmp

Runtime coverage analysis

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

Files reached

filename functions hit
/src/fuzz_dsa_sha256_keypair_from_sexp.c 1
dsa.c 2
mini-gmp.c 35
sexp2dsa.c 2
sexp.c 9
sexp2bignum.c 1
bignum.c 1

Fuzzer: fuzz_rsa_keypair_from_sexp

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 113 69.3%
gold [1:9] 0 0.0%
yellow [10:29] 2 1.22%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 48 29.4%
All colors 163 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
108 44 nettle_sexp_iterator_assoc call site: 00044 nettle_mpz_set_sexp
2 22 nettle_sexp_iterator_check_type call site: 00022 nettle_sexp_iterator_exit_list
1 17 nettle_sexp_iterator_check_type call site: 00017 abort
1 27 nettle_sexp_iterator_exit_list call site: 00027 abort
1 29 nettle_sexp_iterator_next call site: 00029 abort

Runtime coverage analysis

Covered functions
19
Functions that are reachable but not covered
49
Reachable functions
68
Percentage of reachable functions covered
27.94%
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/fuzz_rsa_keypair_from_sexp.c 1
rsa.c 4
mini-gmp.c 41
rsa-sign.c 3
sexp2rsa.c 2
sexp.c 10
sexp2bignum.c 1
bignum.c 1

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/fuzz_rsa_public_key_from_der.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mpn_limb_size_in_base_2', 'mpz_abs_sub', 'nettle_mpz_set_str_256_s', 'mpn_cmp4', 'mpn_sub_1']

/src/fuzz_dsa_openssl_private_key_from_der.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mpn_limb_size_in_base_2', 'mpz_abs_sub', 'nettle_mpz_set_str_256_s', 'mpn_cmp4', 'mpn_sub_1', 'mpz_cmp']

/src/fuzz_rsa_keypair_from_der.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mpn_limb_size_in_base_2', 'nettle_rsa_private_key_from_der_iterator', 'mpz_abs_sub', 'nettle_mpz_set_str_256_s', 'mpn_cmp4', 'mpn_sub_1']

/src/fuzz_dsa_sha1_keypair_from_sexp.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mpn_limb_size_in_base_2', 'mpz_abs_sub', 'nettle_mpz_set_str_256_s', 'nettle_sexp_iterator_check_type', 'mpn_cmp4', 'mpn_sub_1', 'nettle_sexp_iterator_exit_list', 'nettle_sexp_iterator_next', 'nettle_sexp_iterator_assoc']

/src/fuzz_dsa_signature_from_sexp.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nettle_sexp_iterator_assoc', 'nettle_sexp_iterator_exit_list', 'nettle_sexp_iterator_next']

/src/fuzz_dsa_sha256_keypair_from_sexp.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mpn_limb_size_in_base_2', 'mpz_abs_sub', 'nettle_mpz_set_str_256_s', 'nettle_sexp_iterator_check_type', 'mpn_cmp4', 'mpn_sub_1', 'nettle_sexp_iterator_exit_list', 'nettle_sexp_iterator_next', 'nettle_sexp_iterator_assoc']

/src/fuzz_rsa_keypair_from_sexp.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nettle_sexp_iterator_assoc', 'nettle_sexp_iterator_check_type', 'nettle_sexp_iterator_exit_list', 'nettle_sexp_iterator_next']

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/nettle/rsa.c ['fuzz_rsa_public_key_from_der', 'fuzz_rsa_keypair_from_der', 'fuzz_rsa_keypair_from_sexp'] ['fuzz_rsa_public_key_from_der', 'fuzz_rsa_keypair_from_der', 'fuzz_rsa_keypair_from_sexp']
/src/nettle/der-iterator.c ['fuzz_rsa_public_key_from_der', 'fuzz_dsa_openssl_private_key_from_der', 'fuzz_rsa_keypair_from_der'] ['fuzz_rsa_public_key_from_der', 'fuzz_dsa_openssl_private_key_from_der', 'fuzz_rsa_keypair_from_der']
/src/nettle/sexp2dsa.c ['fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp'] ['fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp']
/src/nettle/sexp.c ['fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp', 'fuzz_rsa_keypair_from_sexp'] ['fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp', 'fuzz_rsa_keypair_from_sexp']
/src/fuzz_rsa_keypair_from_sexp.c ['fuzz_rsa_keypair_from_sexp'] ['fuzz_rsa_keypair_from_sexp']
/src/fuzz_dsa_signature_from_sexp.c ['fuzz_dsa_signature_from_sexp'] ['fuzz_dsa_signature_from_sexp']
/src/fuzz_dsa_sha1_keypair_from_sexp.c ['fuzz_dsa_sha1_keypair_from_sexp'] ['fuzz_dsa_sha1_keypair_from_sexp']
/src/nettle/der2dsa.c ['fuzz_dsa_openssl_private_key_from_der'] ['fuzz_dsa_openssl_private_key_from_der']
/src/nettle/rsa-sign.c ['fuzz_rsa_keypair_from_der', 'fuzz_rsa_keypair_from_sexp'] ['fuzz_rsa_keypair_from_der', 'fuzz_rsa_keypair_from_sexp']
/src/nettle/bignum.c ['fuzz_rsa_public_key_from_der', 'fuzz_dsa_openssl_private_key_from_der', 'fuzz_rsa_keypair_from_der', 'fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp', 'fuzz_rsa_keypair_from_sexp'] ['fuzz_rsa_public_key_from_der', 'fuzz_dsa_openssl_private_key_from_der', 'fuzz_rsa_keypair_from_der', 'fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp']
/src/fuzz_rsa_public_key_from_der.c ['fuzz_rsa_public_key_from_der'] ['fuzz_rsa_public_key_from_der']
/src/fuzz_rsa_keypair_from_der.c ['fuzz_rsa_keypair_from_der'] ['fuzz_rsa_keypair_from_der']
/src/nettle/mini-gmp.c ['fuzz_rsa_public_key_from_der', 'fuzz_dsa_openssl_private_key_from_der', 'fuzz_rsa_keypair_from_der', 'fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp', 'fuzz_rsa_keypair_from_sexp'] ['fuzz_rsa_public_key_from_der', 'fuzz_dsa_openssl_private_key_from_der', 'fuzz_rsa_keypair_from_der', 'fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp', 'fuzz_rsa_keypair_from_sexp']
/src/nettle/sexp2bignum.c ['fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp', 'fuzz_rsa_keypair_from_sexp'] ['fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp']
/src/nettle/dsa.c ['fuzz_dsa_openssl_private_key_from_der', 'fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp'] ['fuzz_dsa_openssl_private_key_from_der', 'fuzz_dsa_sha1_keypair_from_sexp', 'fuzz_dsa_signature_from_sexp', 'fuzz_dsa_sha256_keypair_from_sexp']
/src/fuzz_dsa_sha256_keypair_from_sexp.c ['fuzz_dsa_sha256_keypair_from_sexp'] ['fuzz_dsa_sha256_keypair_from_sexp']
/src/nettle/der2rsa.c ['fuzz_rsa_public_key_from_der', 'fuzz_rsa_keypair_from_der'] ['fuzz_rsa_public_key_from_der', 'fuzz_rsa_keypair_from_der']
/src/nettle/sexp2rsa.c ['fuzz_rsa_keypair_from_sexp'] ['fuzz_rsa_keypair_from_sexp']
/src/fuzz_dsa_openssl_private_key_from_der.c ['fuzz_dsa_openssl_private_key_from_der'] ['fuzz_dsa_openssl_private_key_from_der']

Directories in report

Directory
/src/
/src/nettle/