Project: opensc

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 12
Lines of code 95758
Lines covered 51698
Code coverage 53.99%
Code coverage report Report link
Static reachability 19.74%
Fuzz Introspector report Report link (from 2025-05-30)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_asn1_print 15.35% (avg: 15.35%, max: 15.35%) 2025-05-30
fuzz_asn1_sig_value 2.24% (avg: 2.22%, max: 2.24%) 2025-05-30
fuzz_card 16.94% (avg: 17.07%, max: 17.13%) 2025-05-30
fuzz_piv_tool 6.66% (avg: 6.62%, max: 6.66%) 2025-05-30
fuzz_pkcs11 35.5% (avg: 36.42%, max: 36.65%) 2025-05-30
fuzz_pkcs15_crypt 34.71% (avg: 35.1%, max: 35.23%) 2025-05-30
fuzz_pkcs15_decode 32.24% (avg: 32.56%, max: 32.66%) 2025-05-30
fuzz_pkcs15_encode 32.08% (avg: 32.83%, max: 33.02%) 2025-05-30
fuzz_pkcs15_reader 34.74% (avg: 35.6%, max: 36.01%) 2025-05-30
fuzz_pkcs15init 39.78% (avg: 42.03%, max: 42.34%) 2025-05-30
fuzz_scconf_parse_string 52.42% (avg: 52.42%, max: 52.42%) 2025-05-30

Historical Progression

Per Fuzzer Progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
_main /src/opensc/src/tests/fuzzing/../../../src/tools/pkcs15-tool.c 3333 0.0%
pkcs15_initialize /src/opensc/src/pkcs11/framework-pkcs15.c 3150 0.0%
pkcs15_create_private_key /src/opensc/src/pkcs11/framework-pkcs15.c 2366 0.0%
pkcs15_skey_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2335 0.0%
pkcs15_dobj_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2334 0.0%
pkcs15_pubkey_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2334 0.0%
pkcs15_cert_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2334 0.0%
pkcs15_prkey_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2334 0.0%
pkcs15_set_attrib /src/opensc/src/pkcs11/framework-pkcs15.c 2332 0.0%
pkcs15_any_destroy /src/opensc/src/pkcs11/framework-pkcs15.c 2310 0.0%