Debian Codegraph @

fuzz/functions.txt

raw
1 File '/libfido2/src/aes256.c':
2 Name Regions Miss Cover Lines Miss Cover
3 ------------------------------------------------------------------------------
4 aes128_cbc_dec 7 2 71.43% 16 6 62.50%
5 aes256_cbc_enc 4 0 100.00% 4 0 100.00%
6 aes256_cbc_dec 4 0 100.00% 4 0 100.00%
7 aes256_gcm_enc 1 0 100.00% 3 0 100.00%
8 aes256_gcm_dec 1 0 100.00% 3 0 100.00%
9 aes256.c:aes_cbc 34 0 100.00% 32 0 100.00%
10 aes256.c:aes_cbc_cipher 5 2 60.00% 9 1 88.89%
11 aes256.c:aes256_cbc_fips 29 1 96.55% 42 4 90.48%
12 aes256.c:aes256_cbc 4 1 75.00% 7 3 57.14%
13 aes256.c:aes256_cbc_proto1 1 0 100.00% 5 0 100.00%
14 aes256.c:aes256_gcm 73 3 95.89% 64 10 84.38%
15 ------------------------------------------------------------------------------
16 TOTAL 163 9 94.48% 189 24 87.30%
17
18 File '/libfido2/src/assert.c':
19 Name Regions Miss Cover Lines Miss Cover
20 ---------------------------------------------------------------------------------------
21 fido_dev_get_assert 41 0 100.00% 32 0 100.00%
22 fido_check_flags 13 0 100.00% 15 0 100.00%
23 fido_get_signed_hash 27 1 96.30% 34 3 91.18%
24 fido_assert_verify 59 4 93.22% 70 7 90.00%
25 fido_assert_set_clientdata 12 12 0.00% 11 11 0.00%
26 fido_assert_set_clientdata_hash 8 0 100.00% 6 0 100.00%
27 fido_assert_set_hmac_salt 10 0 100.00% 6 0 100.00%
28 fido_assert_set_hmac_secret 12 12 0.00% 7 7 0.00%
29 fido_assert_set_rp 16 0 100.00% 11 0 100.00%
30 fido_assert_set_winhello_appid 2 2 0.00% 5 5 0.00%
31 fido_assert_allow_cred 16 2 87.50% 22 3 86.36%
32 fido_assert_empty_allow_list 2 0 100.00% 5 0 100.00%
33 fido_assert_set_extensions 15 0 100.00% 10 0 100.00%
34 fido_assert_set_options 8 8 0.00% 5 5 0.00%
35 fido_assert_set_up 2 0 100.00% 4 0 100.00%
36 fido_assert_set_uv 2 0 100.00% 4 0 100.00%
37 fido_assert_clientdata_hash_ptr 1 0 100.00% 3 0 100.00%
38 fido_assert_clientdata_hash_len 1 0 100.00% 3 0 100.00%
39 fido_assert_new 1 0 100.00% 3 0 100.00%
40 fido_assert_reset_tx 3 0 100.00% 12 0 100.00%
41 fido_assert_reset_rx 5 0 100.00% 19 0 100.00%
42 fido_assert_free 10 0 100.00% 8 0 100.00%
43 fido_assert_count 1 0 100.00% 3 0 100.00%
44 fido_assert_rp_id 1 0 100.00% 3 0 100.00%
45 fido_assert_flags 4 0 100.00% 5 0 100.00%
46 fido_assert_sigcount 4 0 100.00% 5 0 100.00%
47 fido_assert_authdata_ptr 5 0 100.00% 5 0 100.00%
48 fido_assert_authdata_len 4 0 100.00% 5 0 100.00%
49 fido_assert_authdata_raw_ptr 5 0 100.00% 5 0 100.00%
50 fido_assert_authdata_raw_len 4 0 100.00% 5 0 100.00%
51 fido_assert_sig_ptr 5 0 100.00% 5 0 100.00%
52 fido_assert_sig_len 4 0 100.00% 5 0 100.00%
53 fido_assert_id_ptr 5 0 100.00% 5 0 100.00%
54 fido_assert_id_len 4 0 100.00% 5 0 100.00%
55 fido_assert_user_id_ptr 5 0 100.00% 5 0 100.00%
56 fido_assert_user_id_len 4 0 100.00% 5 0 100.00%
57 fido_assert_user_icon 5 0 100.00% 5 0 100.00%
58 fido_assert_user_name 5 0 100.00% 5 0 100.00%
59 fido_assert_user_display_name 5 0 100.00% 5 0 100.00%
60 fido_assert_hmac_secret_ptr 5 0 100.00% 5 0 100.00%
61 fido_assert_hmac_secret_len 4 0 100.00% 5 0 100.00%
62 fido_assert_largeblob_key_ptr 5 0 100.00% 5 0 100.00%
63 fido_assert_largeblob_key_len 4 0 100.00% 5 0 100.00%
64 fido_assert_blob_ptr 5 0 100.00% 5 0 100.00%
65 fido_assert_blob_len 4 0 100.00% 5 0 100.00%
66 fido_assert_set_authdata 34 0 100.00% 33 0 100.00%
67 fido_assert_set_authdata_raw 34 4 88.24% 32 8 75.00%
68 fido_assert_set_sig 16 0 100.00% 7 0 100.00%
69 fido_assert_set_count 12 0 100.00% 17 0 100.00%
70 assert.c:need_ecdh 18 0 100.00% 10 0 100.00%
71 assert.c:fido_dev_get_assert_wait 21 0 100.00% 14 0 100.00%
72 assert.c:fido_dev_get_assert_tx 71 2 97.18% 62 5 91.94%
73 assert.c:fido_dev_get_assert_rx 29 0 100.00% 36 0 100.00%
74 assert.c:adjust_assert_count 28 0 100.00% 26 0 100.00%
75 assert.c:parse_assert_reply 17 0 100.00% 28 0 100.00%
76 assert.c:fido_get_next_assert_tx 8 0 100.00% 8 0 100.00%
77 assert.c:fido_get_next_assert_rx 24 2 91.67% 29 5 82.76%
78 assert.c:decrypt_hmac_secrets 10 0 100.00% 15 0 100.00%
79 assert.c:get_es256_hash 26 0 100.00% 17 0 100.00%
80 assert.c:get_es384_hash 26 0 100.00% 17 0 100.00%
81 assert.c:get_eddsa_hash 8 0 100.00% 9 0 100.00%
82 assert.c:check_extensions 5 0 100.00% 9 0 100.00%
83 assert.c:fido_assert_reset_extattr 1 0 100.00% 5 0 100.00%
84 assert.c:fido_assert_clean_authdata 1 0 100.00% 6 0 100.00%
85 ---------------------------------------------------------------------------------------
86 TOTAL 752 49 93.48% 786 59 92.49%
87
88 File '/libfido2/src/authkey.c':
89 Name Regions Miss Cover Lines Miss Cover
90 ---------------------------------------------------------------------------------------
91 fido_dev_authkey 1 0 100.00% 3 0 100.00%
92 authkey.c:fido_dev_authkey_wait 10 0 100.00% 7 0 100.00%
93 authkey.c:fido_dev_authkey_tx 22 0 100.00% 25 0 100.00%
94 authkey.c:fido_dev_authkey_rx 15 0 100.00% 21 0 100.00%
95 authkey.c:parse_authkey 10 0 100.00% 10 0 100.00%
96 ---------------------------------------------------------------------------------------
97 TOTAL 58 0 100.00% 66 0 100.00%
98
99 File '/libfido2/src/bio.c':
100 Name Regions Miss Cover Lines Miss Cover
101 ---------------------------------------------------------------------------------------
102 fido_bio_dev_get_template_array 10 0 100.00% 6 0 100.00%
103 fido_bio_dev_set_template_name 13 0 100.00% 6 0 100.00%
104 fido_bio_dev_enroll_begin 20 0 100.00% 15 0 100.00%
105 fido_bio_dev_enroll_continue 5 2 60.00% 6 1 83.33%
106 fido_bio_dev_enroll_cancel 1 1 0.00% 4 4 0.00%
107 fido_bio_dev_enroll_remove 1 0 100.00% 4 0 100.00%
108 fido_bio_dev_get_info 1 0 100.00% 4 0 100.00%
109 fido_bio_template_name 1 0 100.00% 3 0 100.00%
110 fido_bio_template_id_ptr 1 0 100.00% 3 0 100.00%
111 fido_bio_template_id_len 1 0 100.00% 3 0 100.00%
112 fido_bio_template_array_count 1 0 100.00% 3 0 100.00%
113 fido_bio_template_array_new 1 0 100.00% 3 0 100.00%
114 fido_bio_template_new 1 0 100.00% 3 0 100.00%
115 fido_bio_template_array_free 10 0 100.00% 7 0 100.00%
116 fido_bio_template_free 10 0 100.00% 7 0 100.00%
117 fido_bio_template_set_name 10 0 100.00% 7 0 100.00%
118 fido_bio_template_set_id 8 0 100.00% 6 0 100.00%
119 fido_bio_template 5 0 100.00% 5 0 100.00%
120 fido_bio_enroll_new 1 0 100.00% 3 0 100.00%
121 fido_bio_info_new 1 0 100.00% 3 0 100.00%
122 fido_bio_info_type 1 0 100.00% 3 0 100.00%
123 fido_bio_info_max_samples 1 0 100.00% 3 0 100.00%
124 fido_bio_enroll_free 10 0 100.00% 7 0 100.00%
125 fido_bio_info_free 10 0 100.00% 6 0 100.00%
126 fido_bio_enroll_remaining_samples 1 0 100.00% 3 0 100.00%
127 fido_bio_enroll_last_status 1 0 100.00% 3 0 100.00%
128 bio.c:bio_get_template_array_wait 12 0 100.00% 7 0 100.00%
129 bio.c:bio_tx 43 0 100.00% 48 0 100.00%
130 bio.c:bio_get_cmd 8 0 100.00% 5 0 100.00%
131 bio.c:bio_prepare_hmac 26 0 100.00% 29 0 100.00%
132 bio.c:bio_rx_template_array 20 0 100.00% 24 0 100.00%
133 bio.c:bio_parse_template_array 34 2 94.12% 27 5 81.48%
134 bio.c:decode_template_array 15 1 93.33% 18 3 83.33%
135 bio.c:decode_template 11 0 100.00% 15 0 100.00%
136 bio.c:bio_set_template_name_wait 22 0 100.00% 20 0 100.00%
137 bio.c:bio_get_uv_token 11 0 100.00% 15 0 100.00%
138 bio.c:bio_enroll_begin_wait 19 0 100.00% 19 0 100.00%
139 bio.c:bio_rx_enroll_begin 24 0 100.00% 31 0 100.00%
140 bio.c:bio_parse_enroll_status 24 0 100.00% 28 0 100.00%
141 bio.c:bio_parse_template_id 10 0 100.00% 10 0 100.00%
142 bio.c:bio_enroll_continue_wait 23 0 100.00% 20 0 100.00%
143 bio.c:bio_rx_enroll_continue 20 0 100.00% 25 0 100.00%
144 bio.c:bio_enroll_cancel_wait 14 14 0.00% 10 10 0.00%
145 bio.c:bio_enroll_remove_wait 18 0 100.00% 20 0 100.00%
146 bio.c:bio_get_info_wait 14 0 100.00% 10 0 100.00%
147 bio.c:bio_rx_info 20 0 100.00% 24 0 100.00%
148 bio.c:bio_reset_info 1 0 100.00% 4 0 100.00%
149 bio.c:bio_parse_info 24 0 100.00% 28 0 100.00%
150 bio.c:bio_reset_template_array 5 0 100.00% 6 0 100.00%
151 bio.c:bio_reset_template 2 0 100.00% 4 0 100.00%
152 bio.c:bio_reset_enroll 1 0 100.00% 5 0 100.00%
153 ---------------------------------------------------------------------------------------
154 TOTAL 547 20 96.34% 578 23 96.02%
155
156 File '/libfido2/src/blob.c':
157 Name Regions Miss Cover Lines Miss Cover
158 ---------------------------------------------------------------------------------------
159 fido_blob_new 1 0 100.00% 3 0 100.00%
160 fido_blob_reset 1 0 100.00% 4 0 100.00%
161 fido_blob_set 12 0 100.00% 15 0 100.00%
162 fido_blob_append 17 1 94.12% 20 3 85.00%
163 fido_blob_free 10 0 100.00% 7 0 100.00%
164 fido_free_blob_array 10 0 100.00% 11 0 100.00%
165 fido_blob_encode 10 0 100.00% 5 0 100.00%
166 fido_blob_decode 1 0 100.00% 3 0 100.00%
167 fido_blob_is_empty 5 0 100.00% 3 0 100.00%
168 fido_blob_serialise 8 1 87.50% 10 1 90.00%
169 ---------------------------------------------------------------------------------------
170 TOTAL 75 2 97.33% 81 4 95.06%
171
172 File '/libfido2/src/buf.c':
173 Name Regions Miss Cover Lines Miss Cover
174 ---------------------------------------------------------------------------------------
175 fido_buf_read 4 0 100.00% 8 0 100.00%
176 fido_buf_write 4 0 100.00% 8 0 100.00%
177 ---------------------------------------------------------------------------------------
178 TOTAL 8 0 100.00% 16 0 100.00%
179
180 File '/libfido2/src/cbor.c':
181 Name Regions Miss Cover Lines Miss Cover
182 ----------------------------------------------------------------------------------------
183 cbor_map_iter 24 1 95.83% 26 4 84.62%
184 cbor_array_iter 15 0 100.00% 16 0 100.00%
185 cbor_parse_reply 33 0 100.00% 36 0 100.00%
186 cbor_vector_free 7 0 100.00% 5 0 100.00%
187 cbor_bytestring_copy 20 1 95.00% 18 3 83.33%
188 cbor_string_copy 23 0 100.00% 18 0 100.00%
189 cbor_add_bytestring 17 0 100.00% 21 0 100.00%
190 cbor_add_string 17 0 100.00% 21 0 100.00%
191 cbor_add_bool 17 0 100.00% 21 0 100.00%
192 cbor_flatten_vector 19 2 89.47% 16 1 93.75%
193 cbor_build_frame 22 0 100.00% 25 0 100.00%
194 cbor_encode_rp_entity 17 0 100.00% 11 0 100.00%
195 cbor_encode_user_entity 25 0 100.00% 15 0 100.00%
196 cbor_encode_pubkey_param 55 0 100.00% 39 0 100.00%
197 cbor_encode_pubkey 14 0 100.00% 11 0 100.00%
198 cbor_encode_pubkey_list 27 0 100.00% 18 0 100.00%
199 cbor_encode_str_array 27 0 100.00% 18 0 100.00%
200 cbor_encode_cred_ext 85 0 100.00% 68 0 100.00%
201 cbor_encode_cred_opt 17 0 100.00% 11 0 100.00%
202 cbor_encode_assert_opt 17 0 100.00% 11 0 100.00%
203 cbor_encode_pin_auth 29 2 93.10% 22 3 86.36%
204 cbor_encode_pin_opt 5 0 100.00% 8 0 100.00%
205 cbor_encode_change_pin_auth 42 1 97.62% 36 3 91.67%
206 cbor_encode_assert_ext 49 0 100.00% 40 0 100.00%
207 cbor_decode_fmt 14 0 100.00% 15 0 100.00%
208 cbor_decode_pubkey 26 1 96.15% 36 2 94.44%
209 cbor_decode_attobj 12 0 100.00% 9 0 100.00%
210 cbor_decode_cred_authdata 40 1 97.50% 35 3 91.43%
211 cbor_decode_assert_authdata 28 1 96.43% 32 3 90.62%
212 cbor_decode_attstmt 19 0 100.00% 16 0 100.00%
213 cbor_decode_uint64 5 0 100.00% 8 0 100.00%
214 cbor_decode_cred_id 12 0 100.00% 9 0 100.00%
215 cbor_decode_user 12 0 100.00% 9 0 100.00%
216 cbor_decode_rp_entity 12 0 100.00% 9 0 100.00%
217 cbor_decode_bool 14 0 100.00% 11 0 100.00%
218 cbor_build_uint 13 1 92.31% 9 1 88.89%
219 cbor_array_append 24 0 100.00% 21 0 100.00%
220 cbor_array_drop 21 0 100.00% 17 0 100.00%
221 cbor.c:ctap_check_cbor 28 0 100.00% 26 0 100.00%
222 cbor.c:check_key_type 8 0 100.00% 7 0 100.00%
223 cbor.c:cbor_add_arg 15 0 100.00% 21 0 100.00%
224 cbor.c:cbor_add_uint8 17 0 100.00% 21 0 100.00%
225 cbor.c:cbor_encode_largeblob_key_ext 8 0 100.00% 6 0 100.00%
226 cbor.c:cbor_encode_hmac_secret_param 81 4 95.06% 66 8 87.88%
227 cbor.c:get_cose_alg 50 0 100.00% 45 0 100.00%
228 cbor.c:find_cose_alg 51 0 100.00% 33 0 100.00%
229 cbor.c:decode_attobj 24 0 100.00% 37 0 100.00%
230 cbor.c:decode_attcred 30 0 100.00% 44 0 100.00%
231 cbor.c:decode_cred_extensions 21 0 100.00% 24 0 100.00%
232 cbor.c:decode_cred_extension 55 10 81.82% 51 10 80.39%
233 cbor.c:decode_assert_extensions 21 0 100.00% 23 0 100.00%
234 cbor.c:decode_assert_extension 30 8 73.33% 34 7 79.41%
235 cbor.c:decode_attstmt_entry 56 0 100.00% 49 0 100.00%
236 cbor.c:decode_x5c_array 12 1 91.67% 12 3 75.00%
237 cbor.c:decode_x5c 14 1 92.86% 22 3 86.36%
238 cbor.c:decode_cred_id_entry 11 0 100.00% 19 0 100.00%
239 cbor.c:decode_user_entry 26 0 100.00% 35 0 100.00%
240 cbor.c:decode_rp_entity_entry 16 0 100.00% 25 0 100.00%
241 ----------------------------------------------------------------------------------------
242 TOTAL 1449 35 97.58% 1367 54 96.05%
243
244 File '/libfido2/src/compress.c':
245 Name Regions Miss Cover Lines Miss Cover
246 ----------------------------------------------------------------------------------------
247 fido_compress 1 0 100.00% 3 0 100.00%
248 fido_uncompress 6 0 100.00% 5 0 100.00%
249 compress.c:rfc1951_deflate 42 4 90.48% 47 6 87.23%
250 compress.c:rfc1950_inflate 42 4 90.48% 22 5 77.27%
251 compress.c:rfc1951_inflate 49 10 79.59% 45 18 60.00%
252 ----------------------------------------------------------------------------------------
253 TOTAL 140 18 87.14% 122 29 76.23%
254
255 File '/libfido2/src/config.c':
256 Name Regions Miss Cover Lines Miss Cover
257 -----------------------------------------------------------------------------------------
258 fido_dev_enable_entattest 1 0 100.00% 4 0 100.00%
259 fido_dev_toggle_always_uv 1 0 100.00% 4 0 100.00%
260 fido_dev_set_pin_minlen 3 0 100.00% 4 0 100.00%
261 fido_dev_force_pin_change 3 0 100.00% 4 0 100.00%
262 fido_dev_set_pin_minlen_rpid 7 0 100.00% 15 0 100.00%
263 config.c:config_enable_entattest_wait 7 0 100.00% 7 0 100.00%
264 config.c:config_tx 54 0 100.00% 50 0 100.00%
265 config.c:config_prepare_hmac 12 0 100.00% 21 0 100.00%
266 config.c:config_toggle_always_uv_wait 7 0 100.00% 7 0 100.00%
267 config.c:config_pin_minlen 5 0 100.00% 7 0 100.00%
268 config.c:config_pin_minlen_tx 45 0 100.00% 32 0 100.00%
269 -----------------------------------------------------------------------------------------
270 TOTAL 145 0 100.00% 155 0 100.00%
271
272 File '/libfido2/src/cred.c':
273 Name Regions Miss Cover Lines Miss Cover
274 -----------------------------------------------------------------------------------------
275 fido_dev_make_cred 42 4 90.48% 35 6 82.86%
276 fido_check_rp_id 5 0 100.00% 10 0 100.00%
277 fido_cred_verify 72 0 100.00% 75 0 100.00%
278 fido_cred_verify_self 73 6 91.78% 87 11 87.36%
279 fido_cred_new 1 0 100.00% 3 0 100.00%
280 fido_cred_reset_tx 1 0 100.00% 20 0 100.00%
281 fido_cred_reset_rx 2 0 100.00% 5 0 100.00%
282 fido_cred_free 10 0 100.00% 8 0 100.00%
283 fido_cred_set_authdata 28 0 100.00% 28 0 100.00%
284 fido_cred_set_authdata_raw 30 2 93.33% 29 4 86.21%
285 fido_cred_set_id 6 0 100.00% 5 0 100.00%
286 fido_cred_set_x509 18 2 88.89% 21 3 85.71%
287 fido_cred_set_sig 6 0 100.00% 5 0 100.00%
288 fido_cred_set_attstmt 25 0 100.00% 23 0 100.00%
289 fido_cred_set_attobj 22 0 100.00% 21 0 100.00%
290 fido_cred_exclude 17 2 88.24% 19 3 84.21%
291 fido_cred_empty_exclude_list 2 0 100.00% 5 0 100.00%
292 fido_cred_set_clientdata 12 12 0.00% 11 11 0.00%
293 fido_cred_set_clientdata_hash 8 0 100.00% 6 0 100.00%
294 fido_cred_set_rp 30 0 100.00% 22 0 100.00%
295 fido_cred_set_user 55 0 100.00% 41 0 100.00%
296 fido_cred_set_hmac_salt 10 0 100.00% 6 0 100.00%
297 fido_cred_set_hmac_secret 10 10 0.00% 6 6 0.00%
298 fido_cred_hmac_secret_ptr 1 0 100.00% 3 0 100.00%
299 fido_cred_hmac_secret_len 1 0 100.00% 3 0 100.00%
300 fido_cred_set_extensions 18 0 100.00% 10 0 100.00%
301 fido_cred_set_options 8 8 0.00% 5 5 0.00%
302 fido_cred_set_rk 2 0 100.00% 4 0 100.00%
303 fido_cred_set_uv 2 0 100.00% 4 0 100.00%
304 fido_cred_set_entattest 13 0 100.00% 7 0 100.00%
305 fido_cred_set_prot 21 0 100.00% 14 0 100.00%
306 fido_cred_set_pin_minlen 7 0 100.00% 8 0 100.00%
307 fido_cred_set_blob 15 0 100.00% 8 0 100.00%
308 fido_cred_set_fmt 23 4 82.61% 12 2 83.33%
309 fido_cred_set_type 23 2 91.30% 9 1 88.89%
310 fido_cred_type 1 0 100.00% 3 0 100.00%
311 fido_cred_flags 1 0 100.00% 3 0 100.00%
312 fido_cred_sigcount 1 0 100.00% 3 0 100.00%
313 fido_cred_clientdata_hash_ptr 1 0 100.00% 3 0 100.00%
314 fido_cred_clientdata_hash_len 1 0 100.00% 3 0 100.00%
315 fido_cred_x5c_ptr 1 0 100.00% 3 0 100.00%
316 fido_cred_x5c_len 1 0 100.00% 3 0 100.00%
317 fido_cred_x5c_list_count 1 0 100.00% 3 0 100.00%
318 fido_cred_x5c_list_ptr 5 0 100.00% 5 0 100.00%
319 fido_cred_x5c_list_len 4 0 100.00% 5 0 100.00%
320 fido_cred_sig_ptr 1 0 100.00% 3 0 100.00%
321 fido_cred_sig_len 1 0 100.00% 3 0 100.00%
322 fido_cred_authdata_ptr 1 0 100.00% 3 0 100.00%
323 fido_cred_authdata_len 1 0 100.00% 3 0 100.00%
324 fido_cred_authdata_raw_ptr 1 0 100.00% 3 0 100.00%
325 fido_cred_authdata_raw_len 1 0 100.00% 3 0 100.00%
326 fido_cred_attstmt_ptr 1 0 100.00% 3 0 100.00%
327 fido_cred_attstmt_len 1 0 100.00% 3 0 100.00%
328 fido_cred_pubkey_ptr 12 0 100.00% 21 0 100.00%
329 fido_cred_pubkey_len 11 0 100.00% 21 0 100.00%
330 fido_cred_id_ptr 1 0 100.00% 3 0 100.00%
331 fido_cred_id_len 1 0 100.00% 3 0 100.00%
332 fido_cred_aaguid_ptr 1 0 100.00% 3 0 100.00%
333 fido_cred_aaguid_len 1 0 100.00% 3 0 100.00%
334 fido_cred_prot 1 0 100.00% 3 0 100.00%
335 fido_cred_pin_minlen 1 0 100.00% 3 0 100.00%
336 fido_cred_fmt 1 0 100.00% 3 0 100.00%
337 fido_cred_rp_id 1 0 100.00% 3 0 100.00%
338 fido_cred_rp_name 1 0 100.00% 3 0 100.00%
339 fido_cred_user_name 1 0 100.00% 3 0 100.00%
340 fido_cred_display_name 1 0 100.00% 3 0 100.00%
341 fido_cred_user_id_ptr 1 0 100.00% 3 0 100.00%
342 fido_cred_user_id_len 1 0 100.00% 3 0 100.00%
343 fido_cred_largeblob_key_ptr 1 0 100.00% 3 0 100.00%
344 fido_cred_largeblob_key_len 1 0 100.00% 3 0 100.00%
345 fido_cred_entattest 1 0 100.00% 3 0 100.00%
346 fido_cred_payment 2 0 100.00% 3 0 100.00%
347 cred.c:need_ecdh 18 0 100.00% 9 0 100.00%
348 cred.c:fido_dev_make_cred_wait 10 0 100.00% 7 0 100.00%
349 cred.c:fido_dev_make_cred_tx 77 0 100.00% 64 0 100.00%
350 cred.c:fido_dev_make_cred_rx 32 0 100.00% 32 0 100.00%
351 cred.c:parse_makecred_reply 17 1 94.12% 29 2 93.10%
352 cred.c:decrypt_hmac_secret 1 1 0.00% 4 4 0.00%
353 cred.c:check_extensions 3 0 100.00% 6 0 100.00%
354 cred.c:get_signed_hash_u2f 38 0 100.00% 27 0 100.00%
355 cred.c:verify_attstmt 38 5 86.84% 48 13 72.92%
356 cred.c:fido_cred_clean_attobj 2 0 100.00% 5 0 100.00%
357 cred.c:fido_cred_clean_authdata 1 0 100.00% 9 0 100.00%
358 cred.c:fido_cred_clean_attstmt 1 0 100.00% 8 0 100.00%
359 -----------------------------------------------------------------------------------------
360 TOTAL 923 59 93.61% 977 71 92.73%
361
362 File '/libfido2/src/credman.c':
363 Name Regions Miss Cover Lines Miss Cover
364 -----------------------------------------------------------------------------------------
365 fido_credman_get_dev_metadata 1 0 100.00% 4 0 100.00%
366 fido_credman_get_dev_rk 1 0 100.00% 4 0 100.00%
367 fido_credman_del_dev_rk 1 0 100.00% 4 0 100.00%
368 fido_credman_get_dev_rp 1 0 100.00% 4 0 100.00%
369 fido_credman_set_dev_rk 1 0 100.00% 4 0 100.00%
370 fido_credman_rk_new 1 0 100.00% 3 0 100.00%
371 fido_credman_rk_free 10 1 90.00% 7 1 85.71%
372 fido_credman_rk_count 1 0 100.00% 3 0 100.00%
373 fido_credman_rk 5 0 100.00% 5 0 100.00%
374 fido_credman_metadata_new 1 0 100.00% 3 0 100.00%
375 fido_credman_metadata_free 10 1 90.00% 6 1 83.33%
376 fido_credman_rk_existing 1 0 100.00% 3 0 100.00%
377 fido_credman_rk_remaining 1 0 100.00% 3 0 100.00%
378 fido_credman_rp_new 1 0 100.00% 3 0 100.00%
379 fido_credman_rp_free 10 1 90.00% 7 1 85.71%
380 fido_credman_rp_count 1 0 100.00% 3 0 100.00%
381 fido_credman_rp_id 5 0 100.00% 5 0 100.00%
382 fido_credman_rp_name 5 0 100.00% 5 0 100.00%
383 fido_credman_rp_id_hash_len 4 0 100.00% 5 0 100.00%
384 fido_credman_rp_id_hash_ptr 5 0 100.00% 5 0 100.00%
385 credman.c:credman_get_metadata_wait 13 0 100.00% 8 0 100.00%
386 credman.c:credman_tx 48 0 100.00% 53 0 100.00%
387 credman.c:credman_get_cmd 7 0 100.00% 5 0 100.00%
388 credman.c:credman_prepare_hmac 38 1 97.37% 50 2 96.00%
389 credman.c:credman_rx_metadata 20 0 100.00% 24 0 100.00%
390 credman.c:credman_parse_metadata 11 0 100.00% 17 0 100.00%
391 credman.c:credman_get_rk_wait 30 0 100.00% 23 0 100.00%
392 credman.c:credman_rx_rk 28 0 100.00% 35 0 100.00%
393 credman.c:credman_parse_rk_count 20 1 95.00% 20 3 85.00%
394 credman.c:credman_grow_array 19 2 89.47% 21 5 76.19%
395 credman.c:credman_parse_rk 35 4 88.57% 37 3 91.89%
396 credman.c:credman_rx_next_rk 24 2 91.67% 29 5 82.76%
397 credman.c:credman_del_rk_wait 17 0 100.00% 15 0 100.00%
398 credman.c:credman_get_rp_wait 28 0 100.00% 15 0 100.00%
399 credman.c:credman_rx_rp 28 0 100.00% 35 0 100.00%
400 credman.c:credman_parse_rp_count 20 0 100.00% 20 0 100.00%
401 credman.c:credman_parse_rp 11 0 100.00% 17 0 100.00%
402 credman.c:credman_rx_next_rp 24 2 91.67% 29 5 82.76%
403 credman.c:credman_set_dev_rk_wait 12 0 100.00% 8 0 100.00%
404 credman.c:credman_reset_rk 5 0 100.00% 8 0 100.00%
405 credman.c:credman_reset_rp 7 0 100.00% 11 0 100.00%
406 -----------------------------------------------------------------------------------------
407 TOTAL 511 15 97.06% 566 26 95.41%
408
409 File '/libfido2/src/dev.c':
410 Name Regions Miss Cover Lines Miss Cover
411 -----------------------------------------------------------------------------------------
412 fido_dev_info_manifest 2 0 100.00% 11 0 100.00%
413 fido_dev_open_with_info 6 6 0.00% 6 6 0.00%
414 fido_dev_open 13 4 69.23% 16 6 62.50%
415 fido_dev_close 13 2 84.62% 8 1 87.50%
416 fido_dev_set_sigmask 23 23 0.00% 11 11 0.00%
417 fido_dev_cancel 13 0 100.00% 8 0 100.00%
418 fido_dev_set_io_functions 29 4 86.21% 14 6 57.14%
419 fido_dev_set_transport_functions 8 2 75.00% 9 3 66.67%
420 fido_dev_io_handle 1 1 0.00% 3 3 0.00%
421 fido_init 9 2 77.78% 5 0 100.00%
422 fido_dev_new 7 0 100.00% 14 0 100.00%
423 fido_dev_new_with_info 18 18 0.00% 16 16 0.00%
424 fido_dev_free 10 0 100.00% 8 0 100.00%
425 fido_dev_protocol 1 0 100.00% 3 0 100.00%
426 fido_dev_major 1 0 100.00% 3 0 100.00%
427 fido_dev_minor 1 0 100.00% 3 0 100.00%
428 fido_dev_build 1 0 100.00% 3 0 100.00%
429 fido_dev_flags 1 0 100.00% 3 0 100.00%
430 fido_dev_is_fido2 2 0 100.00% 3 0 100.00%
431 fido_dev_is_winhello 2 0 100.00% 3 0 100.00%
432 fido_dev_supports_pin 3 0 100.00% 3 0 100.00%
433 fido_dev_has_pin 2 0 100.00% 3 0 100.00%
434 fido_dev_supports_cred_prot 2 0 100.00% 3 0 100.00%
435 fido_dev_supports_credman 3 0 100.00% 3 0 100.00%
436 fido_dev_supports_uv 3 0 100.00% 3 0 100.00%
437 fido_dev_has_uv 2 0 100.00% 3 0 100.00%
438 fido_dev_supports_permissions 2 0 100.00% 3 0 100.00%
439 fido_dev_force_u2f 2 0 100.00% 4 0 100.00%
440 fido_dev_force_fido2 2 2 0.00% 3 3 0.00%
441 fido_dev_get_pin_protocol 11 0 100.00% 7 0 100.00%
442 fido_dev_maxmsgsize 1 0 100.00% 3 0 100.00%
443 fido_dev_set_timeout 6 2 66.67% 6 1 83.33%
444 fido_dev_puat_ptr 1 1 0.00% 3 3 0.00%
445 fido_dev_puat_len 1 1 0.00% 3 3 0.00%
446 fido_dev_puat_blob 4 0 100.00% 3 0 100.00%
447 fido_dev_set_puat 18 18 0.00% 11 11 0.00%
448 dev.c:run_manifest 10 0 100.00% 13 0 100.00%
449 dev.c:fido_dev_open_wait 10 0 100.00% 7 0 100.00%
450 dev.c:fido_dev_open_tx 62 11 82.26% 56 20 64.29%
451 dev.c:set_random_report_len 11 0 100.00% 6 0 100.00%
452 dev.c:fido_dev_open_rx 40 1 97.50% 53 1 98.11%
453 dev.c:fido_dev_set_flags 1 0 100.00% 5 0 100.00%
454 dev.c:fido_dev_set_extension_flags 7 0 100.00% 7 0 100.00%
455 dev.c:fido_dev_set_option_flags 42 0 100.00% 25 0 100.00%
456 dev.c:fido_dev_set_protocol_flags 11 0 100.00% 17 0 100.00%
457 -----------------------------------------------------------------------------------------
458 TOTAL 418 98 76.56% 403 94 76.67%
459
460 File '/libfido2/src/ecdh.c':
461 Name Regions Miss Cover Lines Miss Cover
462 -----------------------------------------------------------------------------------------
463 hkdf_sha256 39 1 97.44% 34 3 91.18%
464 fido_do_ecdh 38 0 100.00% 36 0 100.00%
465 ecdh.c:do_ecdh 57 0 100.00% 44 0 100.00%
466 ecdh.c:kdf 28 1 96.43% 28 2 92.86%
467 -----------------------------------------------------------------------------------------
468 TOTAL 162 2 98.77% 142 5 96.48%
469
470 File '/libfido2/src/eddsa.c':
471 Name Regions Miss Cover Lines Miss Cover
472 -----------------------------------------------------------------------------------------
473 eddsa_pk_decode 12 0 100.00% 9 0 100.00%
474 eddsa_pk_new 1 0 100.00% 3 0 100.00%
475 eddsa_pk_free 10 0 100.00% 6 0 100.00%
476 eddsa_pk_from_ptr 11 0 100.00% 12 0 100.00%
477 eddsa_pk_to_EVP_PKEY 8 0 100.00% 7 0 100.00%
478 eddsa_pk_from_EVP_PKEY 22 2 90.91% 12 1 91.67%
479 eddsa_verify_sig 30 2 93.33% 30 6 80.00%
480 eddsa_pk_verify_sig 9 1 88.89% 13 2 84.62%
481 eddsa.c:decode_pubkey_point 10 0 100.00% 11 0 100.00%
482 eddsa.c:decode_coord 12 0 100.00% 10 0 100.00%
483 -----------------------------------------------------------------------------------------
484 TOTAL 125 5 96.00% 113 9 92.04%
485
486 File '/libfido2/src/err.c':
487 Name Regions Miss Cover Lines Miss Cover
488 -----------------------------------------------------------------------------------------
489 fido_strerr 122 10 91.80% 126 10 92.06%
490 -----------------------------------------------------------------------------------------
491 TOTAL 122 10 91.80% 126 10 92.06%
492
493 File '/libfido2/src/es256.c':
494 Name Regions Miss Cover Lines Miss Cover
495 -----------------------------------------------------------------------------------------
496 es256_pk_decode 12 0 100.00% 9 0 100.00%
497 es256_pk_encode 80 0 100.00% 48 0 100.00%
498 es256_sk_new 1 0 100.00% 3 0 100.00%
499 es256_sk_free 10 0 100.00% 6 0 100.00%
500 es256_pk_new 1 0 100.00% 3 0 100.00%
501 es256_pk_free 10 0 100.00% 6 0 100.00%
502 es256_pk_from_ptr 16 0 100.00% 17 0 100.00%
503 es256_pk_set_x 1 0 100.00% 4 0 100.00%
504 es256_pk_set_y 1 0 100.00% 4 0 100.00%
505 es256_sk_create 60 0 100.00% 40 0 100.00%
506 es256_pk_to_EVP_PKEY 72 0 100.00% 53 0 100.00%
507 es256_pk_from_EC_KEY 58 2 96.55% 47 4 91.49%
508 es256_pk_from_EVP_PKEY 14 0 100.00% 7 0 100.00%
509 es256_sk_to_EVP_PKEY 48 0 100.00% 39 0 100.00%
510 es256_derive_pk 43 0 100.00% 29 0 100.00%
511 es256_verify_sig 19 1 94.74% 19 2 89.47%
512 es256_pk_verify_sig 9 1 88.89% 13 2 84.62%
513 es256.c:decode_pubkey_point 11 0 100.00% 13 0 100.00%
514 es256.c:decode_coord 12 0 100.00% 10 0 100.00%
515 -----------------------------------------------------------------------------------------
516 TOTAL 478 4 99.16% 370 8 97.84%
517
518 File '/libfido2/src/es384.c':
519 Name Regions Miss Cover Lines Miss Cover
520 -----------------------------------------------------------------------------------------
521 es384_pk_decode 12 0 100.00% 9 0 100.00%
522 es384_pk_new 1 0 100.00% 3 0 100.00%
523 es384_pk_free 10 0 100.00% 6 0 100.00%
524 es384_pk_from_ptr 16 0 100.00% 17 0 100.00%
525 es384_pk_to_EVP_PKEY 73 0 100.00% 53 0 100.00%
526 es384_pk_from_EC_KEY 59 2 96.61% 47 4 91.49%
527 es384_pk_from_EVP_PKEY 14 0 100.00% 7 0 100.00%
528 es384_verify_sig 19 2 89.47% 19 5 73.68%
529 es384_pk_verify_sig 9 1 88.89% 13 2 84.62%
530 es384.c:decode_pubkey_point 11 0 100.00% 13 0 100.00%
531 es384.c:decode_coord 12 0 100.00% 10 0 100.00%
532 -----------------------------------------------------------------------------------------
533 TOTAL 236 5 97.88% 197 11 94.42%
534
535 File '/libfido2/src/extern.h':
536 Name Regions Miss Cover Lines Miss Cover
537 -----------------------------------------------------------------------------------------
538
539 File '/libfido2/src/fallthrough.h':
540 Name Regions Miss Cover Lines Miss Cover
541 -----------------------------------------------------------------------------------------
542
543 File '/libfido2/src/fido.h':
544 Name Regions Miss Cover Lines Miss Cover
545 -----------------------------------------------------------------------------------------
546
547 File '/libfido2/src/hid.c':
548 Name Regions Miss Cover Lines Miss Cover
549 -----------------------------------------------------------------------------------------
550 fido_hid_get_usage 13 0 100.00% 22 0 100.00%
551 fido_hid_get_report_len 19 0 100.00% 27 0 100.00%
552 fido_dev_info_new 1 0 100.00% 3 0 100.00%
553 fido_dev_info_free 13 0 100.00% 8 0 100.00%
554 fido_dev_info_ptr 1 0 100.00% 3 0 100.00%
555 fido_dev_info_set 41 2 95.12% 30 3 90.00%
556 fido_dev_info_path 1 0 100.00% 3 0 100.00%
557 fido_dev_info_vendor 1 0 100.00% 3 0 100.00%
558 fido_dev_info_product 1 0 100.00% 3 0 100.00%
559 fido_dev_info_manufacturer_string 1 0 100.00% 3 0 100.00%
560 fido_dev_info_product_string 1 0 100.00% 3 0 100.00%
561 hid.c:get_key_len 6 0 100.00% 12 0 100.00%
562 hid.c:get_key_val 6 0 100.00% 18 0 100.00%
563 hid.c:fido_dev_info_reset 1 0 100.00% 6 0 100.00%
564 -----------------------------------------------------------------------------------------
565 TOTAL 106 2 98.11% 144 3 97.92%
566
567 File '/libfido2/src/hid_linux.c':
568 Name Regions Miss Cover Lines Miss Cover
569 -----------------------------------------------------------------------------------------
570 fido_hid_manifest 48 4 91.67% 41 2 95.12%
571 fido_hid_open 52 52 0.00% 51 51 0.00%
572 fido_hid_close 4 4 0.00% 6 6 0.00%
573 fido_hid_set_sigmask 2 2 0.00% 6 6 0.00%
574 fido_hid_read 16 16 0.00% 21 21 0.00%
575 fido_hid_write 13 13 0.00% 17 17 0.00%
576 fido_hid_report_in_len 1 1 0.00% 4 4 0.00%
577 fido_hid_report_out_len 1 1 0.00% 4 4 0.00%
578 hid_linux.c:copy_info 63 0 100.00% 53 0 100.00%
579 hid_linux.c:is_fido 19 2 89.47% 16 1 93.75%
580 hid_linux.c:get_parent_attr 10 0 100.00% 9 0 100.00%
581 hid_linux.c:parse_uevent 36 0 100.00% 29 0 100.00%
582 hid_linux.c:get_usb_attr 1 0 100.00% 3 0 100.00%
583 hid_linux.c:get_report_descriptor 17 1 94.12% 17 3 82.35%
584 -----------------------------------------------------------------------------------------
585 TOTAL 283 96 66.08% 277 115 58.48%
586
587 File '/libfido2/src/hid_unix.c':
588 Name Regions Miss Cover Lines Miss Cover
589 -----------------------------------------------------------------------------------------
590 fido_hid_unix_open 31 20 35.48% 22 14 36.36%
591 fido_hid_unix_wait 15 13 13.33% 21 12 42.86%
592 -----------------------------------------------------------------------------------------
593 TOTAL 46 33 28.26% 43 26 39.53%
594
595 File '/libfido2/src/info.c':
596 Name Regions Miss Cover Lines Miss Cover
597 -----------------------------------------------------------------------------------------
598 fido_dev_get_cbor_info_wait 10 0 100.00% 7 0 100.00%
599 fido_dev_get_cbor_info 1 0 100.00% 4 0 100.00%
600 fido_cbor_info_new 6 0 100.00% 7 0 100.00%
601 fido_cbor_info_reset 1 0 100.00% 20 0 100.00%
602 fido_cbor_info_free 10 0 100.00% 7 0 100.00%
603 fido_cbor_info_versions_ptr 1 0 100.00% 3 0 100.00%
604 fido_cbor_info_versions_len 1 0 100.00% 3 0 100.00%
605 fido_cbor_info_extensions_ptr 1 0 100.00% 3 0 100.00%
606 fido_cbor_info_extensions_len 1 0 100.00% 3 0 100.00%
607 fido_cbor_info_transports_ptr 1 0 100.00% 3 0 100.00%
608 fido_cbor_info_transports_len 1 0 100.00% 3 0 100.00%
609 fido_cbor_info_aaguid_ptr 1 0 100.00% 3 0 100.00%
610 fido_cbor_info_aaguid_len 1 0 100.00% 3 0 100.00%
611 fido_cbor_info_encid_ptr 1 0 100.00% 3 0 100.00%
612 fido_cbor_info_encid_len 1 0 100.00% 3 0 100.00%
613 fido_cbor_info_id_ptr 1 0 100.00% 3 0 100.00%
614 fido_cbor_info_id_len 1 0 100.00% 3 0 100.00%
615 fido_cbor_info_encstate_ptr 1 0 100.00% 3 0 100.00%
616 fido_cbor_info_encstate_len 1 0 100.00% 3 0 100.00%
617 fido_cbor_info_state_ptr 1 0 100.00% 3 0 100.00%
618 fido_cbor_info_state_len 1 0 100.00% 3 0 100.00%
619 fido_cbor_info_options_name_ptr 1 0 100.00% 3 0 100.00%
620 fido_cbor_info_options_value_ptr 1 0 100.00% 3 0 100.00%
621 fido_cbor_info_options_len 1 0 100.00% 3 0 100.00%
622 fido_cbor_info_maxcredbloblen 1 0 100.00% 3 0 100.00%
623 fido_cbor_info_maxmsgsiz 1 0 100.00% 3 0 100.00%
624 fido_cbor_info_maxcredcntlst 1 0 100.00% 3 0 100.00%
625 fido_cbor_info_maxcredidlen 1 0 100.00% 3 0 100.00%
626 fido_cbor_info_maxlargeblob 1 0 100.00% 3 0 100.00%
627 fido_cbor_info_fwversion 1 0 100.00% 3 0 100.00%
628 fido_cbor_info_minpinlen 1 0 100.00% 3 0 100.00%
629 fido_cbor_info_maxrpid_minpinlen 1 0 100.00% 3 0 100.00%
630 fido_cbor_info_uv_attempts 1 0 100.00% 3 0 100.00%
631 fido_cbor_info_uv_count_since_pin 1 0 100.00% 3 0 100.00%
632 fido_cbor_info_uv_modality 1 0 100.00% 3 0 100.00%
633 fido_cbor_info_rk_remaining 1 0 100.00% 3 0 100.00%
634 fido_cbor_info_protocols_ptr 1 0 100.00% 3 0 100.00%
635 fido_cbor_info_protocols_len 1 0 100.00% 3 0 100.00%
636 fido_cbor_info_algorithm_count 1 0 100.00% 3 0 100.00%
637 fido_cbor_info_algorithm_type 5 0 100.00% 5 0 100.00%
638 fido_cbor_info_algorithm_cose 4 0 100.00% 5 0 100.00%
639 fido_cbor_info_new_pin_required 1 0 100.00% 3 0 100.00%
640 fido_cbor_info_long_touch_reset 1 0 100.00% 3 0 100.00%
641 fido_cbor_info_certs_name_ptr 1 0 100.00% 3 0 100.00%
642 fido_cbor_info_certs_value_ptr 1 0 100.00% 3 0 100.00%
643 fido_cbor_info_certs_len 1 0 100.00% 3 0 100.00%
644 fido_cbor_info_attfmts_ptr 1 0 100.00% 3 0 100.00%
645 fido_cbor_info_attfmts_len 1 0 100.00% 3 0 100.00%
646 fido_cbor_info_reset_transports_ptr 1 0 100.00% 3 0 100.00%
647 fido_cbor_info_reset_transports_len 1 0 100.00% 3 0 100.00%
648 fido_cbor_info_pin_policy 1 0 100.00% 3 0 100.00%
649 fido_cbor_info_pin_policy_url_ptr 1 0 100.00% 3 0 100.00%
650 fido_cbor_info_pin_policy_url_len 1 0 100.00% 3 0 100.00%
651 fido_cbor_info_maxpinlen 1 0 100.00% 3 0 100.00%
652 fido_cbor_info_cfgcmds_ptr 1 0 100.00% 3 0 100.00%
653 fido_cbor_info_cfgcmds_len 1 0 100.00% 3 0 100.00%
654 fido_cbor_info_decrypt 19 0 100.00% 24 0 100.00%
655 info.c:fido_dev_get_cbor_info_tx 8 0 100.00% 9 0 100.00%
656 info.c:fido_dev_get_cbor_info_rx 15 0 100.00% 21 0 100.00%
657 info.c:parse_reply_element 55 0 100.00% 90 0 100.00%
658 info.c:decode_string_array 17 0 100.00% 17 0 100.00%
659 info.c:decode_string 4 0 100.00% 10 0 100.00%
660 info.c:decode_aaguid 12 0 100.00% 10 0 100.00%
661 info.c:decode_options 19 0 100.00% 15 0 100.00%
662 info.c:decode_option 8 0 100.00% 15 0 100.00%
663 info.c:decode_byte_array 17 0 100.00% 17 0 100.00%
664 info.c:decode_byte_array_item 8 0 100.00% 12 0 100.00%
665 info.c:decode_algorithms 17 0 100.00% 17 0 100.00%
666 info.c:decode_algorithm 12 0 100.00% 17 0 100.00%
667 info.c:decode_algorithm_entry 25 0 100.00% 27 0 100.00%
668 info.c:decode_certs 19 0 100.00% 15 0 100.00%
669 info.c:decode_cert 8 0 100.00% 15 0 100.00%
670 info.c:decrypt 10 0 100.00% 20 0 100.00%
671 -----------------------------------------------------------------------------------------
672 TOTAL 359 0 100.00% 553 0 100.00%
673
674 File '/libfido2/src/io.c':
675 Name Regions Miss Cover Lines Miss Cover
676 -----------------------------------------------------------------------------------------
677 fido_tx 20 0 100.00% 11 0 100.00%
678 fido_rx 19 1 94.74% 14 3 78.57%
679 fido_rx_cbor_status 17 0 100.00% 19 0 100.00%
680 io.c:transport_tx 7 0 100.00% 10 0 100.00%
681 io.c:tx_empty 9 0 100.00% 14 0 100.00%
682 io.c:tx_pkt 7 0 100.00% 10 0 100.00%
683 io.c:tx 13 0 100.00% 19 0 100.00%
684 io.c:tx_preamble 17 1 94.12% 20 1 95.00%
685 io.c:tx_frame 16 1 93.75% 18 1 94.44%
686 io.c:transport_rx 7 0 100.00% 10 0 100.00%
687 io.c:rx 40 2 95.00% 52 2 96.15%
688 io.c:rx_preamble 23 2 91.30% 22 5 77.27%
689 io.c:rx_frame 11 0 100.00% 11 0 100.00%
690 -----------------------------------------------------------------------------------------
691 TOTAL 206 7 96.60% 230 12 94.78%
692
693 File '/libfido2/src/iso7816.c':
694 Name Regions Miss Cover Lines Miss Cover
695 -----------------------------------------------------------------------------------------
696 iso7816_new 6 0 100.00% 16 0 100.00%
697 iso7816_free 10 0 100.00% 6 0 100.00%
698 iso7816_add 7 1 85.71% 8 1 87.50%
699 iso7816_ptr 1 0 100.00% 3 0 100.00%
700 iso7816_len 3 0 100.00% 3 0 100.00%
701 -----------------------------------------------------------------------------------------
702 TOTAL 27 1 96.30% 36 1 97.22%
703
704 File '/libfido2/src/largeblob.c':
705 Name Regions Miss Cover Lines Miss Cover
706 -----------------------------------------------------------------------------------------
707 fido_dev_largeblob_get 33 2 93.94% 38 4 89.47%
708 fido_dev_largeblob_set 32 2 93.75% 36 4 88.89%
709 fido_dev_largeblob_remove 12 0 100.00% 18 0 100.00%
710 fido_dev_largeblob_get_array 20 2 90.00% 27 4 85.19%
711 fido_dev_largeblob_set_array 18 2 88.89% 19 4 78.95%
712 largeblob.c:largeblob_get_array 36 0 100.00% 36 0 100.00%
713 largeblob.c:get_chunklen 14 3 78.57% 9 1 88.89%
714 largeblob.c:largeblob_get_tx 22 0 100.00% 24 0 100.00%
715 largeblob.c:largeblob_get_rx 29 0 100.00% 30 0 100.00%
716 largeblob.c:parse_largeblob_reply 10 0 100.00% 9 0 100.00%
717 largeblob.c:largeblob_array_check 7 0 100.00% 16 0 100.00%
718 largeblob.c:largeblob_array_digest 12 0 100.00% 9 0 100.00%
719 largeblob.c:largeblob_array_load 18 4 77.78% 19 7 63.16%
720 largeblob.c:largeblob_array_lookup 32 0 100.00% 33 0 100.00%
721 largeblob.c:largeblob_decode 16 2 87.50% 16 6 62.50%
722 largeblob.c:largeblob_do_decode 31 3 90.32% 30 7 76.67%
723 largeblob.c:largeblob_decrypt 20 0 100.00% 24 0 100.00%
724 largeblob.c:largeblob_aad 2 0 100.00% 10 0 100.00%
725 largeblob.c:largeblob_reset 1 0 100.00% 5 0 100.00%
726 largeblob.c:largeblob_encode 24 0 100.00% 21 0 100.00%
727 largeblob.c:largeblob_new 1 0 100.00% 3 0 100.00%
728 largeblob.c:largeblob_seal 25 0 100.00% 32 0 100.00%
729 largeblob.c:largeblob_get_nonce 8 1 87.50% 16 3 81.25%
730 largeblob.c:largeblob_free 10 0 100.00% 7 0 100.00%
731 largeblob.c:largeblob_add 30 2 93.33% 35 3 91.43%
732 largeblob.c:largeblob_drop 24 0 100.00% 27 0 100.00%
733 largeblob.c:largeblob_set_array 64 2 96.88% 65 4 93.85%
734 largeblob.c:largeblob_get_uv_token 18 0 100.00% 21 0 100.00%
735 largeblob.c:largeblob_set_tx 47 0 100.00% 36 0 100.00%
736 largeblob.c:prepare_hmac 17 2 88.24% 23 7 69.57%
737 -----------------------------------------------------------------------------------------
738 TOTAL 633 27 95.73% 694 54 92.22%
739
740 File '/libfido2/src/log.c':
741 Name Regions Miss Cover Lines Miss Cover
742 -----------------------------------------------------------------------------------------
743 fido_log_init 1 0 100.00% 4 0 100.00%
744 fido_log_debug 10 1 90.00% 7 1 85.71%
745 fido_log_xxd 19 1 94.74% 24 1 95.83%
746 fido_log_error 11 2 81.82% 10 2 80.00%
747 fido_set_log_handler 4 0 100.00% 4 0 100.00%
748 log.c:log_on_stderr 2 2 0.00% 2 2 0.00%
749 log.c:do_log 5 0 100.00% 9 0 100.00%
750 -----------------------------------------------------------------------------------------
751 TOTAL 52 6 88.46% 60 6 90.00%
752
753 File '/libfido2/src/netlink.c':
754 Name Regions Miss Cover Lines Miss Cover
755 -----------------------------------------------------------------------------------------
756 fido_nl_power_nfc 24 0 100.00% 24 0 100.00%
757 fido_nl_get_nfc_target 17 0 100.00% 31 0 100.00%
758 fido_nl_free 15 3 80.00% 8 2 75.00%
759 fido_nl_new 27 2 92.59% 26 3 88.46%
760 set_netlink_io_functions 1 0 100.00% 4 0 100.00%
761 netlink.c:nlmsg_new 19 0 100.00% 15 0 100.00%
762 netlink.c:nlmsg_set_genl 2 0 100.00% 7 0 100.00%
763 netlink.c:nlmsg_write 7 1 85.71% 7 1 85.71%
764 netlink.c:nlmsg_set_u32 1 0 100.00% 3 0 100.00%
765 netlink.c:nlmsg_setattr 20 1 95.00% 17 0 100.00%
766 netlink.c:nlmsg_tx 11 1 90.91% 13 3 76.92%
767 netlink.c:nlmsg_ptr 1 0 100.00% 3 0 100.00%
768 netlink.c:nlmsg_len 1 0 100.00% 3 0 100.00%
769 netlink.c:nlmsg_rx 16 2 87.50% 17 6 64.71%
770 netlink.c:nl_parse_reply 24 0 100.00% 28 0 100.00%
771 netlink.c:nlmsg_from_buf 23 0 100.00% 17 0 100.00%
772 netlink.c:nlmsg_type 1 0 100.00% 3 0 100.00%
773 netlink.c:nlmsg_get_status 9 0 100.00% 8 0 100.00%
774 netlink.c:nlmsg_read 6 0 100.00% 7 0 100.00%
775 netlink.c:nlmsg_get_genl 6 0 100.00% 7 0 100.00%
776 netlink.c:nlmsg_iter 7 0 100.00% 13 0 100.00%
777 netlink.c:nlmsg_getattr 1 0 100.00% 3 0 100.00%
778 netlink.c:nla_from_buf 27 0 100.00% 21 0 100.00%
779 netlink.c:nl_nfc_poll 25 0 100.00% 25 0 100.00%
780 netlink.c:parse_nfc_event 10 0 100.00% 17 0 100.00%
781 netlink.c:nla_type 1 0 100.00% 3 0 100.00%
782 netlink.c:nla_get_u32 1 0 100.00% 3 0 100.00%
783 netlink.c:nla_read 6 0 100.00% 7 0 100.00%
784 netlink.c:nl_dump_nfc_target 24 0 100.00% 31 0 100.00%
785 netlink.c:parse_target 9 0 100.00% 13 0 100.00%
786 netlink.c:nl_get_nfc_family 32 0 100.00% 33 0 100.00%
787 netlink.c:nlmsg_set_u16 1 0 100.00% 3 0 100.00%
788 netlink.c:nlmsg_set_str 1 0 100.00% 3 0 100.00%
789 netlink.c:parse_family 10 0 100.00% 17 0 100.00%
790 netlink.c:nla_get_u16 1 0 100.00% 3 0 100.00%
791 netlink.c:nla_iter 7 0 100.00% 13 0 100.00%
792 netlink.c:nla_getattr 1 0 100.00% 3 0 100.00%
793 netlink.c:parse_mcastgrps 1 0 100.00% 3 0 100.00%
794 netlink.c:parse_mcastgrp 18 0 100.00% 24 0 100.00%
795 netlink.c:nla_get_str 14 0 100.00% 11 0 100.00%
796 -----------------------------------------------------------------------------------------
797 TOTAL 428 10 97.66% 497 15 96.98%
798
799 File '/libfido2/src/nfc.c':
800 Name Regions Miss Cover Lines Miss Cover
801 -----------------------------------------------------------------------------------------
802 fido_nfc_tx 36 0 100.00% 43 0 100.00%
803 fido_nfc_rx 9 0 100.00% 13 0 100.00%
804 nfc_is_fido 17 1 94.12% 21 3 85.71%
805 fido_is_nfc 3 0 100.00% 3 0 100.00%
806 fido_dev_set_nfc 6 1 83.33% 18 3 83.33%
807 nfc.c:nfc_do_tx 20 0 100.00% 25 0 100.00%
808 nfc.c:tx_short_apdu 16 0 100.00% 34 0 100.00%
809 nfc.c:rx_init 26 0 100.00% 27 0 100.00%
810 nfc.c:rx_cbor 5 0 100.00% 6 0 100.00%
811 nfc.c:rx_msg 19 1 94.74% 23 3 86.96%
812 nfc.c:rx_apdu 14 0 100.00% 22 0 100.00%
813 nfc.c:tx_get_response 7 0 100.00% 12 0 100.00%
814 -----------------------------------------------------------------------------------------
815 TOTAL 178 3 98.31% 247 9 96.36%
816
817 File '/libfido2/src/nfc_linux.c':
818 Name Regions Miss Cover Lines Miss Cover
819 -----------------------------------------------------------------------------------------
820 fido_nfc_manifest 48 7 85.42% 45 15 66.67%
821 fido_nfc_open 23 2 91.30% 22 4 81.82%
822 fido_nfc_close 1 1 0.00% 4 4 0.00%
823 fido_nfc_set_sigmask 2 2 0.00% 6 6 0.00%
824 fido_nfc_read 15 15 0.00% 30 30 0.00%
825 fido_nfc_write 14 14 0.00% 18 18 0.00%
826 nfc_linux.c:copy_info 57 33 42.11% 44 16 63.64%
827 nfc_linux.c:get_usb_attr 1 1 0.00% 3 3 0.00%
828 nfc_linux.c:get_parent_attr 10 10 0.00% 9 9 0.00%
829 nfc_linux.c:sysnum_from_syspath 26 0 100.00% 17 0 100.00%
830 nfc_linux.c:nfc_new 10 0 100.00% 11 0 100.00%
831 nfc_linux.c:nfc_target_connect 20 8 60.00% 21 9 57.14%
832 nfc_linux.c:nfc_free 18 3 83.33% 10 1 90.00%
833 -----------------------------------------------------------------------------------------
834 TOTAL 245 96 60.82% 240 115 52.08%
835
836 File '/libfido2/src/pcsc.c':
837 Name Regions Miss Cover Lines Miss Cover
838 -----------------------------------------------------------------------------------------
839 fido_pcsc_manifest 55 0 100.00% 55 0 100.00%
840 fido_pcsc_open 38 0 100.00% 43 0 100.00%
841 fido_pcsc_close 6 0 100.00% 9 0 100.00%
842 fido_pcsc_read 8 0 100.00% 16 0 100.00%
843 fido_pcsc_write 10 0 100.00% 22 0 100.00%
844 fido_pcsc_tx 1 0 100.00% 3 0 100.00%
845 fido_pcsc_rx 1 0 100.00% 3 0 100.00%
846 fido_is_pcsc 3 0 100.00% 3 0 100.00%
847 fido_dev_set_pcsc 6 1 83.33% 18 3 83.33%
848 pcsc.c:list_readers 27 0 100.00% 24 0 100.00%
849 pcsc.c:copy_info 35 0 100.00% 41 0 100.00%
850 pcsc.c:get_reader 28 0 100.00% 28 0 100.00%
851 pcsc.c:prepare_io_request 11 0 100.00% 17 0 100.00%
852 -----------------------------------------------------------------------------------------
853 TOTAL 229 1 99.56% 282 3 98.94%
854
855 File '/libfido2/src/pin.c':
856 Name Regions Miss Cover Lines Miss Cover
857 -------------------------------------------------------------------------------------------
858 fido_sha256 10 0 100.00% 10 0 100.00%
859 fido_dev_get_uv_token 5 2 60.00% 6 1 83.33%
860 fido_dev_get_puat 14 0 100.00% 20 0 100.00%
861 fido_dev_set_pin 1 0 100.00% 4 0 100.00%
862 fido_dev_get_retry_count 1 0 100.00% 4 0 100.00%
863 fido_dev_get_uv_retry_count 1 0 100.00% 4 0 100.00%
864 cbor_add_uv_params 20 0 100.00% 24 0 100.00%
865 pin.c:cmd_to_perm 24 1 95.83% 21 3 85.71%
866 pin.c:uv_token_wait 17 2 88.24% 12 1 91.67%
867 pin.c:ctap21_uv_token_tx 69 0 100.00% 53 0 100.00%
868 pin.c:pin_sha256_enc 23 0 100.00% 24 0 100.00%
869 pin.c:ctap20_uv_token_tx 49 0 100.00% 45 0 100.00%
870 pin.c:uv_token_rx 31 0 100.00% 34 0 100.00%
871 pin.c:parse_uv_token 10 0 100.00% 10 0 100.00%
872 pin.c:fido_dev_set_pin_wait 22 0 100.00% 24 0 100.00%
873 pin.c:fido_dev_change_pin_tx 63 0 100.00% 56 0 100.00%
874 pin.c:pin_pad64_enc 17 0 100.00% 21 0 100.00%
875 pin.c:pad64 20 0 100.00% 20 0 100.00%
876 pin.c:fido_dev_set_pin_tx 45 0 100.00% 41 0 100.00%
877 pin.c:fido_dev_get_pin_retry_count_wait 10 0 100.00% 7 0 100.00%
878 pin.c:fido_dev_get_retry_count_tx 22 0 100.00% 23 0 100.00%
879 pin.c:fido_dev_get_pin_retry_count_rx 20 0 100.00% 24 0 100.00%
880 pin.c:parse_pin_retry_count 1 0 100.00% 3 0 100.00%
881 pin.c:parse_retry_count 16 0 100.00% 16 0 100.00%
882 pin.c:fido_dev_get_uv_retry_count_wait 10 0 100.00% 7 0 100.00%
883 pin.c:fido_dev_get_uv_retry_count_rx 20 0 100.00% 24 0 100.00%
884 pin.c:parse_uv_retry_count 1 0 100.00% 3 0 100.00%
885 -------------------------------------------------------------------------------------------
886 TOTAL 542 5 99.08% 540 5 99.07%
887
888 File '/libfido2/src/random.c':
889 Name Regions Miss Cover Lines Miss Cover
890 -------------------------------------------------------------------------------------------
891 fido_get_random 6 0 100.00% 6 0 100.00%
892 -------------------------------------------------------------------------------------------
893 TOTAL 6 0 100.00% 6 0 100.00%
894
895 File '/libfido2/src/reset.c':
896 Name Regions Miss Cover Lines Miss Cover
897 -------------------------------------------------------------------------------------------
898 fido_dev_reset 1 0 100.00% 4 0 100.00%
899 reset.c:fido_dev_reset_wait 15 0 100.00% 11 0 100.00%
900 reset.c:fido_dev_reset_tx 8 0 100.00% 8 0 100.00%
901 -------------------------------------------------------------------------------------------
902 TOTAL 24 0 100.00% 23 0 100.00%
903
904 File '/libfido2/src/rs1.c':
905 Name Regions Miss Cover Lines Miss Cover
906 -------------------------------------------------------------------------------------------
907 rs1_verify_sig 30 1 96.67% 29 3 89.66%
908 rs1.c:rs1_get_EVP_MD 1 0 100.00% 6 0 100.00%
909 -------------------------------------------------------------------------------------------
910 TOTAL 31 1 96.77% 35 3 91.43%
911
912 File '/libfido2/src/rs256.c':
913 Name Regions Miss Cover Lines Miss Cover
914 -------------------------------------------------------------------------------------------
915 rs256_pk_decode 12 0 100.00% 9 0 100.00%
916 rs256_pk_new 1 0 100.00% 3 0 100.00%
917 rs256_pk_free 10 0 100.00% 6 0 100.00%
918 rs256_pk_from_ptr 11 0 100.00% 12 0 100.00%
919 rs256_pk_to_EVP_PKEY 61 0 100.00% 43 0 100.00%
920 rs256_pk_from_RSA 40 6 85.00% 26 9 65.38%
921 rs256_pk_from_EVP_PKEY 14 0 100.00% 7 0 100.00%
922 rs256_verify_sig 30 2 93.33% 29 5 82.76%
923 rs256_pk_verify_sig 9 1 88.89% 13 2 84.62%
924 rs256.c:decode_rsa_pubkey 11 0 100.00% 13 0 100.00%
925 rs256.c:decode_bignum 12 0 100.00% 10 0 100.00%
926 rs256.c:rs256_get_EVP_MD 1 0 100.00% 6 0 100.00%
927 -------------------------------------------------------------------------------------------
928 TOTAL 212 9 95.75% 177 16 90.96%
929
930 File '/libfido2/src/time.c':
931 Name Regions Miss Cover Lines Miss Cover
932 -------------------------------------------------------------------------------------------
933 fido_time_now 6 0 100.00% 7 0 100.00%
934 fido_time_delta 25 1 96.00% 23 0 100.00%
935 time.c:timespec_to_ms 19 2 89.47% 13 2 84.62%
936 -------------------------------------------------------------------------------------------
937 TOTAL 50 3 94.00% 43 2 95.35%
938
939 File '/libfido2/src/touch.c':
940 Name Regions Miss Cover Lines Miss Cover
941 -------------------------------------------------------------------------------------------
942 fido_dev_get_touch_begin 64 0 100.00% 59 0 100.00%
943 fido_dev_get_touch_status 18 0 100.00% 20 0 100.00%
944 -------------------------------------------------------------------------------------------
945 TOTAL 82 0 100.00% 79 0 100.00%
946
947 File '/libfido2/src/tpm.c':
948 Name Regions Miss Cover Lines Miss Cover
949 -------------------------------------------------------------------------------------------
950 fido_get_signed_hash_tpm 28 1 96.43% 39 3 92.31%
951 tpm.c:check_es256_pubarea 20 0 100.00% 30 0 100.00%
952 tpm.c:bswap_es256_pubarea 11 0 100.00% 11 0 100.00%
953 tpm.c:check_rs256_pubarea 18 0 100.00% 28 0 100.00%
954 tpm.c:bswap_rs256_pubarea 9 0 100.00% 9 0 100.00%
955 tpm.c:check_sha1_certinfo 15 0 100.00% 38 0 100.00%
956 tpm.c:get_signed_sha1 27 0 100.00% 19 0 100.00%
957 tpm.c:get_signed_name 9 0 100.00% 10 0 100.00%
958 tpm.c:bswap_sha1_certinfo 7 0 100.00% 7 0 100.00%
959 -------------------------------------------------------------------------------------------
960 TOTAL 144 1 99.31% 191 3 98.43%
961
962 File '/libfido2/src/types.c':
963 Name Regions Miss Cover Lines Miss Cover
964 -------------------------------------------------------------------------------------------
965 fido_str_array_free 5 0 100.00% 6 0 100.00%
966 fido_opt_array_free 6 0 100.00% 8 0 100.00%
967 fido_byte_array_free 2 0 100.00% 4 0 100.00%
968 fido_algo_free 2 0 100.00% 4 0 100.00%
969 fido_algo_array_free 5 0 100.00% 6 0 100.00%
970 fido_cert_array_free 6 0 100.00% 8 0 100.00%
971 fido_str_array_pack 13 0 100.00% 14 0 100.00%
972 -------------------------------------------------------------------------------------------
973 TOTAL 39 0 100.00% 50 0 100.00%
974
975 File '/libfido2/src/u2f.c':
976 Name Regions Miss Cover Lines Miss Cover
977 -------------------------------------------------------------------------------------------
978 u2f_register 91 0 100.00% 85 0 100.00%
979 u2f_authenticate 34 5 85.29% 37 4 89.19%
980 u2f_get_touch_begin 44 0 100.00% 45 0 100.00%
981 u2f_get_touch_status 27 0 100.00% 36 0 100.00%
982 u2f.c:key_lookup 66 0 100.00% 70 0 100.00%
983 u2f.c:send_dummy_register 47 0 100.00% 49 0 100.00%
984 u2f.c:check_io_timeout 9 0 100.00% 5 0 100.00%
985 u2f.c:delay_ms 15 1 93.33% 15 3 80.00%
986 u2f.c:parse_register_reply 52 0 100.00% 62 0 100.00%
987 u2f.c:x5c_get 30 1 96.67% 26 3 88.46%
988 u2f.c:sig_get 8 0 100.00% 10 0 100.00%
989 u2f.c:encode_cred_attstmt 64 0 100.00% 52 0 100.00%
990 u2f.c:encode_cred_authdata 38 2 94.74% 61 6 90.16%
991 u2f.c:cbor_blob_from_ec_point 27 0 100.00% 31 0 100.00%
992 u2f.c:u2f_authenticate_single 32 11 65.62% 43 8 81.40%
993 u2f.c:do_auth 71 22 69.01% 71 24 66.20%
994 u2f.c:parse_auth_reply 23 23 0.00% 23 23 0.00%
995 u2f.c:authdata_fake 16 16 0.00% 27 27 0.00%
996 -------------------------------------------------------------------------------------------
997 TOTAL 694 81 88.33% 748 98 86.90%
998
999 File '/libfido2/src/util.c':
1000 Name Regions Miss Cover Lines Miss Cover
1001 -------------------------------------------------------------------------------------------
1002 fido_to_uint64 21 1 95.24% 14 1 92.86%
1003 -------------------------------------------------------------------------------------------
1004 TOTAL 21 1 95.24% 14 1 92.86%