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

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
62 62 1 :

['sign_key_fingerprint']

66 102 cmp_base64_key call site: 00191 /src/dropbear/src/signkey.c:750
2 2 1 :

['exit']

2 2 generic_dropbear_exit call site: 00000 /src/dropbear/src/dbutil.c:124
0 2 1 :

['dropbear_exit']

0 2 buf_new call site: 00125 /src/dropbear/src/buffer.c:43
0 2 1 :

['dropbear_exit']

0 2 buf_setlen call site: 00180 /src/dropbear/src/buffer.c:96
0 2 1 :

['dropbear_exit']

0 2 buf_incrlen call site: 00135 /src/dropbear/src/buffer.c:105
0 2 1 :

['dropbear_exit']

0 2 buf_setpos call site: 00137 /src/dropbear/src/buffer.c:113
0 2 1 :

['dropbear_exit']

0 2 buf_incrwritepos call site: 00131 /src/dropbear/src/buffer.c:121
0 2 1 :

['dropbear_exit']

0 2 buf_incrpos call site: 00063 /src/dropbear/src/buffer.c:132
0 2 1 :

['dropbear_exit']

0 2 buf_decrpos call site: 00160 /src/dropbear/src/buffer.c:141
0 2 1 :

['dropbear_exit']

0 2 buf_getbyte call site: 00158 /src/dropbear/src/buffer.c:152
0 2 1 :

['dropbear_exit']

0 2 buf_getwriteptr call site: 00129 /src/dropbear/src/buffer.c:192
0 2 1 :

['dropbear_exit']

0 2 crypto_init call site: 00023 /src/dropbear/src/crypto_desc.c:64

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 setup_fuzzer [function] [call site] 00001
2 fuzz_common_setup [function] [call site] 00002
3 disallow_core [function] [call site] 00003
4 getrlimit [call site] 00004
4 setrlimit [call site] 00005
3 m_malloc [function] [call site] 00006
4 dropbear_exit [function] [call site] 00007
4 calloc [call site] 00008
4 dropbear_exit [function] [call site] 00009
4 put_alloc [function] [call site] 00010
5 __assert_fail [call site] 00011
5 __assert_fail [call site] 00012
3 fuzz_dropbear_log [function] [call site] 00013
3 crypto_init [function] [call site] 00014
4 register_cipher [function] [call site] 00015
5 crypt_argchk [function] [call site] 00016
6 fprintf [call site] 00017
6 abort [call site] 00018
4 dropbear_exit [function] [call site] 00019
4 register_hash [function] [call site] 00020
5 memcmp [call site] 00021
4 dropbear_exit [function] [call site] 00022
4 register_prng [function] [call site] 00023
4 dropbear_exit [function] [call site] 00024
4 mp_rand_source [function] [call site] 00025
4 dropbear_rand_source [function] [call site] 00026
5 genrandom [function] [call site] 00027
6 dropbear_exit [function] [call site] 00028
6 sha256_init [function] [call site] 00029
7 crypt_argchk [function] [call site] 00030
6 sha256_process [function] [call site] 00031
7 crypt_argchk [function] [call site] 00032
7 sha256_compress [function] [call site] 00033
6 sha256_process [function] [call site] 00034
6 sha256_done [function] [call site] 00035
7 crypt_argchk [function] [call site] 00036
7 crypt_argchk [function] [call site] 00037
7 sha256_compress [function] [call site] 00038
7 sha256_compress [function] [call site] 00039
6 seedrandom [function] [call site] 00040
7 sha256_init [function] [call site] 00041
7 sha256_process [function] [call site] 00042
7 process_getrandom [function] [call site] 00043
8 getrandom [call site] 00044
8 __errno_location [call site] 00045
8 __errno_location [call site] 00046
8 dropbear_log [function] [call site] 00047
8 getrandom [call site] 00048
8 __errno_location [call site] 00049
8 sha256_process [function] [call site] 00050
7 process_file [function] [call site] 00051
8 open [call site] 00052
8 wrapfd_read [function] [call site] 00053
9 read [call site] 00054
9 __errno_location [call site] 00055
9 __assert_fail [call site] 00056
9 erand48 [call site] 00057
9 __errno_location [call site] 00058
9 erand48 [call site] 00059
9 __errno_location [call site] 00060
9 nrand48 [call site] 00061
9 buf_getptr [function] [call site] 00062
9 buf_incrpos [function] [call site] 00063
10 dropbear_exit [function] [call site] 00064
9 nrand48 [call site] 00065
8 __errno_location [call site] 00066
8 sha256_process [function] [call site] 00067
8 wrapfd_close [function] [call site] 00068
9 wrapfd_remove [function] [call site] 00069
10 __assert_fail [call site] 00070
10 __assert_fail [call site] 00071
10 __assert_fail [call site] 00072
10 close [call site] 00073
9 close [call site] 00074
7 dropbear_exit [function] [call site] 00075
7 process_file [function] [call site] 00076
7 process_file [function] [call site] 00077
7 process_file [function] [call site] 00078
7 process_file [function] [call site] 00079
7 process_file [function] [call site] 00080
7 process_file [function] [call site] 00081
7 process_file [function] [call site] 00082
7 process_file [function] [call site] 00083
7 process_file [function] [call site] 00084
7 getpid [call site] 00085
7 sha256_process [function] [call site] 00086
7 gettimeofday [call site] 00087
7 sha256_process [function] [call site] 00088
7 clock [call site] 00089
7 sha256_process [function] [call site] 00090
7 sha256_done [function] [call site] 00091
7 write_urandom [function] [call site] 00092
8 fopen [call site] 00093
8 genrandom [function] [call site] 00094
9 m_burn [function] [call site] 00095
10 explicit_bzero [call site] 00096
8 fwrite [call site] 00097
8 fclose [call site] 00098
4 dropbear_ecc_fill_dp [function] [call site] 00099
5 dropbear_exit [function] [call site] 00100
3 fuzz_seed [function] [call site] 00101
4 sha256_init [function] [call site] 00102
4 sha256_process [function] [call site] 00103
4 sha256_process [function] [call site] 00104
4 sha256_done [function] [call site] 00105
3 setlinebuf [call site] 00106
3 getenv [call site] 00107
3 fprintf [call site] 00108
3 fprintf [call site] 00109
3 fopen [call site] 00110
3 __assert_fail [call site] 00111
1 fuzz_set_input [function] [call site] 00112
2 wrapfd_setup [function] [call site] 00113
3 wrapfd_remove [function] [call site] 00114
3 wrapfd_setseed [function] [call site] 00115
2 fuzz_seed [function] [call site] 00116
1 m_malloc_set_epoch [function] [call site] 00117
1 _setjmp [call site] 00118
1 buf_getstringbuf [function] [call site] 00119
2 buf_getstringbuf_int [function] [call site] 00120
3 buf_getint [function] [call site] 00121
4 buf_getptr [function] [call site] 00122
4 buf_incrpos [function] [call site] 00123
3 dropbear_exit [function] [call site] 00124
3 buf_new [function] [call site] 00125
4 dropbear_exit [function] [call site] 00126
3 buf_putint [function] [call site] 00128
4 buf_getwriteptr [function] [call site] 00129
5 dropbear_exit [function] [call site] 00130
4 buf_incrwritepos [function] [call site] 00131
5 dropbear_exit [function] [call site] 00132
3 buf_getwriteptr [function] [call site] 00133
3 buf_incrpos [function] [call site] 00134
3 buf_incrlen [function] [call site] 00135
4 dropbear_exit [function] [call site] 00136
3 buf_setpos [function] [call site] 00137
4 dropbear_exit [function] [call site] 00138
1 buf_getstringbuf [function] [call site] 00139
1 buf_getstring [function] [call site] 00140
2 buf_getint [function] [call site] 00141
2 dropbear_exit [function] [call site] 00142
2 buf_getptr [function] [call site] 00143
2 buf_incrpos [function] [call site] 00145
1 signature_type_from_name [function] [call site] 00146
2 memcmp [call site] 00147
2 memcmp [call site] 00148
2 signkey_type_from_name [function] [call site] 00149
3 strlen [call site] 00150
3 memcmp [call site] 00151
1 dropbear_exit [function] [call site] 00152
1 fuzz_checkpubkey_line [function] [call site] 00153
2 checkpubkey_line [function] [call site] 00154
3 memchr [call site] 00155
3 buf_getptr [function] [call site] 00156
3 strncmp [call site] 00157
3 buf_getbyte [function] [call site] 00158
4 dropbear_exit [function] [call site] 00159
3 buf_decrpos [function] [call site] 00160
4 dropbear_exit [function] [call site] 00161
3 buf_getptr [function] [call site] 00162
3 buf_getbyte [function] [call site] 00163
3 buf_putbytes [function] [call site] 00165
4 buf_getwriteptr [function] [call site] 00166
4 buf_incrwritepos [function] [call site] 00167
3 buf_getptr [function] [call site] 00168
3 strncmp [call site] 00169
3 buf_incrpos [function] [call site] 00170
3 buf_getbyte [function] [call site] 00171
3 buf_getbyte [function] [call site] 00172
3 buf_getbyte [function] [call site] 00173
3 __ctype_b_loc [call site] 00174
3 buf_setpos [function] [call site] 00176
3 buf_getptr [function] [call site] 00177
3 strncpy [call site] 00178
3 buf_setpos [function] [call site] 00179
3 buf_setlen [function] [call site] 00180
4 dropbear_exit [function] [call site] 00181
3 cmp_base64_key [function] [call site] 00182
4 buf_getptr [function] [call site] 00184
4 buf_getwriteptr [function] [call site] 00185
4 base64_decode [function] [call site] 00186
5 _base64_decode_internal [function] [call site] 00187
6 crypt_argchk [function] [call site] 00188
6 crypt_argchk [function] [call site] 00189
6 crypt_argchk [function] [call site] 00190
4 buf_incrlen [function] [call site] 00191
4 buf_getptr [function] [call site] 00192
4 sign_key_fingerprint [function] [call site] 00193
5 sign_key_sha256_fingerprint [function] [call site] 00194
6 sha256_init [function] [call site] 00195
6 sha256_process [function] [call site] 00196
6 sha256_done [function] [call site] 00197
6 strlen [call site] 00198
6 base64_encode [function] [call site] 00200
7 _base64_encode_internal [function] [call site] 00201
8 crypt_argchk [function] [call site] 00202
8 crypt_argchk [function] [call site] 00203
8 crypt_argchk [function] [call site] 00204
6 dropbear_exit [function] [call site] 00205
4 buf_getptr [function] [call site] 00206
4 memcmp [call site] 00207
4 buf_getint [function] [call site] 00208
4 buf_getptr [function] [call site] 00209
4 memcmp [call site] 00210
4 buf_free [function] [call site] 00211
5 m_free_direct [function] [call site] 00212
6 get_header [function] [call site] 00213
6 remove_alloc [function] [call site] 00214
3 m_free_direct [function] [call site] 00215
3 svr_add_pubkey_options [function] [call site] 00216
4 buf_setpos [function] [call site] 00217
4 match_option [function] [call site] 00218
5 strlen [call site] 00219
5 buf_getptr [function] [call site] 00220
5 strncasecmp [call site] 00221
5 buf_incrpos [function] [call site] 00222
4 match_option [function] [call site] 00223
4 dropbear_log [function] [call site] 00224
4 match_option [function] [call site] 00225
4 match_option [function] [call site] 00226
4 dropbear_log [function] [call site] 00227
4 match_option [function] [call site] 00228
4 dropbear_log [function] [call site] 00229
4 match_option [function] [call site] 00230
4 buf_getptr [function] [call site] 00231
4 buf_getbyte [function] [call site] 00232
4 buf_getptr [function] [call site] 00233
4 dropbear_log [function] [call site] 00235
4 match_option [function] [call site] 00236
4 buf_getptr [function] [call site] 00237
4 buf_getbyte [function] [call site] 00240
4 buf_getptr [function] [call site] 00241
4 list_append [function] [call site] 00243
4 split_address_port [function] [call site] 00246
5 m_strdup [function] [call site] 00247
6 strlen [call site] 00248
6 dropbear_exit [function] [call site] 00250
5 strchr [call site] 00251
5 dropbear_log [function] [call site] 00252
5 dropbear_log [function] [call site] 00253
5 strlen [call site] 00255
5 m_free_direct [function] [call site] 00257
4 strcmp [call site] 00258
4 m_str_to_uint [function] [call site] 00259
5 strtoul [call site] 00260
5 __errno_location [call site] 00261
5 __errno_location [call site] 00262
4 m_free_direct [function] [call site] 00263
4 m_free_direct [function] [call site] 00264
4 dropbear_log [function] [call site] 00265
4 match_option [function] [call site] 00266
4 dropbear_log [function] [call site] 00267
4 match_option [function] [call site] 00268
4 dropbear_log [function] [call site] 00269
4 buf_getbyte [function] [call site] 00270
4 svr_pubkey_options_cleanup [function] [call site] 00271
5 m_free_direct [function] [call site] 00272
5 list_remove [function] [call site] 00273
5 m_free_direct [function] [call site] 00274
5 m_free_direct [function] [call site] 00275
5 m_free_direct [function] [call site] 00276
5 m_free_direct [function] [call site] 00277
5 m_free_direct [function] [call site] 00278
4 dropbear_log [function] [call site] 00279
3 m_free_direct [function] [call site] 00281
1 svr_pubkey_options_cleanup [function] [call site] 00282
1 m_free_direct [function] [call site] 00285
1 m_malloc_free_epoch [function] [call site] 00286
2 put_alloc [function] [call site] 00287
1 m_malloc_free_epoch [function] [call site] 00288