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

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
5 36 UA_CertificateUtils_getExpirationDate call site: 00036 UA_DateTime_fromStruct
5 50 UA_CertificateUtils_getKeySize call site: 00050 mbedtls_pk_rsa
4 27 UA_mbedTLS_LoadPemCrl call site: 00027 UA_String_copy
4 42 LLVMFuzzerTestOneInput call site: 00042 mbedtls_thumbprint_sha1
3 17 UA_mbedTLS_LoadPemCertificate call site: 00017 UA_clear
3 58 UA_CertificateUtils_checkCA call site: 00058 mbedtlsCheckCA
3 67 UA_CertificateUtils_verifyApplicationUri call site: 00067 UA_Bstrstr
1 13 UA_mbedTLS_CopyDataFormatAware call site: 00013 UA_copy
1 32 LLVMFuzzerTestOneInput call site: 00032 UA_clear

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 UA_memoryManager_setLimitFromLast4Bytes [function] [call site] 00001
1 UA_CertificateUtils_getSubjectName [function] [call site] 00002
2 mbedtls_x509_crt_init [call site] 00003
2 mbedtls_x509_crl_init [call site] 00004
2 UA_mbedTLS_LoadCertificate [function] [call site] 00005
3 UA_mbedTLS_LoadDerCertificate [function] [call site] 00006
4 mbedtls_x509_crt_parse [call site] 00007
3 UA_mbedTLS_LoadPemCertificate [function] [call site] 00008
4 UA_mbedTLS_CopyDataFormatAware [function] [call site] 00009
5 UA_ByteString_init [function] [call site] 00010
5 UA_ByteString_allocBuffer [function] [call site] 00011
6 UA_ByteString_init [function] [call site] 00012
5 UA_ByteString_copy [function] [call site] 00013
4 mbedtls_x509_crt_parse [call site] 00016
4 UA_ByteString_clear [function] [call site] 00017
2 mbedtls_x509_dn_gets [call site] 00019
2 mbedtls_x509_crt_free [call site] 00020
2 UA_mbedTLS_LoadCrl [function] [call site] 00021
3 UA_mbedTLS_LoadDerCrl [function] [call site] 00022
4 mbedtls_x509_crl_parse [call site] 00023
3 UA_mbedTLS_LoadPemCrl [function] [call site] 00024
4 UA_mbedTLS_CopyDataFormatAware [function] [call site] 00025
4 mbedtls_x509_crl_parse [call site] 00026
4 UA_ByteString_clear [function] [call site] 00027
2 mbedtls_x509_dn_gets [call site] 00028
2 mbedtls_x509_crl_free [call site] 00029
2 UA_String_copy [function] [call site] 00030
1 UA_String_clear(UA_String*) [function] [call site] 00032
1 UA_CertificateUtils_getExpirationDate [function] [call site] 00034
2 mbedtls_x509_crt_init [call site] 00035
2 UA_mbedTLS_LoadCertificate [function] [call site] 00036
2 UA_DateTime_fromStruct [function] [call site] 00037
3 musl_tm_to_secs [function] [call site] 00038
4 musl_year_to_secs [function] [call site] 00039
4 musl_month_to_secs [function] [call site] 00040
2 mbedtls_x509_crt_free [call site] 00041
1 UA_CertificateUtils_getThumbprint [function] [call site] 00042
2 mbedtls_thumbprint_sha1 [function] [call site] 00043
3 UA_ByteString_equal [function] [call site] 00044
3 mbedtls_sha1_ret [call site] 00046
1 UA_String_clear(UA_String*) [function] [call site] 00047
1 UA_CertificateUtils_getKeySize [function] [call site] 00048
2 mbedtls_x509_crt_init [call site] 00049
2 UA_mbedTLS_LoadCertificate [function] [call site] 00050
2 mbedtls_pk_can_do [call site] 00051
2 mbedtls_x509_crt_free [call site] 00052
2 mbedtls_pk_rsa [function] [call site] 00053
3 mbedtls_pk_get_type [call site] 00054
2 mbedtls_x509_crt_free [call site] 00055
1 UA_CertificateUtils_checkCA [function] [call site] 00056
2 mbedtls_x509_crt_init [call site] 00057
2 UA_mbedTLS_LoadCertificate [function] [call site] 00058
2 mbedtlsCheckCA [function] [call site] 00059
3 mbedtls_x509_crt_check_key_usage [call site] 00060
3 mbedtls_x509_crt_check_key_usage [call site] 00061
2 mbedtls_x509_crt_free [call site] 00062
1 UA_STRING [function] [call site] 00063
2 strlen [call site] 00064
1 UA_CertificateUtils_verifyApplicationUri [function] [call site] 00065
2 mbedtls_x509_crt_init [call site] 00066
2 UA_mbedTLS_LoadCertificate [function] [call site] 00067
2 UA_Bstrstr [function] [call site] 00068
3 memcmp [call site] 00069
2 mbedtls_x509_crt_free [call site] 00070