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_keyring

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_keyimport

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_verify_detached

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_sigimport

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_dump

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_verify

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_keyring_kbx

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_keyring_g10

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
rnp::KeyStore::load(rnp::KeyProviderconst*) /src/rnp/src/librekey/rnp_key_store.cpp 2 ['N/A', 'N/A'] 16 0 189 39 4 1442 0 4371 1486
rnp::KeygenParams::generate(rnp::BindingParams&,rnp::Key&,rnp::Key&,rnp::Key&,rnp::Key&,pgp_password_provider_tconst&,rnp::KeyFormat) /src/rnp/src/lib/keygen.cpp 8 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'int'] 15 0 315 76 72 1371 0 4217 890
pgp::DilithiumEccKeyMaterial::generate(rnp::SecurityContext&,pgp::KeyParamsconst&) /src/rnp/src/lib/key_material.cpp 3 ['N/A', 'N/A', 'N/A'] 9 0 45 8 4 231 0 439 401
rnp::KeyStore::write() /src/rnp/src/librekey/rnp_key_store.cpp 1 ['N/A'] 8 0 308 59 13 201 0 664 392
rnp::KeygenParams::generate(rnp::CertParams&,rnp::Key&,rnp::Key&,rnp::KeyFormat) /src/rnp/src/lib/keygen.cpp 5 ['N/A', 'N/A', 'N/A', 'N/A', 'int'] 15 0 245 58 47 1383 0 4143 266
pgp::MlkemEcdhKeyMaterial::generate(rnp::SecurityContext&,pgp::KeyParamsconst&) /src/rnp/src/lib/key_material.cpp 3 ['N/A', 'N/A', 'N/A'] 9 0 45 8 4 233 0 438 238
pgp::MlkemEcdhKeyMaterial::decrypt(rnp::SecurityContext&,std::__1::vector >&,pgp::EncMaterialconst&)const /src/rnp/src/lib/key_material.cpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 8 0 53 9 4 195 0 395 212

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
47.0%
1010 / 2171
Cyclomatic complexity statically reachable by fuzzers
52.0%
6656 / 12826

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

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

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/rnp/src/fuzzing/keyimport.c ['fuzz_keyimport'] []
/src/rnp/src/lib/signature.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/librepgp/stream-key.h [] []
/src/rnp/src/lib/crypto/dilithium_common.cpp [] []
/src/rnp/src/fuzzing/verify_detached.c ['fuzz_verify_detached'] []
/src/rnp/src/lib/crypto/rsa.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/../librepgp/stream-packet.h [] []
/src/rnp/src/lib/logging.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/hkdf.cpp [] []
/src/rnp/src/libsexpp/src/sexp-object.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/symmetric_common.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/../librepgp/stream-sig.h ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/ecdh.h [] []
/src/rnp/src/lib/crypto/dilithium_exdsa_composite.h ['fuzz_keyring_g10'] []
/src/rnp/src/fuzzing/dump.c ['fuzz_dump'] []
/usr/include/botan-3/botan/kdf.h [] []
/src/rnp/src/lib/crypto/s2k.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/symmetric.cpp [] []
/src/rnp/src/librekey/kbx_blob.hpp [] []
/usr/include/botan-3/botan/kyber.h [] []
/src/rnp/src/lib/../librepgp/stream-common.h [] []
/usr/local/bin/../include/c++/v1/sstream ['fuzz_keyring_g10'] []
/src/rnp/src/lib/sig_subpacket.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/librekey/key_store_g10.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/hkdf_botan.cpp [] []
/src/rnp/src/lib/crypto/kyber_common.cpp [] []
/src/rnp/src/lib/key.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/kyber_ecdh_composite.cpp [] []
/src/rnp/src/lib/types.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/sec_profile.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/kmac.hpp [] []
/src/rnp/src/common/file-utils.cpp [] []
/src/rnp/src/libsexpp/src/sexp-output.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/fuzzing/keyring.c ['fuzz_keyring'] []
/src/rnp/src/librekey/key_store_kbx.cpp [] []
/src/rnp/src/lib/crypto/mpi.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/dilithium.h [] []
/usr/include/botan-3/botan/symkey.h [] []
/usr/local/bin/../include/c++/v1/__iterator/move_iterator.h [] []
/src/rnp/src/lib/crypto/sha1cd/ubc_check.c [] []
/src/rnp/src/librepgp/stream-common.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/key.hpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/dilithium.h [] []
/src/rnp/src/lib/crypto/cipher.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/libsexpp/include/sexpp/sexp.h ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/ed25519.h [] []
/src/rnp/src/lib/crypto/hkdf.hpp [] []
/src/rnp/src/lib/enc_material.cpp [] []
/src/rnp/src/lib/crypto/rsa.cpp [] []
/src/rnp/src/lib/enc_material.hpp [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/rnp/src/lib/crypto/dilithium_exdsa_composite.cpp [] []
/src/rnp/src/libsexpp/src/sexp-error.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/fuzzing/keyring_g10.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/ecdh.h [] []
/src/rnp/src/lib/crypto/dsa.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/x25519.cpp [] []
/src/rnp/src/lib/crypto/ecdsa.cpp [] []
/src/rnp/src/lib/keygen.cpp [] []
/src/rnp/src/lib/pass-provider.cpp [] []
/src/rnp/src/lib/crypto/ec_curves.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/kmac_botan.cpp [] []
/src/rnp/src/libsexpp/src/sexp-char-defs.cpp [] []
/src/rnp/src/fuzzing/verify.c ['fuzz_verify'] []
/src/rnp/src/librepgp/stream-common.cpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/curve25519.h [] []
/usr/include/botan-3/botan/system_rng.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/sig_subpacket.hpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/aead.h [] []
/src/rnp/src/lib/crypto/ec.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/sm2.h [] []
/src/rnp/src/lib/rawpacket.hpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/pk_keys.h [] []
/src/rnp/src/lib/crypto/kyber.cpp [] []
/usr/include/botan-3/botan/mac.h [] []
/src/rnp/src/librepgp/stream-sig.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/librekey/rnp_key_store.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/sphincsplus.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/elgamal.cpp [] []
/src/rnp/src/librepgp/stream-armor.h [] []
/src/rnp/src/lib/fingerprint.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/fuzzing/keyring_kbx.c ['fuzz_keyring_kbx'] []
/src/rnp/src/lib/crypto/dsa_common.cpp [] []
/src/rnp/src/librepgp/stream-packet.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/sha1cd/sha1.c ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/kmac.cpp [] []
/src/rnp/src/lib/key_material.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/sec_profile.cpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/buf_comp.h [] []
/src/rnp/src/librepgp/stream-sig.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/userid.hpp [] []
/src/rnp/src/librekey/g23_sexp.hpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/pubkey.h [] []
/src/rnp/src/lib/crypto/ed25519.cpp [] []
/src/rnp/src/lib/crypto/backend_version.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/signature.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/ec.cpp [] []
/src/rnp/src/lib/crypto/dilithium.cpp [] []
/src/rnp/src/lib/crypto/mpi.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/libsexpp/include/sexpp/ext-key-format.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/sm2.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/rng.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/hash_sha1cd.cpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/sym_algo.h [] []
/src/rnp/src/lib/pass-provider.h [] []
/usr/include/botan-3/botan/cipher_mode.h [] []
/src/rnp/src/lib/crypto/ecdh.cpp [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/bigint.h [] []
/src/rnp/src/fuzzing/sigimport.c ['fuzz_sigimport'] []
/src/rnp/src/lib/key-provider.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/utils.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/eddsa.cpp [] []
/usr/include/botan-3/botan/ecc_key.h [] []
/src/rnp/src/lib/utils.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/ecdh_utils.cpp [] []
/usr/include/stdlib.h [] []
/usr/local/bin/../include/c++/v1/stdexcept ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/mem.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/hash.cpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/ec_point.h [] []
/src/rnp/src/libsexpp/src/sexp-input.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/libsexpp/src/sexp-simple-string.cpp [] []
/src/rnp/src/libsexpp/src/ext-key-format.cpp ['fuzz_keyring_g10'] []
/src/rnp/include/rekey/rnp_key_store.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/sig_material.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/librepgp/stream-key.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/keygen.hpp [] []
/usr/include/botan-3/botan/ecdsa.h [] []
/src/rnp/src/lib/../librepgp/stream-key.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/key_material.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/dsa.cpp [] []
/src/rnp/src/lib/crypto/hash_common.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/exdsa_ecdhkem.h [] []
/src/rnp/src/lib/fingerprint.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/librekey/key_store_pgp.cpp [] []
/src/rnp/src/lib/crypto/kyber_ecdh_composite.h [] []
/src/rnp/src/libsexpp/src/sexp-depth-manager.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/botan_utils.hpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/secmem.h [] []
/src/rnp/src/lib/crypto/signatures.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/exdsa_ecdhkem.cpp [] []
/src/rnp/src/lib/key-provider.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/sphincsplus.cpp [] []
/src/rnp/src/lib/crypto/cipher_botan.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/mem.h ['fuzz_keyring_g10'] []
/src/rnp/src/librepgp/stream-armor.cpp [] []
/src/rnp/src/common/time-utils.cpp [] []
/src/rnp/src/lib/crypto/hash.hpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/rawpacket.cpp ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/elgamal.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/sig_material.cpp ['fuzz_keyring_g10'] []
/usr/include/x86_64-linux-gnu/sys/stat.h [] []
/src/rnp/src/librepgp/stream-packet.h [] []
/src/rnp/src/common/str-utils.cpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/curve_gfp.h [] []
/src/rnp/src/libsexpp/include/sexpp/sexp-error.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/userid.cpp ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/reducer.h [] []
/usr/include/ctype.h ['fuzz_keyring_g10'] []
/usr/include/botan-3/botan/rng.h ['fuzz_keyring_g10'] []
/src/rnp/src/lib/crypto/kyber.h [] []

Directories in report

Directory
/usr/local/bin/../include/c++/v1/
/src/rnp/src/lib/crypto/
/src/rnp/src/librekey/
/src/rnp/src/common/
/src/rnp/src/fuzzing/
/src/rnp/src/libsexpp/src/
/usr/local/bin/../include/c++/v1/__iterator/
/src/rnp/src/libsexpp/include/sexpp/
/usr/include/x86_64-linux-gnu/sys/
/src/rnp/src/librepgp/
/usr/local/bin/../include/c++/v1/__exception/
/usr/include/
/src/rnp/include/rekey/
/src/rnp/src/lib/../librepgp/
/src/rnp/src/lib/
/src/rnp/src/lib/crypto/sha1cd/
/usr/include/botan-3/botan/