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 96209
Lines covered 53161
Code coverage 55.26%
Code coverage report Report link
Static reachability 19.52%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_asn1_print 15.35% (avg: 15.35%, max: 15.35%) 2025-03-27
fuzz_asn1_sig_value 2.21% (avg: 2.21%, max: 2.21%) 2025-03-27
fuzz_card 17.17% (avg: 17.14%, max: 17.17%) 2025-03-27
fuzz_piv_tool 6.63% (avg: 6.63%, max: 6.63%) 2025-03-27
fuzz_pkcs11 36.39% (avg: 36.23%, max: 36.34%) 2025-03-27
fuzz_pkcs15_crypt 35.03% (avg: 34.81%, max: 35.04%) 2025-03-27
fuzz_pkcs15_decode 32.62% (avg: 32.55%, max: 32.62%) 2025-03-27
fuzz_pkcs15_encode 32.94% (avg: 32.88%, max: 32.94%) 2025-03-27
fuzz_pkcs15_reader 35.82% (avg: 35.39%, max: 35.79%) 2025-03-27
fuzz_pkcs15init 41.89% (avg: 41.52%, max: 41.91%) 2025-03-27
fuzz_scconf_parse_string 52.42% (avg: 52.42%, max: 52.42%) 2025-03-27

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
pkcs15_initialize /src/opensc/src/pkcs11/framework-pkcs15.c 3157 0.0%
pkcs15_create_private_key /src/opensc/src/pkcs11/framework-pkcs15.c 2371 0.0%
pkcs15_skey_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2342 0.0%
pkcs15_dobj_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2341 0.0%
pkcs15_pubkey_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2341 0.0%
pkcs15_cert_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2341 0.0%
pkcs15_prkey_set_attribute /src/opensc/src/pkcs11/framework-pkcs15.c 2341 0.0%
pkcs15_set_attrib /src/opensc/src/pkcs11/framework-pkcs15.c 2339 0.0%
pkcs15_any_destroy /src/opensc/src/pkcs11/framework-pkcs15.c 2317 0.0%
pkcs15_create_public_key /src/opensc/src/pkcs11/framework-pkcs15.c 2307 0.0%