Fuzz introspector: fuzz_gcrypt_cipher
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
23 104 mbedtls_cipher_update call site: 00104 mbedtls_gcm_update
18 79 mbedtls_cipher_set_iv call site: 00079 mbedtls_gcm_starts
13 10 LLVMFuzzerTestOneInput call site: 00010 nalloc_fail
8 134 mbedtls_cipher_finish call site: 00134 mbedtls_cipher_get_iv_size
5 160 LLVMFuzzerTestOneInput call site: 00160
1 43 LLVMFuzzerTestOneInput call site: 00043 MBEDTLS_INTERNAL_VALIDATE_RET
1 45 LLVMFuzzerTestOneInput call site: 00045 MBEDTLS_INTERNAL_VALIDATE_RET
1 47 LLVMFuzzerTestOneInput call site: 00047 MBEDTLS_INTERNAL_VALIDATE_RET
1 49 LLVMFuzzerTestOneInput call site: 00049 MBEDTLS_INTERNAL_VALIDATE_RET
1 51 LLVMFuzzerTestOneInput call site: 00051 MBEDTLS_INTERNAL_VALIDATE_RET
1 53 LLVMFuzzerTestOneInput call site: 00053 MBEDTLS_INTERNAL_VALIDATE_RET

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 FuzzedDataProvider::remaining_bytes [function] [call site] 00001
1 posix_memalign [function] [call site] 00002
1 posix_memalign [function] [call site] 00003
1 FuzzedDataProvider::PickValueInArray [function] [call site] 00004
1 FuzzedDataProvider::ConsumeBytes [function] [call site] 00005
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00006
1 FuzzedDataProvider::ConsumeBytes [function] [call site] 00007
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00008
1 FuzzedDataProvider::ConsumeBytes [function] [call site] 00009
1 malloc [function] [call site] 00010
2 nalloc_fail [function] [call site] 00011
3 __sync_fetch_and_add [function] [call site] 00012
3 __sync_fetch_and_sub [function] [call site] 00013
3 nalloc_random_update [function] [call site] 00014
3 nalloc_random_update [function] [call site] 00015
3 nalloc_random_update [function] [call site] 00016
3 nalloc_backtrace_exclude [function] [call site] 00017
4 __sanitizer_print_stack_trace [function] [call site] 00019
3 __sync_fetch_and_sub [function] [call site] 00020
3 __sync_fetch_and_sub [function] [call site] 00021
3 __sync_fetch_and_sub [function] [call site] 00022
2 nalloc_malloc [function] [call site] 00023
1 mbedtls_cipher_list [function] [call site] 00025
1 static_cast<mbedtls_cipher_type_t> [function] [call site] 00026
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00027
1 mbedtls_cipher_info_from_type [function] [call site] 00028
1 FuzzedDataProvider::ConsumeIntegralInRange [function] [call site] 00029
1 mbedtls_cipher_init [function] [call site] 00030
2 CIPHER_VALIDATE [function] [call site] 00031
1 mbedtls_cipher_init [function] [call site] 00033
1 mbedtls_cipher_info_from_string [function] [call site] 00034
1 mbedtls_cipher_info_get_mode [function] [call site] 00036
1 mbedtls_cipher_info_get_type [function] [call site] 00037
1 mbedtls_cipher_info_get_name [function] [call site] 00038
1 mbedtls_cipher_info_has_variable_key_bitlen [function] [call site] 00039
1 mbedtls_cipher_info_has_variable_iv_size [function] [call site] 00040
1 mbedtls_cipher_info_get_iv_size [function] [call site] 00041
1 mbedtls_cipher_info_get_block_size [function] [call site] 00042
1 mbedtls_cipher_get_cipher_mode [function] [call site] 00043
2 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00044
1 mbedtls_cipher_get_iv_size [function] [call site] 00045
2 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00046
1 mbedtls_cipher_get_type [function] [call site] 00047
2 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00048
1 mbedtls_cipher_get_name [function] [call site] 00049
2 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00050
1 mbedtls_cipher_get_key_bitlen [function] [call site] 00051
2 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00052
1 mbedtls_cipher_get_operation [function] [call site] 00053
2 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00054
1 mbedtls_cipher_info_get_key_bitlen [function] [call site] 00055
1 mbedtls_error_add [function] [call site] 00056
1 posix_memalign [function] [call site] 00057
1 posix_memalign [function] [call site] 00058
1 mbedtls_cipher_setkey [function] [call site] 00059
2 CIPHER_VALIDATE_RET [function] [call site] 00060
2 CIPHER_VALIDATE_RET [function] [call site] 00061
2 CIPHER_VALIDATE_RET [function] [call site] 00062
2 mbedtls_cipher_context_t*::cipher_info::base::setkey_enc_func [function] [call site] 00063
2 mbedtls_cipher_context_t*::cipher_info::base::setkey_dec_func [function] [call site] 00064
1 std::vector::data [function] [call site] 00065
1 std::vector::size [function] [call site] 00066
1 mbedtls_cipher_setkey [function] [call site] 00067
1 std::vector::data [function] [call site] 00068
1 std::vector::size [function] [call site] 00069
1 FuzzedDataProvider::ConsumeBool [function] [call site] 00070
1 mbedtls_cipher_crypt [function] [call site] 00071
2 CIPHER_VALIDATE_RET [function] [call site] 00072
2 CIPHER_VALIDATE_RET [function] [call site] 00073
2 CIPHER_VALIDATE_RET [function] [call site] 00074
2 CIPHER_VALIDATE_RET [function] [call site] 00075
2 CIPHER_VALIDATE_RET [function] [call site] 00076
2 mbedtls_cipher_set_iv [function] [call site] 00077
3 CIPHER_VALIDATE_RET [function] [call site] 00078
3 CIPHER_VALIDATE_RET [function] [call site] 00079
3 mbedtls_gcm_starts [function] [call site] 00080
4 GCM_VALIDATE_RET [function] [call site] 00081
4 GCM_VALIDATE_RET [function] [call site] 00082
4 MBEDTLS_PUT_UINT64_BE [function] [call site] 00087
4 gcm_mult [function] [call site] 00089
5 MBEDTLS_PUT_UINT64_BE [function] [call site] 00090
5 MBEDTLS_PUT_UINT64_BE [function] [call site] 00091
5 mbedtls_aesni_gcm_mult [function] [call site] 00092
5 MBEDTLS_PUT_UINT64_BE [function] [call site] 00093
5 MBEDTLS_PUT_UINT64_BE [function] [call site] 00094
4 mbedtls_cipher_update [function] [call site] 00097
5 CIPHER_VALIDATE_RET [function] [call site] 00098
5 CIPHER_VALIDATE_RET [function] [call site] 00099
5 CIPHER_VALIDATE_RET [function] [call site] 00100
5 CIPHER_VALIDATE_RET [function] [call site] 00101
5 mbedtls_cipher_get_block_size [function] [call site] 00102
6 MBEDTLS_INTERNAL_VALIDATE_RET [function] [call site] 00103
5 mbedtls_cipher_context_t*::cipher_info::base::ecb_func [function] [call site] 00104
5 mbedtls_gcm_update [function] [call site] 00105
6 GCM_VALIDATE_RET [function] [call site] 00106
6 GCM_VALIDATE_RET [function] [call site] 00107
6 GCM_VALIDATE_RET [function] [call site] 00108
6 GCM_VALIDATE_RET [function] [call site] 00109
6 gcm_mask [function] [call site] 00111
7 mbedtls_cipher_update [function] [call site] 00112
7 mbedtls_platform_zeroize [function] [call site] 00113
7 xorbytes3d [function] [call site] 00114
7 xorbytes3e [function] [call site] 00115
5 mbedtls_cipher_context_t*::cipher_info::base::cbc_func [function] [call site] 00124
5 mbedtls_cipher_context_t*::cipher_info::base::cbc_func [function] [call site] 00126
2 mbedtls_cipher_reset [function] [call site] 00128
3 CIPHER_VALIDATE_RET [function] [call site] 00129
2 mbedtls_cipher_update [function] [call site] 00130
2 mbedtls_cipher_finish [function] [call site] 00131
3 CIPHER_VALIDATE_RET [function] [call site] 00132
3 CIPHER_VALIDATE_RET [function] [call site] 00133
3 CIPHER_VALIDATE_RET [function] [call site] 00134
3 mbedtls_cipher_context_t*::add_padding [function] [call site] 00135
3 mbedtls_cipher_get_iv_size [function] [call site] 00136
3 mbedtls_cipher_get_block_size [function] [call site] 00137
3 mbedtls_cipher_context_t*::cipher_info::base::cbc_func [function] [call site] 00138
3 mbedtls_cipher_get_block_size [function] [call site] 00139
3 mbedtls_cipher_context_t*::get_padding [function] [call site] 00140
3 mbedtls_cipher_get_block_size [function] [call site] 00141
3 mbedtls_cipher_get_block_size [function] [call site] 00142
1 std::vector::data [function] [call site] 00143
1 std::vector::size [function] [call site] 00144
1 std::vector::data [function] [call site] 00145
1 std::vector::size [function] [call site] 00146
1 mbedtls_cipher_set_iv [function] [call site] 00147
1 std::vector::data [function] [call site] 00148
1 std::vector::size [function] [call site] 00149
1 mbedtls_cipher_set_iv [function] [call site] 00150
1 std::vector::data [function] [call site] 00151
1 std::vector::size [function] [call site] 00152
1 mbedtls_cipher_reset [function] [call site] 00153
1 mbedtls_cipher_reset [function] [call site] 00154
1 mbedtls_cipher_update [function] [call site] 00155
1 std::vector::data [function] [call site] 00156
1 std::vector::size [function] [call site] 00157
1 mbedtls_cipher_finish [function] [call site] 00158
1 mbedtls_cipher_update [function] [call site] 00159
1 mbedtls_cipher_finish [function] [call site] 00160
1 std::vector::size [function] [call site] 00162
1 std::vector::data [function] [call site] 00165