diff options
Diffstat (limited to 'fuzz/functions.txt')
-rw-r--r-- | fuzz/functions.txt | 276 |
1 files changed, 145 insertions, 131 deletions
diff --git a/fuzz/functions.txt b/fuzz/functions.txt index cd652f2..27a9608 100644 --- a/fuzz/functions.txt +++ b/fuzz/functions.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | File '/home/pedro/projects/libfido2/src/aes256.c': | 1 | File '/libfido2/src/aes256.c': |
2 | Name Regions Miss Cover Lines Miss Cover | 2 | Name Regions Miss Cover Lines Miss Cover |
3 | ----------------------------------------------------------------------------- | 3 | ----------------------------------------------------------------------------- |
4 | aes256_cbc_enc 28 0 100.00% 41 0 100.00% | 4 | aes256_cbc_enc 28 0 100.00% 41 0 100.00% |
@@ -6,14 +6,15 @@ aes256_cbc_dec 28 0 100.00% 41 0 100.00% | |||
6 | ----------------------------------------------------------------------------- | 6 | ----------------------------------------------------------------------------- |
7 | TOTAL 56 0 100.00% 82 0 100.00% | 7 | TOTAL 56 0 100.00% 82 0 100.00% |
8 | 8 | ||
9 | File '/home/pedro/projects/libfido2/src/assert.c': | 9 | File '/libfido2/src/assert.c': |
10 | Name Regions Miss Cover Lines Miss Cover | 10 | Name Regions Miss Cover Lines Miss Cover |
11 | --------------------------------------------------------------------------------------- | 11 | --------------------------------------------------------------------------------------- |
12 | fido_dev_get_assert 35 3 91.43% 38 4 89.47% | 12 | fido_dev_get_assert 35 3 91.43% 38 4 89.47% |
13 | fido_check_flags 13 0 100.00% 18 0 100.00% | 13 | fido_check_flags 13 0 100.00% 18 0 100.00% |
14 | fido_get_signed_hash 32 0 100.00% 46 0 100.00% | ||
14 | fido_verify_sig_es256 17 2 88.24% 31 7 77.42% | 15 | fido_verify_sig_es256 17 2 88.24% 31 7 77.42% |
15 | fido_verify_sig_rs256 17 2 88.24% 31 7 77.42% | 16 | fido_verify_sig_rs256 17 2 88.24% 31 7 77.42% |
16 | fido_verify_sig_eddsa 23 2 91.30% 43 7 83.72% | 17 | fido_verify_sig_eddsa 23 4 82.61% 43 13 69.77% |
17 | fido_assert_verify 48 4 91.67% 79 4 94.94% | 18 | fido_assert_verify 48 4 91.67% 79 4 94.94% |
18 | fido_assert_set_clientdata_hash 6 0 100.00% 6 0 100.00% | 19 | fido_assert_set_clientdata_hash 6 0 100.00% 6 0 100.00% |
19 | fido_assert_set_hmac_salt 10 0 100.00% 7 0 100.00% | 20 | fido_assert_set_hmac_salt 10 0 100.00% 7 0 100.00% |
@@ -27,7 +28,7 @@ fido_assert_clientdata_hash_ptr 1 0 100.00% 3 0 | |||
27 | fido_assert_clientdata_hash_len 1 0 100.00% 3 0 100.00% | 28 | fido_assert_clientdata_hash_len 1 0 100.00% 3 0 100.00% |
28 | fido_assert_new 1 0 100.00% 3 0 100.00% | 29 | fido_assert_new 1 0 100.00% 3 0 100.00% |
29 | fido_assert_reset_tx 1 0 100.00% 15 0 100.00% | 30 | fido_assert_reset_tx 1 0 100.00% 15 0 100.00% |
30 | fido_assert_reset_rx 6 0 100.00% 24 0 100.00% | 31 | fido_assert_reset_rx 6 1 83.33% 24 3 87.50% |
31 | fido_assert_free 6 0 100.00% 13 0 100.00% | 32 | fido_assert_free 6 0 100.00% 13 0 100.00% |
32 | fido_assert_count 1 0 100.00% 3 0 100.00% | 33 | fido_assert_count 1 0 100.00% 3 0 100.00% |
33 | fido_assert_rp_id 1 0 100.00% 3 0 100.00% | 34 | fido_assert_rp_id 1 0 100.00% 3 0 100.00% |
@@ -47,36 +48,35 @@ fido_assert_user_display_name 4 0 100.00% 6 0 | |||
47 | fido_assert_hmac_secret_ptr 4 0 100.00% 6 0 100.00% | 48 | fido_assert_hmac_secret_ptr 4 0 100.00% 6 0 100.00% |
48 | fido_assert_hmac_secret_len 4 0 100.00% 6 0 100.00% | 49 | fido_assert_hmac_secret_len 4 0 100.00% 6 0 100.00% |
49 | fido_assert_set_authdata 24 0 100.00% 35 0 100.00% | 50 | fido_assert_set_authdata 24 0 100.00% 35 0 100.00% |
50 | fido_assert_set_authdata_raw 24 0 100.00% 34 0 100.00% | 51 | fido_assert_set_authdata_raw 24 4 83.33% 34 7 79.41% |
51 | fido_assert_set_sig 14 0 100.00% 17 0 100.00% | 52 | fido_assert_set_sig 14 0 100.00% 17 0 100.00% |
52 | fido_assert_set_count 10 0 100.00% 21 0 100.00% | 53 | fido_assert_set_count 10 0 100.00% 21 0 100.00% |
53 | assert.c:fido_dev_get_assert_wait 21 0 100.00% 16 0 100.00% | 54 | assert.c:fido_dev_get_assert_wait 21 1 95.24% 16 2 87.50% |
54 | assert.c:fido_dev_get_assert_tx 58 4 93.10% 84 11 86.90% | 55 | assert.c:fido_dev_get_assert_tx 58 4 93.10% 84 11 86.90% |
55 | assert.c:fido_dev_get_assert_rx 20 0 100.00% 38 0 100.00% | 56 | assert.c:fido_dev_get_assert_rx 19 0 100.00% 38 0 100.00% |
56 | assert.c:adjust_assert_count 24 0 100.00% 33 0 100.00% | 57 | assert.c:adjust_assert_count 24 0 100.00% 33 0 100.00% |
57 | assert.c:parse_assert_reply 11 0 100.00% 25 0 100.00% | 58 | assert.c:parse_assert_reply 11 0 100.00% 25 0 100.00% |
58 | assert.c:fido_get_next_assert_tx 9 0 100.00% 11 0 100.00% | 59 | assert.c:fido_get_next_assert_tx 8 2 75.00% 10 3 70.00% |
59 | assert.c:fido_get_next_assert_rx 16 2 87.50% 26 4 84.62% | 60 | assert.c:fido_get_next_assert_rx 15 4 73.33% 26 7 73.08% |
60 | assert.c:decrypt_hmac_secrets 9 1 88.89% 15 4 73.33% | 61 | assert.c:decrypt_hmac_secrets 9 3 66.67% 15 7 53.33% |
61 | assert.c:check_extensions 4 0 100.00% 9 0 100.00% | 62 | assert.c:check_extensions 4 0 100.00% 9 0 100.00% |
62 | assert.c:get_signed_hash 32 0 100.00% 46 0 100.00% | ||
63 | assert.c:fido_assert_clean_authdata 1 0 100.00% 9 0 100.00% | 63 | assert.c:fido_assert_clean_authdata 1 0 100.00% 9 0 100.00% |
64 | assert.c:fido_assert_clean_sig 1 0 100.00% 5 0 100.00% | 64 | assert.c:fido_assert_clean_sig 1 0 100.00% 5 0 100.00% |
65 | --------------------------------------------------------------------------------------- | 65 | --------------------------------------------------------------------------------------- |
66 | TOTAL 569 29 94.90% 901 60 93.34% | 66 | TOTAL 566 43 92.40% 900 87 90.33% |
67 | 67 | ||
68 | File '/home/pedro/projects/libfido2/src/authkey.c': | 68 | File '/libfido2/src/authkey.c': |
69 | Name Regions Miss Cover Lines Miss Cover | 69 | Name Regions Miss Cover Lines Miss Cover |
70 | --------------------------------------------------------------------------------------- | 70 | --------------------------------------------------------------------------------------- |
71 | fido_dev_authkey 1 0 100.00% 3 0 100.00% | 71 | fido_dev_authkey 1 0 100.00% 3 0 100.00% |
72 | authkey.c:fido_dev_authkey_wait 10 0 100.00% 9 0 100.00% | 72 | authkey.c:fido_dev_authkey_wait 10 0 100.00% 9 0 100.00% |
73 | authkey.c:fido_dev_authkey_tx 19 0 100.00% 33 0 100.00% | 73 | authkey.c:fido_dev_authkey_tx 19 0 100.00% 33 0 100.00% |
74 | authkey.c:fido_dev_authkey_rx 7 0 100.00% 18 0 100.00% | 74 | authkey.c:fido_dev_authkey_rx 6 0 100.00% 18 0 100.00% |
75 | authkey.c:parse_authkey 8 0 100.00% 12 0 100.00% | 75 | authkey.c:parse_authkey 8 0 100.00% 12 0 100.00% |
76 | --------------------------------------------------------------------------------------- | 76 | --------------------------------------------------------------------------------------- |
77 | TOTAL 45 0 100.00% 75 0 100.00% | 77 | TOTAL 44 0 100.00% 75 0 100.00% |
78 | 78 | ||
79 | File '/home/pedro/projects/libfido2/src/bio.c': | 79 | File '/libfido2/src/bio.c': |
80 | Name Regions Miss Cover Lines Miss Cover | 80 | Name Regions Miss Cover Lines Miss Cover |
81 | --------------------------------------------------------------------------------------- | 81 | --------------------------------------------------------------------------------------- |
82 | fido_bio_dev_get_template_array 5 2 60.00% 6 0 100.00% | 82 | fido_bio_dev_get_template_array 5 2 60.00% 6 0 100.00% |
@@ -108,30 +108,30 @@ fido_bio_enroll_last_status 1 0 100.00% 3 0 | |||
108 | bio.c:bio_get_template_array_wait 11 0 100.00% 9 0 100.00% | 108 | bio.c:bio_get_template_array_wait 11 0 100.00% 9 0 100.00% |
109 | bio.c:bio_tx 43 0 100.00% 65 0 100.00% | 109 | bio.c:bio_tx 43 0 100.00% 65 0 100.00% |
110 | bio.c:bio_prepare_hmac 18 0 100.00% 36 0 100.00% | 110 | bio.c:bio_prepare_hmac 18 0 100.00% 36 0 100.00% |
111 | bio.c:bio_rx_template_array 12 0 100.00% 21 0 100.00% | 111 | bio.c:bio_rx_template_array 11 0 100.00% 21 0 100.00% |
112 | bio.c:bio_parse_template_array 26 1 96.15% 34 4 88.24% | 112 | bio.c:bio_parse_template_array 26 1 96.15% 34 4 88.24% |
113 | bio.c:decode_template_array 12 1 91.67% 23 3 86.96% | 113 | bio.c:decode_template_array 12 1 91.67% 23 3 86.96% |
114 | bio.c:decode_template 9 0 100.00% 18 0 100.00% | 114 | bio.c:decode_template 9 0 100.00% 18 0 100.00% |
115 | bio.c:bio_set_template_name_wait 19 0 100.00% 24 0 100.00% | 115 | bio.c:bio_set_template_name_wait 19 0 100.00% 24 0 100.00% |
116 | bio.c:bio_enroll_begin_wait 17 1 94.12% 24 3 87.50% | 116 | bio.c:bio_enroll_begin_wait 17 0 100.00% 24 0 100.00% |
117 | bio.c:bio_rx_enroll_begin 16 0 100.00% 29 0 100.00% | 117 | bio.c:bio_rx_enroll_begin 15 0 100.00% 29 0 100.00% |
118 | bio.c:bio_parse_enroll_status 20 0 100.00% 31 0 100.00% | 118 | bio.c:bio_parse_enroll_status 20 0 100.00% 31 0 100.00% |
119 | bio.c:bio_parse_template_id 8 0 100.00% 12 0 100.00% | 119 | bio.c:bio_parse_template_id 8 0 100.00% 12 0 100.00% |
120 | bio.c:bio_enroll_continue_wait 19 0 100.00% 25 0 100.00% | 120 | bio.c:bio_enroll_continue_wait 19 0 100.00% 25 0 100.00% |
121 | bio.c:bio_rx_enroll_continue 12 0 100.00% 22 0 100.00% | 121 | bio.c:bio_rx_enroll_continue 11 0 100.00% 22 0 100.00% |
122 | bio.c:bio_enroll_cancel_wait 11 11 0.00% 12 12 0.00% | 122 | bio.c:bio_enroll_cancel_wait 11 11 0.00% 12 12 0.00% |
123 | bio.c:bio_enroll_remove_wait 17 0 100.00% 24 0 100.00% | 123 | bio.c:bio_enroll_remove_wait 17 0 100.00% 24 0 100.00% |
124 | bio.c:bio_get_info_wait 11 0 100.00% 11 0 100.00% | 124 | bio.c:bio_get_info_wait 11 0 100.00% 11 0 100.00% |
125 | bio.c:bio_rx_info 12 0 100.00% 21 0 100.00% | 125 | bio.c:bio_rx_info 11 0 100.00% 21 0 100.00% |
126 | bio.c:bio_reset_info 1 0 100.00% 4 0 100.00% | 126 | bio.c:bio_reset_info 1 0 100.00% 4 0 100.00% |
127 | bio.c:bio_parse_info 20 0 100.00% 31 0 100.00% | 127 | bio.c:bio_parse_info 20 0 100.00% 31 0 100.00% |
128 | bio.c:bio_reset_template_array 4 0 100.00% 8 0 100.00% | 128 | bio.c:bio_reset_template_array 4 0 100.00% 8 0 100.00% |
129 | bio.c:bio_reset_template 1 0 100.00% 6 0 100.00% | 129 | bio.c:bio_reset_template 1 0 100.00% 6 0 100.00% |
130 | bio.c:bio_reset_enroll 3 0 100.00% 7 0 100.00% | 130 | bio.c:bio_reset_enroll 3 0 100.00% 7 0 100.00% |
131 | --------------------------------------------------------------------------------------- | 131 | --------------------------------------------------------------------------------------- |
132 | TOTAL 422 21 95.02% 661 25 96.22% | 132 | TOTAL 418 20 95.22% 661 22 96.67% |
133 | 133 | ||
134 | File '/home/pedro/projects/libfido2/src/blob.c': | 134 | File '/libfido2/src/blob.c': |
135 | Name Regions Miss Cover Lines Miss Cover | 135 | Name Regions Miss Cover Lines Miss Cover |
136 | --------------------------------------------------------------------------------------- | 136 | --------------------------------------------------------------------------------------- |
137 | fido_blob_new 1 0 100.00% 3 0 100.00% | 137 | fido_blob_new 1 0 100.00% 3 0 100.00% |
@@ -144,7 +144,7 @@ fido_blob_is_empty 3 0 100.00% 3 0 | |||
144 | --------------------------------------------------------------------------------------- | 144 | --------------------------------------------------------------------------------------- |
145 | TOTAL 39 1 97.44% 73 4 94.52% | 145 | TOTAL 39 1 97.44% 73 4 94.52% |
146 | 146 | ||
147 | File '/home/pedro/projects/libfido2/src/buf.c': | 147 | File '/libfido2/src/buf.c': |
148 | Name Regions Miss Cover Lines Miss Cover | 148 | Name Regions Miss Cover Lines Miss Cover |
149 | --------------------------------------------------------------------------------------- | 149 | --------------------------------------------------------------------------------------- |
150 | fido_buf_read 4 0 100.00% 10 0 100.00% | 150 | fido_buf_read 4 0 100.00% 10 0 100.00% |
@@ -152,10 +152,10 @@ fido_buf_write 4 1 75.00% 10 1 | |||
152 | --------------------------------------------------------------------------------------- | 152 | --------------------------------------------------------------------------------------- |
153 | TOTAL 8 1 87.50% 20 1 95.00% | 153 | TOTAL 8 1 87.50% 20 1 95.00% |
154 | 154 | ||
155 | File '/home/pedro/projects/libfido2/src/cbor.c': | 155 | File '/libfido2/src/cbor.c': |
156 | Name Regions Miss Cover Lines Miss Cover | 156 | Name Regions Miss Cover Lines Miss Cover |
157 | --------------------------------------------------------------------------------------- | 157 | --------------------------------------------------------------------------------------- |
158 | cbor_map_iter 20 1 95.00% 30 4 86.67% | 158 | cbor_map_iter 20 0 100.00% 30 0 100.00% |
159 | cbor_array_iter 12 0 100.00% 20 0 100.00% | 159 | cbor_array_iter 12 0 100.00% 20 0 100.00% |
160 | cbor_parse_reply 27 0 100.00% 43 0 100.00% | 160 | cbor_parse_reply 27 0 100.00% 43 0 100.00% |
161 | cbor_vector_free 6 0 100.00% 5 0 100.00% | 161 | cbor_vector_free 6 0 100.00% 5 0 100.00% |
@@ -168,10 +168,10 @@ cbor_flatten_vector 14 1 92.86% 21 1 | |||
168 | cbor_build_frame 15 0 100.00% 32 0 100.00% | 168 | cbor_build_frame 15 0 100.00% 32 0 100.00% |
169 | cbor_encode_rp_entity 13 0 100.00% 14 0 100.00% | 169 | cbor_encode_rp_entity 13 0 100.00% 14 0 100.00% |
170 | cbor_encode_user_entity 21 0 100.00% 18 0 100.00% | 170 | cbor_encode_user_entity 21 0 100.00% 18 0 100.00% |
171 | cbor_encode_pubkey_param 36 0 100.00% 48 0 100.00% | 171 | cbor_encode_pubkey_param 36 1 97.22% 48 0 100.00% |
172 | cbor_encode_pubkey 10 0 100.00% 13 0 100.00% | 172 | cbor_encode_pubkey 10 0 100.00% 13 0 100.00% |
173 | cbor_encode_pubkey_list 18 2 88.89% 23 0 100.00% | 173 | cbor_encode_pubkey_list 18 1 94.44% 23 0 100.00% |
174 | cbor_encode_extensions 13 1 92.31% 16 0 100.00% | 174 | cbor_encode_extensions 24 2 91.67% 26 3 88.46% |
175 | cbor_encode_options 13 0 100.00% 14 0 100.00% | 175 | cbor_encode_options 13 0 100.00% 14 0 100.00% |
176 | cbor_encode_assert_options 13 0 100.00% 14 0 100.00% | 176 | cbor_encode_assert_options 13 0 100.00% 14 0 100.00% |
177 | cbor_encode_pin_auth 8 0 100.00% 12 0 100.00% | 177 | cbor_encode_pin_auth 8 0 100.00% 12 0 100.00% |
@@ -180,11 +180,11 @@ cbor_encode_pin_enc 4 0 100.00% 12 0 | |||
180 | cbor_encode_change_pin_auth 44 1 97.73% 69 3 95.65% | 180 | cbor_encode_change_pin_auth 44 1 97.73% 69 3 95.65% |
181 | cbor_encode_set_pin_auth 17 0 100.00% 28 0 100.00% | 181 | cbor_encode_set_pin_auth 17 0 100.00% 28 0 100.00% |
182 | cbor_encode_pin_hash_enc 15 0 100.00% 27 0 100.00% | 182 | cbor_encode_pin_hash_enc 15 0 100.00% 27 0 100.00% |
183 | cbor_encode_hmac_secret_param 41 1 97.56% 66 4 93.94% | 183 | cbor_encode_hmac_secret_param 41 2 95.12% 66 9 86.36% |
184 | cbor_decode_fmt 9 0 100.00% 18 0 100.00% | 184 | cbor_decode_fmt 9 0 100.00% 18 0 100.00% |
185 | cbor_decode_pubkey 21 1 95.24% 32 2 93.75% | 185 | cbor_decode_pubkey 21 6 71.43% 32 7 78.12% |
186 | cbor_decode_cred_authdata 31 0 100.00% 46 0 100.00% | 186 | cbor_decode_cred_authdata 31 0 100.00% 47 0 100.00% |
187 | cbor_decode_assert_authdata 23 0 100.00% 44 0 100.00% | 187 | cbor_decode_assert_authdata 23 2 91.30% 44 2 95.45% |
188 | cbor_decode_attstmt 8 0 100.00% 10 0 100.00% | 188 | cbor_decode_attstmt 8 0 100.00% 10 0 100.00% |
189 | cbor_decode_uint64 4 0 100.00% 10 0 100.00% | 189 | cbor_decode_uint64 4 0 100.00% 10 0 100.00% |
190 | cbor_decode_cred_id 8 0 100.00% 10 0 100.00% | 190 | cbor_decode_cred_id 8 0 100.00% 10 0 100.00% |
@@ -193,29 +193,30 @@ cbor_decode_rp_entity 8 0 100.00% 10 0 | |||
193 | cbor.c:ctap_check_cbor 28 0 100.00% 32 0 100.00% | 193 | cbor.c:ctap_check_cbor 28 0 100.00% 32 0 100.00% |
194 | cbor.c:check_key_type 8 0 100.00% 9 0 100.00% | 194 | cbor.c:check_key_type 8 0 100.00% 9 0 100.00% |
195 | cbor.c:cbor_add_arg 13 0 100.00% 28 0 100.00% | 195 | cbor.c:cbor_add_arg 13 0 100.00% 28 0 100.00% |
196 | cbor.c:cbor_add_uint8 14 1 92.86% 26 3 88.46% | ||
196 | cbor.c:sha256 7 0 100.00% 15 0 100.00% | 197 | cbor.c:sha256 7 0 100.00% 15 0 100.00% |
197 | cbor.c:get_cose_alg 36 0 100.00% 48 0 100.00% | 198 | cbor.c:get_cose_alg 36 6 83.33% 48 6 87.50% |
198 | cbor.c:find_cose_alg 35 0 100.00% 40 0 100.00% | 199 | cbor.c:find_cose_alg 35 0 100.00% 40 0 100.00% |
199 | cbor.c:decode_attcred 25 0 100.00% 58 0 100.00% | 200 | cbor.c:decode_attcred 25 0 100.00% 58 0 100.00% |
200 | cbor.c:decode_extensions 16 4 75.00% 34 6 82.35% | 201 | cbor.c:decode_extensions 14 9 35.71% 34 13 61.76% |
201 | cbor.c:decode_extension 19 19 0.00% 27 27 0.00% | 202 | cbor.c:decode_extension 27 27 0.00% 36 36 0.00% |
202 | cbor.c:decode_hmac_secret 16 0 100.00% 32 0 100.00% | 203 | cbor.c:decode_hmac_secret 16 4 75.00% 32 6 81.25% |
203 | cbor.c:decode_hmac_secret_aux 7 0 100.00% 17 0 100.00% | 204 | cbor.c:decode_hmac_secret_aux 7 7 0.00% 17 17 0.00% |
204 | cbor.c:decode_attstmt_entry 29 0 100.00% 39 0 100.00% | 205 | cbor.c:decode_attstmt_entry 38 0 100.00% 45 0 100.00% |
205 | cbor.c:decode_x5c 4 0 100.00% 8 0 100.00% | 206 | cbor.c:decode_x5c 4 0 100.00% 8 0 100.00% |
206 | cbor.c:decode_cred_id_entry 10 0 100.00% 23 0 100.00% | 207 | cbor.c:decode_cred_id_entry 10 0 100.00% 23 0 100.00% |
207 | cbor.c:decode_user_entry 25 0 100.00% 39 0 100.00% | 208 | cbor.c:decode_user_entry 25 0 100.00% 39 0 100.00% |
208 | cbor.c:decode_rp_entity_entry 15 0 100.00% 29 0 100.00% | 209 | cbor.c:decode_rp_entity_entry 15 0 100.00% 29 0 100.00% |
209 | --------------------------------------------------------------------------------------- | 210 | --------------------------------------------------------------------------------------- |
210 | TOTAL 844 31 96.33% 1319 47 96.44% | 211 | TOTAL 884 70 92.08% 1371 106 92.27% |
211 | 212 | ||
212 | File '/home/pedro/projects/libfido2/src/cred.c': | 213 | File '/libfido2/src/cred.c': |
213 | Name Regions Miss Cover Lines Miss Cover | 214 | Name Regions Miss Cover Lines Miss Cover |
214 | --------------------------------------------------------------------------------------- | 215 | --------------------------------------------------------------------------------------- |
215 | fido_dev_make_cred 12 0 100.00% 9 0 100.00% | 216 | fido_dev_make_cred 12 0 100.00% 10 0 100.00% |
216 | fido_check_rp_id 4 0 100.00% 14 0 100.00% | 217 | fido_check_rp_id 4 0 100.00% 14 0 100.00% |
217 | fido_cred_verify 45 0 100.00% 71 0 100.00% | 218 | fido_cred_verify 46 6 86.96% 71 11 84.51% |
218 | fido_cred_verify_self 54 10 81.48% 90 14 84.44% | 219 | fido_cred_verify_self 54 14 74.07% 90 22 75.56% |
219 | fido_cred_new 1 0 100.00% 3 0 100.00% | 220 | fido_cred_new 1 0 100.00% 3 0 100.00% |
220 | fido_cred_reset_tx 1 0 100.00% 20 0 100.00% | 221 | fido_cred_reset_tx 1 0 100.00% 20 0 100.00% |
221 | fido_cred_reset_rx 1 0 100.00% 8 0 100.00% | 222 | fido_cred_reset_rx 1 0 100.00% 8 0 100.00% |
@@ -228,10 +229,11 @@ fido_cred_exclude 14 2 85.71% 25 3 | |||
228 | fido_cred_set_clientdata_hash 6 0 100.00% 6 0 100.00% | 229 | fido_cred_set_clientdata_hash 6 0 100.00% 6 0 100.00% |
229 | fido_cred_set_rp 18 2 88.89% 26 6 76.92% | 230 | fido_cred_set_rp 18 2 88.89% 26 6 76.92% |
230 | fido_cred_set_user 33 4 87.88% 50 13 74.00% | 231 | fido_cred_set_user 33 4 87.88% 50 13 74.00% |
231 | fido_cred_set_extensions 9 0 100.00% 8 0 100.00% | 232 | fido_cred_set_extensions 15 0 100.00% 12 0 100.00% |
232 | fido_cred_set_options 6 6 0.00% 6 6 0.00% | 233 | fido_cred_set_options 6 6 0.00% 6 6 0.00% |
233 | fido_cred_set_rk 2 0 100.00% 5 0 100.00% | 234 | fido_cred_set_rk 2 0 100.00% 5 0 100.00% |
234 | fido_cred_set_uv 2 0 100.00% 5 0 100.00% | 235 | fido_cred_set_uv 2 0 100.00% 5 0 100.00% |
236 | fido_cred_set_prot 21 2 90.48% 16 0 100.00% | ||
235 | fido_cred_set_fmt 16 4 75.00% 15 1 93.33% | 237 | fido_cred_set_fmt 16 4 75.00% 15 1 93.33% |
236 | fido_cred_set_type 17 2 88.24% 9 1 88.89% | 238 | fido_cred_set_type 17 2 88.24% 9 1 88.89% |
237 | fido_cred_type 1 0 100.00% 3 0 100.00% | 239 | fido_cred_type 1 0 100.00% 3 0 100.00% |
@@ -244,10 +246,11 @@ fido_cred_sig_ptr 1 0 100.00% 3 0 | |||
244 | fido_cred_sig_len 1 0 100.00% 3 0 100.00% | 246 | fido_cred_sig_len 1 0 100.00% 3 0 100.00% |
245 | fido_cred_authdata_ptr 1 0 100.00% 3 0 100.00% | 247 | fido_cred_authdata_ptr 1 0 100.00% 3 0 100.00% |
246 | fido_cred_authdata_len 1 0 100.00% 3 0 100.00% | 248 | fido_cred_authdata_len 1 0 100.00% 3 0 100.00% |
247 | fido_cred_pubkey_ptr 9 0 100.00% 20 0 100.00% | 249 | fido_cred_pubkey_ptr 9 2 77.78% 20 2 90.00% |
248 | fido_cred_pubkey_len 9 0 100.00% 20 0 100.00% | 250 | fido_cred_pubkey_len 9 2 77.78% 20 2 90.00% |
249 | fido_cred_id_ptr 1 0 100.00% 3 0 100.00% | 251 | fido_cred_id_ptr 1 0 100.00% 3 0 100.00% |
250 | fido_cred_id_len 1 0 100.00% 3 0 100.00% | 252 | fido_cred_id_len 1 0 100.00% 3 0 100.00% |
253 | fido_cred_prot 1 0 100.00% 3 0 100.00% | ||
251 | fido_cred_fmt 1 0 100.00% 3 0 100.00% | 254 | fido_cred_fmt 1 0 100.00% 3 0 100.00% |
252 | fido_cred_rp_id 1 0 100.00% 3 0 100.00% | 255 | fido_cred_rp_id 1 0 100.00% 3 0 100.00% |
253 | fido_cred_rp_name 1 0 100.00% 3 0 100.00% | 256 | fido_cred_rp_name 1 0 100.00% 3 0 100.00% |
@@ -257,19 +260,18 @@ fido_cred_user_id_ptr 1 0 100.00% 3 0 | |||
257 | fido_cred_user_id_len 1 0 100.00% 3 0 100.00% | 260 | fido_cred_user_id_len 1 0 100.00% 3 0 100.00% |
258 | cred.c:fido_dev_make_cred_wait 10 0 100.00% 9 0 100.00% | 261 | cred.c:fido_dev_make_cred_wait 10 0 100.00% 9 0 100.00% |
259 | cred.c:fido_dev_make_cred_tx 59 0 100.00% 81 0 100.00% | 262 | cred.c:fido_dev_make_cred_tx 59 0 100.00% 81 0 100.00% |
260 | cred.c:fido_dev_make_cred_rx 22 0 100.00% 28 0 100.00% | 263 | cred.c:fido_dev_make_cred_rx 21 0 100.00% 28 0 100.00% |
261 | cred.c:parse_makecred_reply 10 0 100.00% 23 0 100.00% | 264 | cred.c:parse_makecred_reply 10 0 100.00% 23 0 100.00% |
262 | cred.c:check_extensions 4 0 100.00% 9 0 100.00% | 265 | cred.c:check_extensions 1 0 100.00% 3 0 100.00% |
263 | cred.c:get_signed_hash_packed 23 1 95.65% 38 3 92.11% | ||
264 | cred.c:get_signed_hash_u2f 22 0 100.00% 20 0 100.00% | 266 | cred.c:get_signed_hash_u2f 22 0 100.00% 20 0 100.00% |
265 | cred.c:verify_sig 27 1 96.30% 40 4 90.00% | 267 | cred.c:verify_sig 27 2 92.59% 40 7 82.50% |
266 | cred.c:fido_cred_clean_authdata 1 0 100.00% 9 0 100.00% | 268 | cred.c:fido_cred_clean_authdata 1 0 100.00% 9 0 100.00% |
267 | cred.c:fido_cred_clean_x509 1 0 100.00% 5 0 100.00% | 269 | cred.c:fido_cred_clean_x509 1 0 100.00% 5 0 100.00% |
268 | cred.c:fido_cred_clean_sig 1 0 100.00% 5 0 100.00% | 270 | cred.c:fido_cred_clean_sig 1 0 100.00% 5 0 100.00% |
269 | --------------------------------------------------------------------------------------- | 271 | --------------------------------------------------------------------------------------- |
270 | TOTAL 532 35 93.42% 850 55 93.53% | 272 | TOTAL 534 51 90.45% 830 78 90.60% |
271 | 273 | ||
272 | File '/home/pedro/projects/libfido2/src/credman.c': | 274 | File '/libfido2/src/credman.c': |
273 | Name Regions Miss Cover Lines Miss Cover | 275 | Name Regions Miss Cover Lines Miss Cover |
274 | --------------------------------------------------------------------------------------- | 276 | --------------------------------------------------------------------------------------- |
275 | fido_credman_get_dev_metadata 9 2 77.78% 8 0 100.00% | 277 | fido_credman_get_dev_metadata 9 2 77.78% 8 0 100.00% |
@@ -294,35 +296,41 @@ fido_credman_rp_id_hash_ptr 4 0 100.00% 6 0 | |||
294 | credman.c:credman_get_metadata_wait 11 0 100.00% 9 0 100.00% | 296 | credman.c:credman_get_metadata_wait 11 0 100.00% 9 0 100.00% |
295 | credman.c:credman_tx 30 0 100.00% 53 0 100.00% | 297 | credman.c:credman_tx 30 0 100.00% 53 0 100.00% |
296 | credman.c:credman_prepare_hmac 21 1 95.24% 43 2 95.35% | 298 | credman.c:credman_prepare_hmac 21 1 95.24% 43 2 95.35% |
297 | credman.c:credman_rx_metadata 12 0 100.00% 21 0 100.00% | 299 | credman.c:credman_rx_metadata 11 0 100.00% 21 0 100.00% |
298 | credman.c:credman_parse_metadata 9 0 100.00% 19 0 100.00% | 300 | credman.c:credman_parse_metadata 9 0 100.00% 19 0 100.00% |
299 | credman.c:credman_get_rk_wait 27 0 100.00% 26 0 100.00% | 301 | credman.c:credman_get_rk_wait 27 0 100.00% 26 0 100.00% |
300 | credman.c:credman_rx_rk 20 0 100.00% 36 0 100.00% | 302 | credman.c:credman_rx_rk 19 0 100.00% 36 0 100.00% |
301 | credman.c:credman_parse_rk_count 16 0 100.00% 25 0 100.00% | 303 | credman.c:credman_parse_rk_count 16 0 100.00% 25 0 100.00% |
302 | credman.c:credman_grow_array 17 2 88.24% 28 5 82.14% | 304 | credman.c:credman_grow_array 17 2 88.24% 28 5 82.14% |
303 | credman.c:credman_parse_rk 13 0 100.00% 25 0 100.00% | 305 | credman.c:credman_parse_rk 13 0 100.00% 25 0 100.00% |
304 | credman.c:credman_rx_next_rk 16 2 87.50% 26 4 84.62% | 306 | credman.c:credman_rx_next_rk 15 2 86.67% 26 4 84.62% |
305 | credman.c:credman_del_rk_wait 16 0 100.00% 19 0 100.00% | 307 | credman.c:credman_del_rk_wait 16 0 100.00% 19 0 100.00% |
306 | credman.c:credman_get_rp_wait 23 0 100.00% 16 0 100.00% | 308 | credman.c:credman_get_rp_wait 23 0 100.00% 16 0 100.00% |
307 | credman.c:credman_rx_rp 20 0 100.00% 36 0 100.00% | 309 | credman.c:credman_rx_rp 19 0 100.00% 36 0 100.00% |
308 | credman.c:credman_parse_rp_count 16 0 100.00% 25 0 100.00% | 310 | credman.c:credman_parse_rp_count 16 0 100.00% 25 0 100.00% |
309 | credman.c:credman_parse_rp 9 0 100.00% 19 0 100.00% | 311 | credman.c:credman_parse_rp 9 0 100.00% 19 0 100.00% |
310 | credman.c:credman_rx_next_rp 16 2 87.50% 26 4 84.62% | 312 | credman.c:credman_rx_next_rp 15 2 86.67% 26 4 84.62% |
311 | credman.c:credman_reset_rk 4 0 100.00% 10 0 100.00% | 313 | credman.c:credman_reset_rk 4 0 100.00% 10 0 100.00% |
312 | credman.c:credman_reset_rp 4 0 100.00% 15 0 100.00% | 314 | credman.c:credman_reset_rp 4 0 100.00% 15 0 100.00% |
313 | --------------------------------------------------------------------------------------- | 315 | --------------------------------------------------------------------------------------- |
314 | TOTAL 381 18 95.28% 589 15 97.45% | 316 | TOTAL 376 18 95.21% 589 15 97.45% |
315 | 317 | ||
316 | File '/home/pedro/projects/libfido2/src/dev.c': | 318 | File '/libfido2/src/dev.c': |
317 | Name Regions Miss Cover Lines Miss Cover | 319 | Name Regions Miss Cover Lines Miss Cover |
318 | --------------------------------------------------------------------------------------- | 320 | --------------------------------------------------------------------------------------- |
321 | fido_dev_register_manifest_func 10 10 0.00% 18 18 0.00% | ||
322 | fido_dev_unregister_manifest_func 7 7 0.00% 13 13 0.00% | ||
323 | fido_dev_info_manifest 17 17 0.00% 24 24 0.00% | ||
324 | fido_dev_open_with_info 5 5 0.00% 6 6 0.00% | ||
319 | fido_dev_open 1 0 100.00% 3 0 100.00% | 325 | fido_dev_open 1 0 100.00% 3 0 100.00% |
320 | fido_dev_close 8 2 75.00% 9 0 100.00% | 326 | fido_dev_close 8 2 75.00% 9 0 100.00% |
321 | fido_dev_cancel 8 2 75.00% 6 3 50.00% | 327 | fido_dev_cancel 7 0 100.00% 6 0 100.00% |
322 | fido_dev_set_io_functions 18 4 77.78% 19 6 68.42% | 328 | fido_dev_set_io_functions 18 4 77.78% 16 6 62.50% |
329 | fido_dev_set_transport_functions 6 6 0.00% 10 10 0.00% | ||
323 | fido_init 7 1 85.71% 4 0 100.00% | 330 | fido_init 7 1 85.71% 4 0 100.00% |
324 | fido_dev_new 9 1 88.89% 22 4 81.82% | 331 | fido_dev_new 5 0 100.00% 16 0 100.00% |
325 | fido_dev_free 6 0 100.00% 10 0 100.00% | 332 | fido_dev_new_with_info 17 17 0.00% 26 26 0.00% |
333 | fido_dev_free 6 0 100.00% 11 0 100.00% | ||
326 | fido_dev_protocol 1 0 100.00% 3 0 100.00% | 334 | fido_dev_protocol 1 0 100.00% 3 0 100.00% |
327 | fido_dev_major 1 0 100.00% 3 0 100.00% | 335 | fido_dev_major 1 0 100.00% 3 0 100.00% |
328 | fido_dev_minor 1 0 100.00% 3 0 100.00% | 336 | fido_dev_minor 1 0 100.00% 3 0 100.00% |
@@ -331,14 +339,15 @@ fido_dev_flags 1 0 100.00% 3 0 | |||
331 | fido_dev_is_fido2 2 0 100.00% 3 0 100.00% | 339 | fido_dev_is_fido2 2 0 100.00% 3 0 100.00% |
332 | fido_dev_force_u2f 2 0 100.00% 3 0 100.00% | 340 | fido_dev_force_u2f 2 0 100.00% 3 0 100.00% |
333 | fido_dev_force_fido2 2 2 0.00% 3 3 0.00% | 341 | fido_dev_force_fido2 2 2 0.00% 3 3 0.00% |
342 | dev.c:find_manifest_func_node 5 5 0.00% 9 9 0.00% | ||
334 | dev.c:fido_dev_open_wait 10 0 100.00% 9 0 100.00% | 343 | dev.c:fido_dev_open_wait 10 0 100.00% 9 0 100.00% |
335 | dev.c:fido_dev_open_tx 26 8 69.23% 32 12 62.50% | 344 | dev.c:fido_dev_open_tx 25 8 68.00% 32 12 62.50% |
336 | dev.c:obtain_nonce 13 2 84.62% 18 2 88.89% | 345 | dev.c:obtain_nonce 4 1 75.00% 5 1 80.00% |
337 | dev.c:fido_dev_open_rx 14 0 100.00% 27 0 100.00% | 346 | dev.c:fido_dev_open_rx 32 0 100.00% 53 0 100.00% |
338 | --------------------------------------------------------------------------------------- | 347 | --------------------------------------------------------------------------------------- |
339 | TOTAL 131 22 83.21% 183 30 83.61% | 348 | TOTAL 201 85 57.71% 294 128 56.46% |
340 | 349 | ||
341 | File '/home/pedro/projects/libfido2/src/ecdh.c': | 350 | File '/libfido2/src/ecdh.c': |
342 | Name Regions Miss Cover Lines Miss Cover | 351 | Name Regions Miss Cover Lines Miss Cover |
343 | --------------------------------------------------------------------------------------- | 352 | --------------------------------------------------------------------------------------- |
344 | fido_do_ecdh 29 0 100.00% 44 0 100.00% | 353 | fido_do_ecdh 29 0 100.00% 44 0 100.00% |
@@ -346,7 +355,7 @@ ecdh.c:do_ecdh 39 0 100.00% 60 0 | |||
346 | --------------------------------------------------------------------------------------- | 355 | --------------------------------------------------------------------------------------- |
347 | TOTAL 68 0 100.00% 104 0 100.00% | 356 | TOTAL 68 0 100.00% 104 0 100.00% |
348 | 357 | ||
349 | File '/home/pedro/projects/libfido2/src/eddsa.c': | 358 | File '/libfido2/src/eddsa.c': |
350 | Name Regions Miss Cover Lines Miss Cover | 359 | Name Regions Miss Cover Lines Miss Cover |
351 | --------------------------------------------------------------------------------------- | 360 | --------------------------------------------------------------------------------------- |
352 | eddsa_pk_decode 8 0 100.00% 10 0 100.00% | 361 | eddsa_pk_decode 8 0 100.00% 10 0 100.00% |
@@ -354,20 +363,20 @@ eddsa_pk_new 1 0 100.00% 3 0 | |||
354 | eddsa_pk_free 6 0 100.00% 11 0 100.00% | 363 | eddsa_pk_free 6 0 100.00% 11 0 100.00% |
355 | eddsa_pk_from_ptr 6 0 100.00% 8 0 100.00% | 364 | eddsa_pk_from_ptr 6 0 100.00% 8 0 100.00% |
356 | eddsa_pk_to_EVP_PKEY 3 0 100.00% 9 0 100.00% | 365 | eddsa_pk_to_EVP_PKEY 3 0 100.00% 9 0 100.00% |
357 | eddsa_pk_from_EVP_PKEY 14 4 71.43% 12 2 83.33% | 366 | eddsa_pk_from_EVP_PKEY 14 0 100.00% 12 0 100.00% |
358 | eddsa.c:decode_pubkey_point 8 0 100.00% 14 0 100.00% | 367 | eddsa.c:decode_pubkey_point 8 0 100.00% 14 0 100.00% |
359 | eddsa.c:decode_coord 8 0 100.00% 12 0 100.00% | 368 | eddsa.c:decode_coord 8 0 100.00% 12 0 100.00% |
360 | --------------------------------------------------------------------------------------- | 369 | --------------------------------------------------------------------------------------- |
361 | TOTAL 54 4 92.59% 79 2 97.47% | 370 | TOTAL 54 0 100.00% 79 0 100.00% |
362 | 371 | ||
363 | File '/home/pedro/projects/libfido2/src/err.c': | 372 | File '/libfido2/src/err.c': |
364 | Name Regions Miss Cover Lines Miss Cover | 373 | Name Regions Miss Cover Lines Miss Cover |
365 | --------------------------------------------------------------------------------------- | 374 | --------------------------------------------------------------------------------------- |
366 | fido_strerr 108 108 0.00% 112 112 0.00% | 375 | fido_strerr 108 108 0.00% 112 112 0.00% |
367 | --------------------------------------------------------------------------------------- | 376 | --------------------------------------------------------------------------------------- |
368 | TOTAL 108 108 0.00% 112 112 0.00% | 377 | TOTAL 108 108 0.00% 112 112 0.00% |
369 | 378 | ||
370 | File '/home/pedro/projects/libfido2/src/es256.c': | 379 | File '/libfido2/src/es256.c': |
371 | Name Regions Miss Cover Lines Miss Cover | 380 | Name Regions Miss Cover Lines Miss Cover |
372 | --------------------------------------------------------------------------------------- | 381 | --------------------------------------------------------------------------------------- |
373 | es256_pk_decode 8 0 100.00% 10 0 100.00% | 382 | es256_pk_decode 8 0 100.00% 10 0 100.00% |
@@ -376,28 +385,28 @@ es256_sk_new 1 0 100.00% 3 0 | |||
376 | es256_sk_free 6 0 100.00% 11 0 100.00% | 385 | es256_sk_free 6 0 100.00% 11 0 100.00% |
377 | es256_pk_new 1 0 100.00% 3 0 100.00% | 386 | es256_pk_new 1 0 100.00% 3 0 100.00% |
378 | es256_pk_free 6 0 100.00% 11 0 100.00% | 387 | es256_pk_free 6 0 100.00% 11 0 100.00% |
379 | es256_pk_from_ptr 6 0 100.00% 8 0 100.00% | 388 | es256_pk_from_ptr 11 0 100.00% 13 0 100.00% |
380 | es256_pk_set_x 1 0 100.00% 5 0 100.00% | 389 | es256_pk_set_x 1 0 100.00% 5 0 100.00% |
381 | es256_pk_set_y 1 0 100.00% 5 0 100.00% | 390 | es256_pk_set_y 1 0 100.00% 5 0 100.00% |
382 | es256_sk_create 39 2 94.87% 46 6 86.96% | 391 | es256_sk_create 39 0 100.00% 46 0 100.00% |
383 | es256_pk_to_EVP_PKEY 41 0 100.00% 58 0 100.00% | 392 | es256_pk_to_EVP_PKEY 41 0 100.00% 58 0 100.00% |
384 | es256_pk_from_EC_KEY 38 2 94.74% 39 7 82.05% | 393 | es256_pk_from_EC_KEY 38 0 100.00% 39 0 100.00% |
385 | es256_sk_to_EVP_PKEY 27 0 100.00% 41 0 100.00% | 394 | es256_sk_to_EVP_PKEY 27 0 100.00% 41 0 100.00% |
386 | es256_derive_pk 25 0 100.00% 34 0 100.00% | 395 | es256_derive_pk 25 0 100.00% 34 0 100.00% |
387 | es256.c:decode_pubkey_point 9 0 100.00% 16 0 100.00% | 396 | es256.c:decode_pubkey_point 9 0 100.00% 16 0 100.00% |
388 | es256.c:decode_coord 8 0 100.00% 12 0 100.00% | 397 | es256.c:decode_coord 8 0 100.00% 12 0 100.00% |
389 | --------------------------------------------------------------------------------------- | 398 | --------------------------------------------------------------------------------------- |
390 | TOTAL 273 4 98.53% 372 13 96.51% | 399 | TOTAL 278 0 100.00% 377 0 100.00% |
391 | 400 | ||
392 | File '/home/pedro/projects/libfido2/src/extern.h': | 401 | File '/libfido2/src/extern.h': |
393 | Name Regions Miss Cover Lines Miss Cover | 402 | Name Regions Miss Cover Lines Miss Cover |
394 | --------------------------------------------------------------------------------------- | 403 | --------------------------------------------------------------------------------------- |
395 | 404 | ||
396 | File '/home/pedro/projects/libfido2/src/fido.h': | 405 | File '/libfido2/src/fido.h': |
397 | Name Regions Miss Cover Lines Miss Cover | 406 | Name Regions Miss Cover Lines Miss Cover |
398 | --------------------------------------------------------------------------------------- | 407 | --------------------------------------------------------------------------------------- |
399 | 408 | ||
400 | File '/home/pedro/projects/libfido2/src/hid.c': | 409 | File '/libfido2/src/hid.c': |
401 | Name Regions Miss Cover Lines Miss Cover | 410 | Name Regions Miss Cover Lines Miss Cover |
402 | --------------------------------------------------------------------------------------- | 411 | --------------------------------------------------------------------------------------- |
403 | fido_dev_info_new 1 1 0.00% 3 3 0.00% | 412 | fido_dev_info_new 1 1 0.00% 3 3 0.00% |
@@ -411,30 +420,31 @@ fido_dev_info_product_string 1 1 0.00% 3 3 | |||
411 | --------------------------------------------------------------------------------------- | 420 | --------------------------------------------------------------------------------------- |
412 | TOTAL 16 16 0.00% 38 38 0.00% | 421 | TOTAL 16 16 0.00% 38 38 0.00% |
413 | 422 | ||
414 | File '/home/pedro/projects/libfido2/src/hid_linux.c': | 423 | File '/libfido2/src/hid_linux.c': |
415 | Name Regions Miss Cover Lines Miss Cover | 424 | Name Regions Miss Cover Lines Miss Cover |
416 | --------------------------------------------------------------------------------------- | 425 | --------------------------------------------------------------------------------------- |
417 | fido_dev_info_manifest 33 33 0.00% 40 40 0.00% | 426 | fido_hid_manifest 33 33 0.00% 46 46 0.00% |
418 | fido_hid_open 6 6 0.00% 11 11 0.00% | 427 | fido_hid_open 6 6 0.00% 11 11 0.00% |
419 | fido_hid_close 1 1 0.00% 6 6 0.00% | 428 | fido_hid_close 1 1 0.00% 6 6 0.00% |
420 | fido_hid_read 12 12 0.00% 16 16 0.00% | 429 | fido_hid_read 12 12 0.00% 16 16 0.00% |
421 | fido_hid_write 12 12 0.00% 16 16 0.00% | 430 | fido_hid_write 12 12 0.00% 16 16 0.00% |
422 | hid_linux.c:copy_info 35 35 0.00% 56 56 0.00% | 431 | hid_linux.c:copy_info 35 35 0.00% 56 56 0.00% |
423 | hid_linux.c:is_fido 6 6 0.00% 14 14 0.00% | 432 | hid_linux.c:is_fido 6 6 0.00% 14 14 0.00% |
424 | hid_linux.c:get_report_descriptor 17 17 0.00% 31 31 0.00% | 433 | hid_linux.c:get_report_descriptor 17 17 0.00% 30 30 0.00% |
425 | hid_linux.c:get_usage_info 16 16 0.00% 33 33 0.00% | 434 | hid_linux.c:get_usage_info 16 16 0.00% 33 33 0.00% |
426 | hid_linux.c:get_key_len 6 6 0.00% 14 14 0.00% | 435 | hid_linux.c:get_key_len 6 6 0.00% 14 14 0.00% |
427 | hid_linux.c:get_key_val 6 6 0.00% 20 20 0.00% | 436 | hid_linux.c:get_key_val 6 6 0.00% 20 20 0.00% |
428 | hid_linux.c:parse_uevent 16 16 0.00% 30 30 0.00% | 437 | hid_linux.c:parse_uevent 16 16 0.00% 30 30 0.00% |
429 | --------------------------------------------------------------------------------------- | 438 | --------------------------------------------------------------------------------------- |
430 | TOTAL 166 166 0.00% 287 287 0.00% | 439 | TOTAL 166 166 0.00% 292 292 0.00% |
431 | 440 | ||
432 | File '/home/pedro/projects/libfido2/src/info.c': | 441 | File '/libfido2/src/info.c': |
433 | Name Regions Miss Cover Lines Miss Cover | 442 | Name Regions Miss Cover Lines Miss Cover |
434 | --------------------------------------------------------------------------------------- | 443 | --------------------------------------------------------------------------------------- |
444 | fido_dev_get_cbor_info_wait 10 0 100.00% 9 0 100.00% | ||
435 | fido_dev_get_cbor_info 1 0 100.00% 3 0 100.00% | 445 | fido_dev_get_cbor_info 1 0 100.00% 3 0 100.00% |
436 | fido_cbor_info_new 1 0 100.00% 3 0 100.00% | 446 | fido_cbor_info_new 1 0 100.00% 3 0 100.00% |
437 | fido_cbor_info_free 6 1 83.33% 14 0 100.00% | 447 | fido_cbor_info_free 6 0 100.00% 14 0 100.00% |
438 | fido_cbor_info_versions_ptr 1 0 100.00% 3 0 100.00% | 448 | fido_cbor_info_versions_ptr 1 0 100.00% 3 0 100.00% |
439 | fido_cbor_info_versions_len 1 0 100.00% 3 0 100.00% | 449 | fido_cbor_info_versions_len 1 0 100.00% 3 0 100.00% |
440 | fido_cbor_info_extensions_ptr 1 0 100.00% 3 0 100.00% | 450 | fido_cbor_info_extensions_ptr 1 0 100.00% 3 0 100.00% |
@@ -447,9 +457,8 @@ fido_cbor_info_options_len 1 0 100.00% 3 0 | |||
447 | fido_cbor_info_maxmsgsiz 1 0 100.00% 3 0 100.00% | 457 | fido_cbor_info_maxmsgsiz 1 0 100.00% 3 0 100.00% |
448 | fido_cbor_info_protocols_ptr 1 0 100.00% 3 0 100.00% | 458 | fido_cbor_info_protocols_ptr 1 0 100.00% 3 0 100.00% |
449 | fido_cbor_info_protocols_len 1 0 100.00% 3 0 100.00% | 459 | fido_cbor_info_protocols_len 1 0 100.00% 3 0 100.00% |
450 | info.c:fido_dev_get_cbor_info_wait 10 0 100.00% 9 0 100.00% | 460 | info.c:fido_dev_get_cbor_info_tx 8 0 100.00% 12 0 100.00% |
451 | info.c:fido_dev_get_cbor_info_tx 9 0 100.00% 13 0 100.00% | 461 | info.c:fido_dev_get_cbor_info_rx 6 0 100.00% 18 0 100.00% |
452 | info.c:fido_dev_get_cbor_info_rx 7 0 100.00% 18 0 100.00% | ||
453 | info.c:parse_reply_element 13 0 100.00% 27 0 100.00% | 462 | info.c:parse_reply_element 13 0 100.00% 27 0 100.00% |
454 | info.c:decode_versions 12 0 100.00% 21 0 100.00% | 463 | info.c:decode_versions 12 0 100.00% 21 0 100.00% |
455 | info.c:decode_version 4 0 100.00% 14 0 100.00% | 464 | info.c:decode_version 4 0 100.00% 14 0 100.00% |
@@ -464,22 +473,25 @@ info.c:free_str_array 4 0 100.00% 8 0 | |||
464 | info.c:free_opt_array 4 0 100.00% 9 0 100.00% | 473 | info.c:free_opt_array 4 0 100.00% 9 0 100.00% |
465 | info.c:free_byte_array 1 0 100.00% 6 0 100.00% | 474 | info.c:free_byte_array 1 0 100.00% 6 0 100.00% |
466 | --------------------------------------------------------------------------------------- | 475 | --------------------------------------------------------------------------------------- |
467 | TOTAL 148 1 99.32% 305 0 100.00% | 476 | TOTAL 146 0 100.00% 304 0 100.00% |
468 | 477 | ||
469 | File '/home/pedro/projects/libfido2/src/io.c': | 478 | File '/libfido2/src/io.c': |
470 | Name Regions Miss Cover Lines Miss Cover | 479 | Name Regions Miss Cover Lines Miss Cover |
471 | --------------------------------------------------------------------------------------- | 480 | --------------------------------------------------------------------------------------- |
472 | fido_tx 18 0 100.00% 35 0 100.00% | 481 | fido_tx 14 1 92.86% 18 0 100.00% |
473 | fido_rx 34 3 91.18% 84 12 85.71% | 482 | fido_rx 13 2 84.62% 21 3 85.71% |
474 | fido_rx_cbor_status 9 0 100.00% 13 0 100.00% | 483 | fido_rx_cbor_status 8 0 100.00% 12 0 100.00% |
475 | io.c:tx_preamble 16 1 93.75% 24 1 95.83% | 484 | io.c:tx_empty 7 0 100.00% 16 0 100.00% |
476 | io.c:tx_frame 16 1 93.75% 21 0 100.00% | 485 | io.c:tx 13 0 100.00% 21 0 100.00% |
477 | io.c:rx_preamble 11 0 100.00% 12 0 100.00% | 486 | io.c:tx_preamble 10 0 100.00% 20 0 100.00% |
478 | io.c:rx_frame 9 1 88.89% 12 0 100.00% | 487 | io.c:tx_frame 9 0 100.00% 18 0 100.00% |
479 | --------------------------------------------------------------------------------------- | 488 | io.c:rx 25 1 96.00% 58 4 93.10% |
480 | TOTAL 113 6 94.69% 201 13 93.53% | 489 | io.c:rx_preamble 18 1 94.44% 25 4 84.00% |
490 | io.c:rx_frame 6 0 100.00% 9 0 100.00% | ||
491 | --------------------------------------------------------------------------------------- | ||
492 | TOTAL 123 5 95.93% 218 11 94.95% | ||
481 | 493 | ||
482 | File '/home/pedro/projects/libfido2/src/iso7816.c': | 494 | File '/libfido2/src/iso7816.c': |
483 | Name Regions Miss Cover Lines Miss Cover | 495 | Name Regions Miss Cover Lines Miss Cover |
484 | --------------------------------------------------------------------------------------- | 496 | --------------------------------------------------------------------------------------- |
485 | iso7816_new 4 0 100.00% 19 0 100.00% | 497 | iso7816_new 4 0 100.00% 19 0 100.00% |
@@ -490,25 +502,27 @@ iso7816_len 1 0 100.00% 4 0 | |||
490 | --------------------------------------------------------------------------------------- | 502 | --------------------------------------------------------------------------------------- |
491 | TOTAL 18 1 94.44% 47 0 100.00% | 503 | TOTAL 18 1 94.44% 47 0 100.00% |
492 | 504 | ||
493 | File '/home/pedro/projects/libfido2/src/log.c': | 505 | File '/libfido2/src/log.c': |
494 | Name Regions Miss Cover Lines Miss Cover | 506 | Name Regions Miss Cover Lines Miss Cover |
495 | --------------------------------------------------------------------------------------- | 507 | --------------------------------------------------------------------------------------- |
496 | fido_log_init 1 1 0.00% 3 3 0.00% | 508 | fido_log_init 1 0 100.00% 4 0 100.00% |
497 | fido_log_xxd 11 8 27.27% 18 12 33.33% | 509 | fido_log_debug 11 1 90.91% 16 0 100.00% |
498 | fido_log_debug 4 1 75.00% 13 8 38.46% | 510 | fido_log_xxd 18 0 100.00% 23 0 100.00% |
511 | fido_set_log_handler 3 0 100.00% 4 0 100.00% | ||
512 | log.c:log_on_stderr 1 1 0.00% 3 3 0.00% | ||
499 | --------------------------------------------------------------------------------------- | 513 | --------------------------------------------------------------------------------------- |
500 | TOTAL 16 10 37.50% 34 23 32.35% | 514 | TOTAL 34 2 94.12% 50 3 94.00% |
501 | 515 | ||
502 | File '/home/pedro/projects/libfido2/src/pin.c': | 516 | File '/libfido2/src/pin.c': |
503 | Name Regions Miss Cover Lines Miss Cover | 517 | Name Regions Miss Cover Lines Miss Cover |
504 | --------------------------------------------------------------------------------------- | 518 | --------------------------------------------------------------------------------------- |
505 | fido_dev_get_pin_token 1 0 100.00% 3 0 100.00% | 519 | fido_dev_get_pin_token 1 0 100.00% 3 0 100.00% |
506 | fido_dev_set_pin 1 0 100.00% 3 0 100.00% | 520 | fido_dev_set_pin 1 0 100.00% 3 0 100.00% |
507 | fido_dev_get_retry_count 1 0 100.00% 3 0 100.00% | 521 | fido_dev_get_retry_count 1 0 100.00% 3 0 100.00% |
508 | cbor_add_pin_params 17 0 100.00% 27 0 100.00% | 522 | cbor_add_pin_params 17 0 100.00% 27 0 100.00% |
509 | pin.c:fido_dev_get_pin_token_wait 10 0 100.00% 9 0 100.00% | 523 | pin.c:fido_dev_get_pin_token_wait 10 0 100.00% 10 0 100.00% |
510 | pin.c:fido_dev_get_pin_token_tx 29 0 100.00% 40 0 100.00% | 524 | pin.c:fido_dev_get_pin_token_tx 29 0 100.00% 40 0 100.00% |
511 | pin.c:fido_dev_get_pin_token_rx 21 0 100.00% 36 0 100.00% | 525 | pin.c:fido_dev_get_pin_token_rx 20 0 100.00% 36 0 100.00% |
512 | pin.c:parse_pintoken 8 0 100.00% 12 0 100.00% | 526 | pin.c:parse_pintoken 8 0 100.00% 12 0 100.00% |
513 | pin.c:fido_dev_set_pin_wait 16 0 100.00% 22 0 100.00% | 527 | pin.c:fido_dev_set_pin_wait 16 0 100.00% 22 0 100.00% |
514 | pin.c:fido_dev_change_pin_tx 41 0 100.00% 59 0 100.00% | 528 | pin.c:fido_dev_change_pin_tx 41 0 100.00% 59 0 100.00% |
@@ -516,49 +530,49 @@ pin.c:pad64 18 0 100.00% 24 0 | |||
516 | pin.c:fido_dev_set_pin_tx 33 0 100.00% 48 0 100.00% | 530 | pin.c:fido_dev_set_pin_tx 33 0 100.00% 48 0 100.00% |
517 | pin.c:fido_dev_get_retry_count_wait 10 0 100.00% 9 0 100.00% | 531 | pin.c:fido_dev_get_retry_count_wait 10 0 100.00% 9 0 100.00% |
518 | pin.c:fido_dev_get_retry_count_tx 19 0 100.00% 28 0 100.00% | 532 | pin.c:fido_dev_get_retry_count_tx 19 0 100.00% 28 0 100.00% |
519 | pin.c:fido_dev_get_retry_count_rx 12 0 100.00% 21 0 100.00% | 533 | pin.c:fido_dev_get_retry_count_rx 11 0 100.00% 21 0 100.00% |
520 | pin.c:parse_retry_count 13 0 100.00% 20 0 100.00% | 534 | pin.c:parse_retry_count 13 0 100.00% 20 0 100.00% |
521 | --------------------------------------------------------------------------------------- | 535 | --------------------------------------------------------------------------------------- |
522 | TOTAL 250 0 100.00% 364 0 100.00% | 536 | TOTAL 248 0 100.00% 365 0 100.00% |
523 | 537 | ||
524 | File '/home/pedro/projects/libfido2/src/reset.c': | 538 | File '/libfido2/src/reset.c': |
525 | Name Regions Miss Cover Lines Miss Cover | 539 | Name Regions Miss Cover Lines Miss Cover |
526 | --------------------------------------------------------------------------------------- | 540 | --------------------------------------------------------------------------------------- |
527 | fido_dev_reset 1 0 100.00% 3 0 100.00% | 541 | fido_dev_reset 1 0 100.00% 3 0 100.00% |
528 | reset.c:fido_dev_reset_wait 10 0 100.00% 9 0 100.00% | 542 | reset.c:fido_dev_reset_wait 10 0 100.00% 9 0 100.00% |
529 | reset.c:fido_dev_reset_tx 9 0 100.00% 11 0 100.00% | 543 | reset.c:fido_dev_reset_tx 8 0 100.00% 10 0 100.00% |
530 | --------------------------------------------------------------------------------------- | 544 | --------------------------------------------------------------------------------------- |
531 | TOTAL 20 0 100.00% 23 0 100.00% | 545 | TOTAL 19 0 100.00% 22 0 100.00% |
532 | 546 | ||
533 | File '/home/pedro/projects/libfido2/src/rs256.c': | 547 | File '/libfido2/src/rs256.c': |
534 | Name Regions Miss Cover Lines Miss Cover | 548 | Name Regions Miss Cover Lines Miss Cover |
535 | --------------------------------------------------------------------------------------- | 549 | --------------------------------------------------------------------------------------- |
536 | rs256_pk_decode 8 0 100.00% 10 0 100.00% | 550 | rs256_pk_decode 8 8 0.00% 10 10 0.00% |
537 | rs256_pk_new 1 0 100.00% 3 0 100.00% | 551 | rs256_pk_new 1 0 100.00% 3 0 100.00% |
538 | rs256_pk_free 6 0 100.00% 11 0 100.00% | 552 | rs256_pk_free 6 0 100.00% 11 0 100.00% |
539 | rs256_pk_from_ptr 6 0 100.00% 8 0 100.00% | 553 | rs256_pk_from_ptr 6 0 100.00% 8 0 100.00% |
540 | rs256_pk_to_EVP_PKEY 32 0 100.00% 48 0 100.00% | 554 | rs256_pk_to_EVP_PKEY 32 0 100.00% 48 0 100.00% |
541 | rs256_pk_from_RSA 32 6 81.25% 32 9 71.88% | 555 | rs256_pk_from_RSA 32 4 87.50% 32 6 81.25% |
542 | rs256.c:decode_rsa_pubkey 9 0 100.00% 16 0 100.00% | 556 | rs256.c:decode_rsa_pubkey 9 9 0.00% 16 16 0.00% |
543 | rs256.c:decode_bignum 8 0 100.00% 12 0 100.00% | 557 | rs256.c:decode_bignum 8 8 0.00% 12 12 0.00% |
544 | --------------------------------------------------------------------------------------- | 558 | --------------------------------------------------------------------------------------- |
545 | TOTAL 102 6 94.12% 140 9 93.57% | 559 | TOTAL 102 29 71.57% 140 44 68.57% |
546 | 560 | ||
547 | File '/home/pedro/projects/libfido2/src/u2f.c': | 561 | File '/libfido2/src/u2f.c': |
548 | Name Regions Miss Cover Lines Miss Cover | 562 | Name Regions Miss Cover Lines Miss Cover |
549 | --------------------------------------------------------------------------------------- | 563 | --------------------------------------------------------------------------------------- |
550 | u2f_register 70 1 98.57% 89 0 100.00% | 564 | u2f_register 70 5 92.86% 88 7 92.05% |
551 | u2f_authenticate 27 0 100.00% 33 0 100.00% | 565 | u2f_authenticate 32 4 87.50% 44 2 95.45% |
552 | u2f.c:key_lookup 44 0 100.00% 69 0 100.00% | 566 | u2f.c:key_lookup 44 0 100.00% 69 0 100.00% |
553 | u2f.c:send_dummy_register 31 1 96.77% 50 0 100.00% | 567 | u2f.c:send_dummy_register 31 5 83.87% 49 8 83.67% |
554 | u2f.c:parse_register_reply 57 0 100.00% 83 0 100.00% | 568 | u2f.c:parse_register_reply 57 0 100.00% 83 0 100.00% |
555 | u2f.c:x5c_get 21 1 95.24% 37 3 91.89% | 569 | u2f.c:x5c_get 21 2 90.48% 37 6 83.78% |
556 | u2f.c:sig_get 8 1 87.50% 16 6 62.50% | 570 | u2f.c:sig_get 8 1 87.50% 16 6 62.50% |
557 | u2f.c:encode_cred_authdata 37 2 94.59% 82 6 92.68% | 571 | u2f.c:encode_cred_authdata 37 3 91.89% 82 9 89.02% |
558 | u2f.c:cbor_blob_from_ec_point 22 0 100.00% 39 0 100.00% | 572 | u2f.c:cbor_blob_from_ec_point 22 1 95.45% 39 3 92.31% |
559 | u2f.c:u2f_authenticate_single 34 2 94.12% 53 4 92.45% | 573 | u2f.c:u2f_authenticate_single 36 2 94.44% 58 4 93.10% |
560 | u2f.c:do_auth 50 1 98.00% 72 0 100.00% | 574 | u2f.c:do_auth 50 3 94.00% 71 4 94.37% |
561 | u2f.c:parse_auth_reply 23 2 91.30% 29 3 89.66% | 575 | u2f.c:parse_auth_reply 23 2 91.30% 29 3 89.66% |
562 | u2f.c:authdata_fake 12 0 100.00% 34 0 100.00% | 576 | u2f.c:authdata_fake 12 0 100.00% 34 0 100.00% |
563 | --------------------------------------------------------------------------------------- | 577 | --------------------------------------------------------------------------------------- |
564 | TOTAL 436 11 97.48% 686 22 96.79% | 578 | TOTAL 443 28 93.68% 699 52 92.56% |