summaryrefslogtreecommitdiff
path: root/fuzz/functions.txt
diff options
context:
space:
mode:
authornicoo <nicoo@debian.org>2020-02-12 13:42:22 +0100
committerNicolas Braud-Santoni <nicolas@braud-santoni.eu>2020-02-12 13:42:22 +0100
commitc79050aa44b8836d836c5dd22a383a073c28b74b (patch)
tree7bcca9fabd7718bf87ca600a6594f57b76d8de7d /fuzz/functions.txt
Import upstream release 1.3.0
Closes: #951184
Diffstat (limited to 'fuzz/functions.txt')
-rw-r--r--fuzz/functions.txt564
1 files changed, 564 insertions, 0 deletions
diff --git a/fuzz/functions.txt b/fuzz/functions.txt
new file mode 100644
index 0000000..cd652f2
--- /dev/null
+++ b/fuzz/functions.txt
@@ -0,0 +1,564 @@
1File '/home/pedro/projects/libfido2/src/aes256.c':
2Name Regions Miss Cover Lines Miss Cover
3-----------------------------------------------------------------------------
4aes256_cbc_enc 28 0 100.00% 41 0 100.00%
5aes256_cbc_dec 28 0 100.00% 41 0 100.00%
6-----------------------------------------------------------------------------
7TOTAL 56 0 100.00% 82 0 100.00%
8
9File '/home/pedro/projects/libfido2/src/assert.c':
10Name Regions Miss Cover Lines Miss Cover
11---------------------------------------------------------------------------------------
12fido_dev_get_assert 35 3 91.43% 38 4 89.47%
13fido_check_flags 13 0 100.00% 18 0 100.00%
14fido_verify_sig_es256 17 2 88.24% 31 7 77.42%
15fido_verify_sig_rs256 17 2 88.24% 31 7 77.42%
16fido_verify_sig_eddsa 23 2 91.30% 43 7 83.72%
17fido_assert_verify 48 4 91.67% 79 4 94.94%
18fido_assert_set_clientdata_hash 6 0 100.00% 6 0 100.00%
19fido_assert_set_hmac_salt 10 0 100.00% 7 0 100.00%
20fido_assert_set_rp 12 1 91.67% 14 3 78.57%
21fido_assert_allow_cred 13 2 84.62% 29 3 89.66%
22fido_assert_set_extensions 9 0 100.00% 8 0 100.00%
23fido_assert_set_options 6 6 0.00% 6 6 0.00%
24fido_assert_set_up 2 0 100.00% 5 0 100.00%
25fido_assert_set_uv 2 0 100.00% 5 0 100.00%
26fido_assert_clientdata_hash_ptr 1 0 100.00% 3 0 100.00%
27fido_assert_clientdata_hash_len 1 0 100.00% 3 0 100.00%
28fido_assert_new 1 0 100.00% 3 0 100.00%
29fido_assert_reset_tx 1 0 100.00% 15 0 100.00%
30fido_assert_reset_rx 6 0 100.00% 24 0 100.00%
31fido_assert_free 6 0 100.00% 13 0 100.00%
32fido_assert_count 1 0 100.00% 3 0 100.00%
33fido_assert_rp_id 1 0 100.00% 3 0 100.00%
34fido_assert_flags 4 0 100.00% 6 0 100.00%
35fido_assert_sigcount 4 0 100.00% 6 0 100.00%
36fido_assert_authdata_ptr 4 0 100.00% 6 0 100.00%
37fido_assert_authdata_len 4 0 100.00% 6 0 100.00%
38fido_assert_sig_ptr 4 0 100.00% 6 0 100.00%
39fido_assert_sig_len 4 0 100.00% 6 0 100.00%
40fido_assert_id_ptr 4 0 100.00% 6 0 100.00%
41fido_assert_id_len 4 0 100.00% 6 0 100.00%
42fido_assert_user_id_ptr 4 0 100.00% 6 0 100.00%
43fido_assert_user_id_len 4 0 100.00% 6 0 100.00%
44fido_assert_user_icon 4 0 100.00% 6 0 100.00%
45fido_assert_user_name 4 0 100.00% 6 0 100.00%
46fido_assert_user_display_name 4 0 100.00% 6 0 100.00%
47fido_assert_hmac_secret_ptr 4 0 100.00% 6 0 100.00%
48fido_assert_hmac_secret_len 4 0 100.00% 6 0 100.00%
49fido_assert_set_authdata 24 0 100.00% 35 0 100.00%
50fido_assert_set_authdata_raw 24 0 100.00% 34 0 100.00%
51fido_assert_set_sig 14 0 100.00% 17 0 100.00%
52fido_assert_set_count 10 0 100.00% 21 0 100.00%
53assert.c:fido_dev_get_assert_wait 21 0 100.00% 16 0 100.00%
54assert.c:fido_dev_get_assert_tx 58 4 93.10% 84 11 86.90%
55assert.c:fido_dev_get_assert_rx 20 0 100.00% 38 0 100.00%
56assert.c:adjust_assert_count 24 0 100.00% 33 0 100.00%
57assert.c:parse_assert_reply 11 0 100.00% 25 0 100.00%
58assert.c:fido_get_next_assert_tx 9 0 100.00% 11 0 100.00%
59assert.c:fido_get_next_assert_rx 16 2 87.50% 26 4 84.62%
60assert.c:decrypt_hmac_secrets 9 1 88.89% 15 4 73.33%
61assert.c:check_extensions 4 0 100.00% 9 0 100.00%
62assert.c:get_signed_hash 32 0 100.00% 46 0 100.00%
63assert.c:fido_assert_clean_authdata 1 0 100.00% 9 0 100.00%
64assert.c:fido_assert_clean_sig 1 0 100.00% 5 0 100.00%
65---------------------------------------------------------------------------------------
66TOTAL 569 29 94.90% 901 60 93.34%
67
68File '/home/pedro/projects/libfido2/src/authkey.c':
69Name Regions Miss Cover Lines Miss Cover
70---------------------------------------------------------------------------------------
71fido_dev_authkey 1 0 100.00% 3 0 100.00%
72authkey.c:fido_dev_authkey_wait 10 0 100.00% 9 0 100.00%
73authkey.c:fido_dev_authkey_tx 19 0 100.00% 33 0 100.00%
74authkey.c:fido_dev_authkey_rx 7 0 100.00% 18 0 100.00%
75authkey.c:parse_authkey 8 0 100.00% 12 0 100.00%
76---------------------------------------------------------------------------------------
77TOTAL 45 0 100.00% 75 0 100.00%
78
79File '/home/pedro/projects/libfido2/src/bio.c':
80Name Regions Miss Cover Lines Miss Cover
81---------------------------------------------------------------------------------------
82fido_bio_dev_get_template_array 5 2 60.00% 6 0 100.00%
83fido_bio_dev_set_template_name 7 0 100.00% 6 0 100.00%
84fido_bio_dev_enroll_begin 24 2 91.67% 36 0 100.00%
85fido_bio_dev_enroll_continue 5 2 60.00% 6 0 100.00%
86fido_bio_dev_enroll_cancel 1 1 0.00% 3 3 0.00%
87fido_bio_dev_enroll_remove 1 0 100.00% 3 0 100.00%
88fido_bio_dev_get_info 1 0 100.00% 3 0 100.00%
89fido_bio_template_name 1 0 100.00% 3 0 100.00%
90fido_bio_template_id_ptr 1 0 100.00% 3 0 100.00%
91fido_bio_template_id_len 1 0 100.00% 3 0 100.00%
92fido_bio_template_array_count 1 0 100.00% 3 0 100.00%
93fido_bio_template_array_new 1 0 100.00% 3 0 100.00%
94fido_bio_template_new 1 0 100.00% 3 0 100.00%
95fido_bio_template_array_free 6 0 100.00% 10 0 100.00%
96fido_bio_template_free 6 0 100.00% 10 0 100.00%
97fido_bio_template_set_name 8 0 100.00% 9 0 100.00%
98fido_bio_template_set_id 8 0 100.00% 10 0 100.00%
99fido_bio_template 4 0 100.00% 6 0 100.00%
100fido_bio_enroll_new 1 0 100.00% 3 0 100.00%
101fido_bio_info_new 1 0 100.00% 3 0 100.00%
102fido_bio_info_type 1 0 100.00% 3 0 100.00%
103fido_bio_info_max_samples 1 0 100.00% 3 0 100.00%
104fido_bio_enroll_free 6 0 100.00% 11 0 100.00%
105fido_bio_info_free 6 0 100.00% 9 0 100.00%
106fido_bio_enroll_remaining_samples 1 0 100.00% 3 0 100.00%
107fido_bio_enroll_last_status 1 0 100.00% 3 0 100.00%
108bio.c:bio_get_template_array_wait 11 0 100.00% 9 0 100.00%
109bio.c:bio_tx 43 0 100.00% 65 0 100.00%
110bio.c:bio_prepare_hmac 18 0 100.00% 36 0 100.00%
111bio.c:bio_rx_template_array 12 0 100.00% 21 0 100.00%
112bio.c:bio_parse_template_array 26 1 96.15% 34 4 88.24%
113bio.c:decode_template_array 12 1 91.67% 23 3 86.96%
114bio.c:decode_template 9 0 100.00% 18 0 100.00%
115bio.c:bio_set_template_name_wait 19 0 100.00% 24 0 100.00%
116bio.c:bio_enroll_begin_wait 17 1 94.12% 24 3 87.50%
117bio.c:bio_rx_enroll_begin 16 0 100.00% 29 0 100.00%
118bio.c:bio_parse_enroll_status 20 0 100.00% 31 0 100.00%
119bio.c:bio_parse_template_id 8 0 100.00% 12 0 100.00%
120bio.c:bio_enroll_continue_wait 19 0 100.00% 25 0 100.00%
121bio.c:bio_rx_enroll_continue 12 0 100.00% 22 0 100.00%
122bio.c:bio_enroll_cancel_wait 11 11 0.00% 12 12 0.00%
123bio.c:bio_enroll_remove_wait 17 0 100.00% 24 0 100.00%
124bio.c:bio_get_info_wait 11 0 100.00% 11 0 100.00%
125bio.c:bio_rx_info 12 0 100.00% 21 0 100.00%
126bio.c:bio_reset_info 1 0 100.00% 4 0 100.00%
127bio.c:bio_parse_info 20 0 100.00% 31 0 100.00%
128bio.c:bio_reset_template_array 4 0 100.00% 8 0 100.00%
129bio.c:bio_reset_template 1 0 100.00% 6 0 100.00%
130bio.c:bio_reset_enroll 3 0 100.00% 7 0 100.00%
131---------------------------------------------------------------------------------------
132TOTAL 422 21 95.02% 661 25 96.22%
133
134File '/home/pedro/projects/libfido2/src/blob.c':
135Name Regions Miss Cover Lines Miss Cover
136---------------------------------------------------------------------------------------
137fido_blob_new 1 0 100.00% 3 0 100.00%
138fido_blob_set 11 1 90.91% 25 4 84.00%
139fido_blob_free 8 0 100.00% 16 0 100.00%
140fido_free_blob_array 9 0 100.00% 17 0 100.00%
141fido_blob_encode 6 0 100.00% 6 0 100.00%
142fido_blob_decode 1 0 100.00% 3 0 100.00%
143fido_blob_is_empty 3 0 100.00% 3 0 100.00%
144---------------------------------------------------------------------------------------
145TOTAL 39 1 97.44% 73 4 94.52%
146
147File '/home/pedro/projects/libfido2/src/buf.c':
148Name Regions Miss Cover Lines Miss Cover
149---------------------------------------------------------------------------------------
150fido_buf_read 4 0 100.00% 10 0 100.00%
151fido_buf_write 4 1 75.00% 10 1 90.00%
152---------------------------------------------------------------------------------------
153TOTAL 8 1 87.50% 20 1 95.00%
154
155File '/home/pedro/projects/libfido2/src/cbor.c':
156Name Regions Miss Cover Lines Miss Cover
157---------------------------------------------------------------------------------------
158cbor_map_iter 20 1 95.00% 30 4 86.67%
159cbor_array_iter 12 0 100.00% 20 0 100.00%
160cbor_parse_reply 27 0 100.00% 43 0 100.00%
161cbor_vector_free 6 0 100.00% 5 0 100.00%
162cbor_bytestring_copy 14 0 100.00% 22 0 100.00%
163cbor_string_copy 14 0 100.00% 23 0 100.00%
164cbor_add_bytestring 14 0 100.00% 26 0 100.00%
165cbor_add_string 14 0 100.00% 26 0 100.00%
166cbor_add_bool 14 0 100.00% 26 0 100.00%
167cbor_flatten_vector 14 1 92.86% 21 1 95.24%
168cbor_build_frame 15 0 100.00% 32 0 100.00%
169cbor_encode_rp_entity 13 0 100.00% 14 0 100.00%
170cbor_encode_user_entity 21 0 100.00% 18 0 100.00%
171cbor_encode_pubkey_param 36 0 100.00% 48 0 100.00%
172cbor_encode_pubkey 10 0 100.00% 13 0 100.00%
173cbor_encode_pubkey_list 18 2 88.89% 23 0 100.00%
174cbor_encode_extensions 13 1 92.31% 16 0 100.00%
175cbor_encode_options 13 0 100.00% 14 0 100.00%
176cbor_encode_assert_options 13 0 100.00% 14 0 100.00%
177cbor_encode_pin_auth 8 0 100.00% 12 0 100.00%
178cbor_encode_pin_opt 1 0 100.00% 3 0 100.00%
179cbor_encode_pin_enc 4 0 100.00% 12 0 100.00%
180cbor_encode_change_pin_auth 44 1 97.73% 69 3 95.65%
181cbor_encode_set_pin_auth 17 0 100.00% 28 0 100.00%
182cbor_encode_pin_hash_enc 15 0 100.00% 27 0 100.00%
183cbor_encode_hmac_secret_param 41 1 97.56% 66 4 93.94%
184cbor_decode_fmt 9 0 100.00% 18 0 100.00%
185cbor_decode_pubkey 21 1 95.24% 32 2 93.75%
186cbor_decode_cred_authdata 31 0 100.00% 46 0 100.00%
187cbor_decode_assert_authdata 23 0 100.00% 44 0 100.00%
188cbor_decode_attstmt 8 0 100.00% 10 0 100.00%
189cbor_decode_uint64 4 0 100.00% 10 0 100.00%
190cbor_decode_cred_id 8 0 100.00% 10 0 100.00%
191cbor_decode_user 8 0 100.00% 10 0 100.00%
192cbor_decode_rp_entity 8 0 100.00% 10 0 100.00%
193cbor.c:ctap_check_cbor 28 0 100.00% 32 0 100.00%
194cbor.c:check_key_type 8 0 100.00% 9 0 100.00%
195cbor.c:cbor_add_arg 13 0 100.00% 28 0 100.00%
196cbor.c:sha256 7 0 100.00% 15 0 100.00%
197cbor.c:get_cose_alg 36 0 100.00% 48 0 100.00%
198cbor.c:find_cose_alg 35 0 100.00% 40 0 100.00%
199cbor.c:decode_attcred 25 0 100.00% 58 0 100.00%
200cbor.c:decode_extensions 16 4 75.00% 34 6 82.35%
201cbor.c:decode_extension 19 19 0.00% 27 27 0.00%
202cbor.c:decode_hmac_secret 16 0 100.00% 32 0 100.00%
203cbor.c:decode_hmac_secret_aux 7 0 100.00% 17 0 100.00%
204cbor.c:decode_attstmt_entry 29 0 100.00% 39 0 100.00%
205cbor.c:decode_x5c 4 0 100.00% 8 0 100.00%
206cbor.c:decode_cred_id_entry 10 0 100.00% 23 0 100.00%
207cbor.c:decode_user_entry 25 0 100.00% 39 0 100.00%
208cbor.c:decode_rp_entity_entry 15 0 100.00% 29 0 100.00%
209---------------------------------------------------------------------------------------
210TOTAL 844 31 96.33% 1319 47 96.44%
211
212File '/home/pedro/projects/libfido2/src/cred.c':
213Name Regions Miss Cover Lines Miss Cover
214---------------------------------------------------------------------------------------
215fido_dev_make_cred 12 0 100.00% 9 0 100.00%
216fido_check_rp_id 4 0 100.00% 14 0 100.00%
217fido_cred_verify 45 0 100.00% 71 0 100.00%
218fido_cred_verify_self 54 10 81.48% 90 14 84.44%
219fido_cred_new 1 0 100.00% 3 0 100.00%
220fido_cred_reset_tx 1 0 100.00% 20 0 100.00%
221fido_cred_reset_rx 1 0 100.00% 8 0 100.00%
222fido_cred_free 6 1 83.33% 13 0 100.00%
223fido_cred_set_authdata 22 0 100.00% 36 0 100.00%
224fido_cred_set_authdata_raw 22 2 90.91% 35 4 88.57%
225fido_cred_set_x509 12 0 100.00% 16 0 100.00%
226fido_cred_set_sig 12 0 100.00% 16 0 100.00%
227fido_cred_exclude 14 2 85.71% 25 3 88.00%
228fido_cred_set_clientdata_hash 6 0 100.00% 6 0 100.00%
229fido_cred_set_rp 18 2 88.89% 26 6 76.92%
230fido_cred_set_user 33 4 87.88% 50 13 74.00%
231fido_cred_set_extensions 9 0 100.00% 8 0 100.00%
232fido_cred_set_options 6 6 0.00% 6 6 0.00%
233fido_cred_set_rk 2 0 100.00% 5 0 100.00%
234fido_cred_set_uv 2 0 100.00% 5 0 100.00%
235fido_cred_set_fmt 16 4 75.00% 15 1 93.33%
236fido_cred_set_type 17 2 88.24% 9 1 88.89%
237fido_cred_type 1 0 100.00% 3 0 100.00%
238fido_cred_flags 1 0 100.00% 3 0 100.00%
239fido_cred_clientdata_hash_ptr 1 0 100.00% 3 0 100.00%
240fido_cred_clientdata_hash_len 1 0 100.00% 3 0 100.00%
241fido_cred_x5c_ptr 1 0 100.00% 3 0 100.00%
242fido_cred_x5c_len 1 0 100.00% 3 0 100.00%
243fido_cred_sig_ptr 1 0 100.00% 3 0 100.00%
244fido_cred_sig_len 1 0 100.00% 3 0 100.00%
245fido_cred_authdata_ptr 1 0 100.00% 3 0 100.00%
246fido_cred_authdata_len 1 0 100.00% 3 0 100.00%
247fido_cred_pubkey_ptr 9 0 100.00% 20 0 100.00%
248fido_cred_pubkey_len 9 0 100.00% 20 0 100.00%
249fido_cred_id_ptr 1 0 100.00% 3 0 100.00%
250fido_cred_id_len 1 0 100.00% 3 0 100.00%
251fido_cred_fmt 1 0 100.00% 3 0 100.00%
252fido_cred_rp_id 1 0 100.00% 3 0 100.00%
253fido_cred_rp_name 1 0 100.00% 3 0 100.00%
254fido_cred_user_name 1 0 100.00% 3 0 100.00%
255fido_cred_display_name 1 0 100.00% 3 0 100.00%
256fido_cred_user_id_ptr 1 0 100.00% 3 0 100.00%
257fido_cred_user_id_len 1 0 100.00% 3 0 100.00%
258cred.c:fido_dev_make_cred_wait 10 0 100.00% 9 0 100.00%
259cred.c:fido_dev_make_cred_tx 59 0 100.00% 81 0 100.00%
260cred.c:fido_dev_make_cred_rx 22 0 100.00% 28 0 100.00%
261cred.c:parse_makecred_reply 10 0 100.00% 23 0 100.00%
262cred.c:check_extensions 4 0 100.00% 9 0 100.00%
263cred.c:get_signed_hash_packed 23 1 95.65% 38 3 92.11%
264cred.c:get_signed_hash_u2f 22 0 100.00% 20 0 100.00%
265cred.c:verify_sig 27 1 96.30% 40 4 90.00%
266cred.c:fido_cred_clean_authdata 1 0 100.00% 9 0 100.00%
267cred.c:fido_cred_clean_x509 1 0 100.00% 5 0 100.00%
268cred.c:fido_cred_clean_sig 1 0 100.00% 5 0 100.00%
269---------------------------------------------------------------------------------------
270TOTAL 532 35 93.42% 850 55 93.53%
271
272File '/home/pedro/projects/libfido2/src/credman.c':
273Name Regions Miss Cover Lines Miss Cover
274---------------------------------------------------------------------------------------
275fido_credman_get_dev_metadata 9 2 77.78% 8 0 100.00%
276fido_credman_get_dev_rk 9 2 77.78% 8 0 100.00%
277fido_credman_del_dev_rk 9 2 77.78% 8 0 100.00%
278fido_credman_get_dev_rp 9 2 77.78% 8 0 100.00%
279fido_credman_rk_new 1 0 100.00% 3 0 100.00%
280fido_credman_rk_free 6 1 83.33% 10 0 100.00%
281fido_credman_rk_count 1 0 100.00% 3 0 100.00%
282fido_credman_rk 4 0 100.00% 6 0 100.00%
283fido_credman_metadata_new 1 0 100.00% 3 0 100.00%
284fido_credman_metadata_free 6 1 83.33% 9 0 100.00%
285fido_credman_rk_existing 1 0 100.00% 3 0 100.00%
286fido_credman_rk_remaining 1 0 100.00% 3 0 100.00%
287fido_credman_rp_new 1 0 100.00% 3 0 100.00%
288fido_credman_rp_free 6 1 83.33% 10 0 100.00%
289fido_credman_rp_count 1 0 100.00% 3 0 100.00%
290fido_credman_rp_id 4 0 100.00% 6 0 100.00%
291fido_credman_rp_name 4 0 100.00% 6 0 100.00%
292fido_credman_rp_id_hash_len 4 0 100.00% 6 0 100.00%
293fido_credman_rp_id_hash_ptr 4 0 100.00% 6 0 100.00%
294credman.c:credman_get_metadata_wait 11 0 100.00% 9 0 100.00%
295credman.c:credman_tx 30 0 100.00% 53 0 100.00%
296credman.c:credman_prepare_hmac 21 1 95.24% 43 2 95.35%
297credman.c:credman_rx_metadata 12 0 100.00% 21 0 100.00%
298credman.c:credman_parse_metadata 9 0 100.00% 19 0 100.00%
299credman.c:credman_get_rk_wait 27 0 100.00% 26 0 100.00%
300credman.c:credman_rx_rk 20 0 100.00% 36 0 100.00%
301credman.c:credman_parse_rk_count 16 0 100.00% 25 0 100.00%
302credman.c:credman_grow_array 17 2 88.24% 28 5 82.14%
303credman.c:credman_parse_rk 13 0 100.00% 25 0 100.00%
304credman.c:credman_rx_next_rk 16 2 87.50% 26 4 84.62%
305credman.c:credman_del_rk_wait 16 0 100.00% 19 0 100.00%
306credman.c:credman_get_rp_wait 23 0 100.00% 16 0 100.00%
307credman.c:credman_rx_rp 20 0 100.00% 36 0 100.00%
308credman.c:credman_parse_rp_count 16 0 100.00% 25 0 100.00%
309credman.c:credman_parse_rp 9 0 100.00% 19 0 100.00%
310credman.c:credman_rx_next_rp 16 2 87.50% 26 4 84.62%
311credman.c:credman_reset_rk 4 0 100.00% 10 0 100.00%
312credman.c:credman_reset_rp 4 0 100.00% 15 0 100.00%
313---------------------------------------------------------------------------------------
314TOTAL 381 18 95.28% 589 15 97.45%
315
316File '/home/pedro/projects/libfido2/src/dev.c':
317Name Regions Miss Cover Lines Miss Cover
318---------------------------------------------------------------------------------------
319fido_dev_open 1 0 100.00% 3 0 100.00%
320fido_dev_close 8 2 75.00% 9 0 100.00%
321fido_dev_cancel 8 2 75.00% 6 3 50.00%
322fido_dev_set_io_functions 18 4 77.78% 19 6 68.42%
323fido_init 7 1 85.71% 4 0 100.00%
324fido_dev_new 9 1 88.89% 22 4 81.82%
325fido_dev_free 6 0 100.00% 10 0 100.00%
326fido_dev_protocol 1 0 100.00% 3 0 100.00%
327fido_dev_major 1 0 100.00% 3 0 100.00%
328fido_dev_minor 1 0 100.00% 3 0 100.00%
329fido_dev_build 1 0 100.00% 3 0 100.00%
330fido_dev_flags 1 0 100.00% 3 0 100.00%
331fido_dev_is_fido2 2 0 100.00% 3 0 100.00%
332fido_dev_force_u2f 2 0 100.00% 3 0 100.00%
333fido_dev_force_fido2 2 2 0.00% 3 3 0.00%
334dev.c:fido_dev_open_wait 10 0 100.00% 9 0 100.00%
335dev.c:fido_dev_open_tx 26 8 69.23% 32 12 62.50%
336dev.c:obtain_nonce 13 2 84.62% 18 2 88.89%
337dev.c:fido_dev_open_rx 14 0 100.00% 27 0 100.00%
338---------------------------------------------------------------------------------------
339TOTAL 131 22 83.21% 183 30 83.61%
340
341File '/home/pedro/projects/libfido2/src/ecdh.c':
342Name Regions Miss Cover Lines Miss Cover
343---------------------------------------------------------------------------------------
344fido_do_ecdh 29 0 100.00% 44 0 100.00%
345ecdh.c:do_ecdh 39 0 100.00% 60 0 100.00%
346---------------------------------------------------------------------------------------
347TOTAL 68 0 100.00% 104 0 100.00%
348
349File '/home/pedro/projects/libfido2/src/eddsa.c':
350Name Regions Miss Cover Lines Miss Cover
351---------------------------------------------------------------------------------------
352eddsa_pk_decode 8 0 100.00% 10 0 100.00%
353eddsa_pk_new 1 0 100.00% 3 0 100.00%
354eddsa_pk_free 6 0 100.00% 11 0 100.00%
355eddsa_pk_from_ptr 6 0 100.00% 8 0 100.00%
356eddsa_pk_to_EVP_PKEY 3 0 100.00% 9 0 100.00%
357eddsa_pk_from_EVP_PKEY 14 4 71.43% 12 2 83.33%
358eddsa.c:decode_pubkey_point 8 0 100.00% 14 0 100.00%
359eddsa.c:decode_coord 8 0 100.00% 12 0 100.00%
360---------------------------------------------------------------------------------------
361TOTAL 54 4 92.59% 79 2 97.47%
362
363File '/home/pedro/projects/libfido2/src/err.c':
364Name Regions Miss Cover Lines Miss Cover
365---------------------------------------------------------------------------------------
366fido_strerr 108 108 0.00% 112 112 0.00%
367---------------------------------------------------------------------------------------
368TOTAL 108 108 0.00% 112 112 0.00%
369
370File '/home/pedro/projects/libfido2/src/es256.c':
371Name Regions Miss Cover Lines Miss Cover
372---------------------------------------------------------------------------------------
373es256_pk_decode 8 0 100.00% 10 0 100.00%
374es256_pk_encode 56 0 100.00% 70 0 100.00%
375es256_sk_new 1 0 100.00% 3 0 100.00%
376es256_sk_free 6 0 100.00% 11 0 100.00%
377es256_pk_new 1 0 100.00% 3 0 100.00%
378es256_pk_free 6 0 100.00% 11 0 100.00%
379es256_pk_from_ptr 6 0 100.00% 8 0 100.00%
380es256_pk_set_x 1 0 100.00% 5 0 100.00%
381es256_pk_set_y 1 0 100.00% 5 0 100.00%
382es256_sk_create 39 2 94.87% 46 6 86.96%
383es256_pk_to_EVP_PKEY 41 0 100.00% 58 0 100.00%
384es256_pk_from_EC_KEY 38 2 94.74% 39 7 82.05%
385es256_sk_to_EVP_PKEY 27 0 100.00% 41 0 100.00%
386es256_derive_pk 25 0 100.00% 34 0 100.00%
387es256.c:decode_pubkey_point 9 0 100.00% 16 0 100.00%
388es256.c:decode_coord 8 0 100.00% 12 0 100.00%
389---------------------------------------------------------------------------------------
390TOTAL 273 4 98.53% 372 13 96.51%
391
392File '/home/pedro/projects/libfido2/src/extern.h':
393Name Regions Miss Cover Lines Miss Cover
394---------------------------------------------------------------------------------------
395
396File '/home/pedro/projects/libfido2/src/fido.h':
397Name Regions Miss Cover Lines Miss Cover
398---------------------------------------------------------------------------------------
399
400File '/home/pedro/projects/libfido2/src/hid.c':
401Name Regions Miss Cover Lines Miss Cover
402---------------------------------------------------------------------------------------
403fido_dev_info_new 1 1 0.00% 3 3 0.00%
404fido_dev_info_free 9 9 0.00% 17 17 0.00%
405fido_dev_info_ptr 1 1 0.00% 3 3 0.00%
406fido_dev_info_path 1 1 0.00% 3 3 0.00%
407fido_dev_info_vendor 1 1 0.00% 3 3 0.00%
408fido_dev_info_product 1 1 0.00% 3 3 0.00%
409fido_dev_info_manufacturer_string 1 1 0.00% 3 3 0.00%
410fido_dev_info_product_string 1 1 0.00% 3 3 0.00%
411---------------------------------------------------------------------------------------
412TOTAL 16 16 0.00% 38 38 0.00%
413
414File '/home/pedro/projects/libfido2/src/hid_linux.c':
415Name Regions Miss Cover Lines Miss Cover
416---------------------------------------------------------------------------------------
417fido_dev_info_manifest 33 33 0.00% 40 40 0.00%
418fido_hid_open 6 6 0.00% 11 11 0.00%
419fido_hid_close 1 1 0.00% 6 6 0.00%
420fido_hid_read 12 12 0.00% 16 16 0.00%
421fido_hid_write 12 12 0.00% 16 16 0.00%
422hid_linux.c:copy_info 35 35 0.00% 56 56 0.00%
423hid_linux.c:is_fido 6 6 0.00% 14 14 0.00%
424hid_linux.c:get_report_descriptor 17 17 0.00% 31 31 0.00%
425hid_linux.c:get_usage_info 16 16 0.00% 33 33 0.00%
426hid_linux.c:get_key_len 6 6 0.00% 14 14 0.00%
427hid_linux.c:get_key_val 6 6 0.00% 20 20 0.00%
428hid_linux.c:parse_uevent 16 16 0.00% 30 30 0.00%
429---------------------------------------------------------------------------------------
430TOTAL 166 166 0.00% 287 287 0.00%
431
432File '/home/pedro/projects/libfido2/src/info.c':
433Name Regions Miss Cover Lines Miss Cover
434---------------------------------------------------------------------------------------
435fido_dev_get_cbor_info 1 0 100.00% 3 0 100.00%
436fido_cbor_info_new 1 0 100.00% 3 0 100.00%
437fido_cbor_info_free 6 1 83.33% 14 0 100.00%
438fido_cbor_info_versions_ptr 1 0 100.00% 3 0 100.00%
439fido_cbor_info_versions_len 1 0 100.00% 3 0 100.00%
440fido_cbor_info_extensions_ptr 1 0 100.00% 3 0 100.00%
441fido_cbor_info_extensions_len 1 0 100.00% 3 0 100.00%
442fido_cbor_info_aaguid_ptr 1 0 100.00% 3 0 100.00%
443fido_cbor_info_aaguid_len 1 0 100.00% 3 0 100.00%
444fido_cbor_info_options_name_ptr 1 0 100.00% 3 0 100.00%
445fido_cbor_info_options_value_ptr 1 0 100.00% 3 0 100.00%
446fido_cbor_info_options_len 1 0 100.00% 3 0 100.00%
447fido_cbor_info_maxmsgsiz 1 0 100.00% 3 0 100.00%
448fido_cbor_info_protocols_ptr 1 0 100.00% 3 0 100.00%
449fido_cbor_info_protocols_len 1 0 100.00% 3 0 100.00%
450info.c:fido_dev_get_cbor_info_wait 10 0 100.00% 9 0 100.00%
451info.c:fido_dev_get_cbor_info_tx 9 0 100.00% 13 0 100.00%
452info.c:fido_dev_get_cbor_info_rx 7 0 100.00% 18 0 100.00%
453info.c:parse_reply_element 13 0 100.00% 27 0 100.00%
454info.c:decode_versions 12 0 100.00% 21 0 100.00%
455info.c:decode_version 4 0 100.00% 14 0 100.00%
456info.c:decode_extensions 12 0 100.00% 21 0 100.00%
457info.c:decode_extension 4 0 100.00% 14 0 100.00%
458info.c:decode_aaguid 8 0 100.00% 12 0 100.00%
459info.c:decode_options 11 0 100.00% 18 0 100.00%
460info.c:decode_option 11 0 100.00% 22 0 100.00%
461info.c:decode_protocols 12 0 100.00% 21 0 100.00%
462info.c:decode_protocol 6 0 100.00% 16 0 100.00%
463info.c:free_str_array 4 0 100.00% 8 0 100.00%
464info.c:free_opt_array 4 0 100.00% 9 0 100.00%
465info.c:free_byte_array 1 0 100.00% 6 0 100.00%
466---------------------------------------------------------------------------------------
467TOTAL 148 1 99.32% 305 0 100.00%
468
469File '/home/pedro/projects/libfido2/src/io.c':
470Name Regions Miss Cover Lines Miss Cover
471---------------------------------------------------------------------------------------
472fido_tx 18 0 100.00% 35 0 100.00%
473fido_rx 34 3 91.18% 84 12 85.71%
474fido_rx_cbor_status 9 0 100.00% 13 0 100.00%
475io.c:tx_preamble 16 1 93.75% 24 1 95.83%
476io.c:tx_frame 16 1 93.75% 21 0 100.00%
477io.c:rx_preamble 11 0 100.00% 12 0 100.00%
478io.c:rx_frame 9 1 88.89% 12 0 100.00%
479---------------------------------------------------------------------------------------
480TOTAL 113 6 94.69% 201 13 93.53%
481
482File '/home/pedro/projects/libfido2/src/iso7816.c':
483Name Regions Miss Cover Lines Miss Cover
484---------------------------------------------------------------------------------------
485iso7816_new 4 0 100.00% 19 0 100.00%
486iso7816_free 6 0 100.00% 11 0 100.00%
487iso7816_add 6 1 83.33% 10 0 100.00%
488iso7816_ptr 1 0 100.00% 3 0 100.00%
489iso7816_len 1 0 100.00% 4 0 100.00%
490---------------------------------------------------------------------------------------
491TOTAL 18 1 94.44% 47 0 100.00%
492
493File '/home/pedro/projects/libfido2/src/log.c':
494Name Regions Miss Cover Lines Miss Cover
495---------------------------------------------------------------------------------------
496fido_log_init 1 1 0.00% 3 3 0.00%
497fido_log_xxd 11 8 27.27% 18 12 33.33%
498fido_log_debug 4 1 75.00% 13 8 38.46%
499---------------------------------------------------------------------------------------
500TOTAL 16 10 37.50% 34 23 32.35%
501
502File '/home/pedro/projects/libfido2/src/pin.c':
503Name Regions Miss Cover Lines Miss Cover
504---------------------------------------------------------------------------------------
505fido_dev_get_pin_token 1 0 100.00% 3 0 100.00%
506fido_dev_set_pin 1 0 100.00% 3 0 100.00%
507fido_dev_get_retry_count 1 0 100.00% 3 0 100.00%
508cbor_add_pin_params 17 0 100.00% 27 0 100.00%
509pin.c:fido_dev_get_pin_token_wait 10 0 100.00% 9 0 100.00%
510pin.c:fido_dev_get_pin_token_tx 29 0 100.00% 40 0 100.00%
511pin.c:fido_dev_get_pin_token_rx 21 0 100.00% 36 0 100.00%
512pin.c:parse_pintoken 8 0 100.00% 12 0 100.00%
513pin.c:fido_dev_set_pin_wait 16 0 100.00% 22 0 100.00%
514pin.c:fido_dev_change_pin_tx 41 0 100.00% 59 0 100.00%
515pin.c:pad64 18 0 100.00% 24 0 100.00%
516pin.c:fido_dev_set_pin_tx 33 0 100.00% 48 0 100.00%
517pin.c:fido_dev_get_retry_count_wait 10 0 100.00% 9 0 100.00%
518pin.c:fido_dev_get_retry_count_tx 19 0 100.00% 28 0 100.00%
519pin.c:fido_dev_get_retry_count_rx 12 0 100.00% 21 0 100.00%
520pin.c:parse_retry_count 13 0 100.00% 20 0 100.00%
521---------------------------------------------------------------------------------------
522TOTAL 250 0 100.00% 364 0 100.00%
523
524File '/home/pedro/projects/libfido2/src/reset.c':
525Name Regions Miss Cover Lines Miss Cover
526---------------------------------------------------------------------------------------
527fido_dev_reset 1 0 100.00% 3 0 100.00%
528reset.c:fido_dev_reset_wait 10 0 100.00% 9 0 100.00%
529reset.c:fido_dev_reset_tx 9 0 100.00% 11 0 100.00%
530---------------------------------------------------------------------------------------
531TOTAL 20 0 100.00% 23 0 100.00%
532
533File '/home/pedro/projects/libfido2/src/rs256.c':
534Name Regions Miss Cover Lines Miss Cover
535---------------------------------------------------------------------------------------
536rs256_pk_decode 8 0 100.00% 10 0 100.00%
537rs256_pk_new 1 0 100.00% 3 0 100.00%
538rs256_pk_free 6 0 100.00% 11 0 100.00%
539rs256_pk_from_ptr 6 0 100.00% 8 0 100.00%
540rs256_pk_to_EVP_PKEY 32 0 100.00% 48 0 100.00%
541rs256_pk_from_RSA 32 6 81.25% 32 9 71.88%
542rs256.c:decode_rsa_pubkey 9 0 100.00% 16 0 100.00%
543rs256.c:decode_bignum 8 0 100.00% 12 0 100.00%
544---------------------------------------------------------------------------------------
545TOTAL 102 6 94.12% 140 9 93.57%
546
547File '/home/pedro/projects/libfido2/src/u2f.c':
548Name Regions Miss Cover Lines Miss Cover
549---------------------------------------------------------------------------------------
550u2f_register 70 1 98.57% 89 0 100.00%
551u2f_authenticate 27 0 100.00% 33 0 100.00%
552u2f.c:key_lookup 44 0 100.00% 69 0 100.00%
553u2f.c:send_dummy_register 31 1 96.77% 50 0 100.00%
554u2f.c:parse_register_reply 57 0 100.00% 83 0 100.00%
555u2f.c:x5c_get 21 1 95.24% 37 3 91.89%
556u2f.c:sig_get 8 1 87.50% 16 6 62.50%
557u2f.c:encode_cred_authdata 37 2 94.59% 82 6 92.68%
558u2f.c:cbor_blob_from_ec_point 22 0 100.00% 39 0 100.00%
559u2f.c:u2f_authenticate_single 34 2 94.12% 53 4 92.45%
560u2f.c:do_auth 50 1 98.00% 72 0 100.00%
561u2f.c:parse_auth_reply 23 2 91.30% 29 3 89.66%
562u2f.c:authdata_fake 12 0 100.00% 34 0 100.00%
563---------------------------------------------------------------------------------------
564TOTAL 436 11 97.48% 686 22 96.79%