OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Function: BSDgetopt
23
Function: chan_is_dead
4
Function: channel_request_rforward_cancel_tcpip
5
Function: client_wait_until_can_do_something
6
Function: delete_all
...10
Function: load_hostkeys
...20
Function: subprocess
21
Function: xasprintf
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
arc4random_uniform
Name: arc4random_uniform
Prototype: u_int32_t arc4random_uniform(u_int32_t upper_bound)
Coverage:  50.000% (4/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c
Lines: 291-315
 50.000% (4/8)
94
argv_assemble
Name: argv_assemble
Prototype: char * argv_assemble(int argc, char **argv)
Coverage:  0.000% (0/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1677-1726
  0.000% (0/45)
4214
argv_split
Name: argv_split
Prototype: int argv_split(const char *s, int *argcp, char ***argvp)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1603-1671
  0.000% (0/63)
5915
array_append
Name: array_append
Prototype: static void array_append(const char *file, const int line, const char *directive, char ***array, u_int *lp, const char *s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 223-234
 50.000% (2/4)
52
ask_filename
Name: ask_filename
Prototype: static void ask_filename(struct passwd *pw, const char *prompt)
Coverage:  0.000% (0/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 251-297
  0.000% (0/57)
21621
ask_permission
Name: ask_permission
Prototype: int ask_permission(const char *fmt, ...)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readpass.c
Lines: 168-192
  0.000% (0/11)
313
assemble_algorithms
Name: assemble_algorithms
Prototype: static void assemble_algorithms(ServerOptions *o)
Coverage:  36.364% (8/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 192-221
 36.364% (8/22)
198
atoi_err
Name: atoi_err
Prototype: const char * atoi_err(const char *nptr, int *val)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1951-1963
  0.000% (0/9)
183
atomicio
Name: atomicio
Prototype: size_t atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/atomicio.c
Lines: 91-95
100.000% (1/1)
91
atomicio6
Name: atomicio6
Prototype: size_t atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n, int (*cb)(void *, size_t), void *cb_arg)
Coverage:  41.667% (10/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/atomicio.c
Lines: 51-89
 41.667% (10/24)
628
atomiciov
Name: atomiciov
Prototype: size_t atomiciov(ssize_t (*f) (int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/atomicio.c
Lines: 165-170
  0.000% (0/1)
91
atomiciov6
Name: atomiciov6
Prototype: size_t atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd, const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *cb_arg)
Coverage:  0.000% (0/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/atomicio.c
Lines: 100-163
  0.000% (0/47)
9612
attrib_clear
Name: attrib_clear
Prototype: void attrib_clear(Attrib *a)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c
Lines: 53-63
  0.000% (0/1)
71
attrib_to_stat
Name: attrib_to_stat
Prototype: void attrib_to_stat(const Attrib *a, struct stat *st)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c
Lines: 84-101
  0.000% (0/13)
195
attrib_to_tv
Name: attrib_to_tv
Prototype: static struct timeval * attrib_to_tv(const Attrib *a)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 880-890
  0.000% (0/1)
51
auth2_authctxt_reset_info
Name: auth2_authctxt_reset_info
Prototype: void auth2_authctxt_reset_info(Authctxt *authctxt)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 671-677
  0.000% (0/1)
121
auth2_challenge
Name: auth2_challenge
Prototype: int auth2_challenge(struct ssh *ssh, char *devs)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-chall.c
Lines: 193-206
  0.000% (0/9)
153
auth2_challenge_start
Name: auth2_challenge_start
Prototype: static int auth2_challenge_start(struct ssh *ssh)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-chall.c
Lines: 222-251
  0.000% (0/10)
214
auth2_challenge_stop
Name: auth2_challenge_stop
Prototype: void auth2_challenge_stop(struct ssh *ssh)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-chall.c
Lines: 209-219
  0.000% (0/4)
152
auth2_key_already_used
Name: auth2_key_already_used
Prototype: int auth2_key_already_used(Authctxt *authctxt, const struct sshkey *key)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 731-749
  0.000% (0/7)
163
auth2_method_allowed
Name: auth2_method_allowed
Prototype: int auth2_method_allowed(Authctxt *authctxt, const char *method, const char *submethod)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 436-454
  0.000% (0/10)
84
auth2_methods_valid
Name: auth2_methods_valid
Prototype: int auth2_methods_valid(const char *_methods, int need_enable)
Coverage:  0.000% (0/66)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 507-547
  0.000% (0/66)
30216
auth2_read_banner
Name: auth2_read_banner
Prototype: char * auth2_read_banner(void)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 107-138
  0.000% (0/15)
455
auth2_record_info
Name: auth2_record_info
Prototype: void auth2_record_info(Authctxt *authctxt, const char *fmt, ...)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 680-695
  0.000% (0/6)
312
auth2_record_key
Name: auth2_record_key
Prototype: void auth2_record_key(Authctxt *authctxt, int authenticated, const struct sshkey *key)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 702-728
  0.000% (0/15)
195
auth2_setup_methods_lists
Name: auth2_setup_methods_lists
Prototype: int auth2_setup_methods_lists(Authctxt *authctxt)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 556-585
  0.000% (0/13)
225
auth2_update_methods_lists
Name: auth2_update_methods_lists
Prototype: int auth2_update_methods_lists(Authctxt *authctxt, const char *method, const char *submethod)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 645-668
  0.000% (0/13)
155
auth2_update_session_info
Name: auth2_update_session_info
Prototype: void auth2_update_session_info(Authctxt *authctxt, const char *method, const char *submethod)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 755-793
  0.000% (0/38)
7110
auth_activate_options
Name: auth_activate_options
Prototype: int auth_activate_options(struct ssh *ssh, struct sshauthopt *opts)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 1077-1089
  0.000% (0/4)
132
auth_authorise_keyopts
Name: auth_authorise_keyopts
Prototype: int auth_authorise_keyopts(struct ssh *ssh, struct passwd *pw, struct sshauthopt *opts, int allow_cert_authority, const char *loc)
Coverage:  0.000% (0/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 1109-1202
  0.000% (0/36)
5914
auth_debug_add
Name: auth_debug_add
Prototype: void auth_debug_add(const char *fmt,...)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 673-688
  0.000% (0/7)
283
auth_debug_reset
Name: auth_debug_reset
Prototype: void auth_debug_reset(void)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 708-715
  0.000% (0/7)
83
auth_debug_send
Name: auth_debug_send
Prototype: void auth_debug_send(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 690-706
  0.000% (0/10)
174
auth_get_canonical_hostname
Name: auth_get_canonical_hostname
Prototype: const char * auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 839-852
  0.000% (0/7)
83
auth_input_request_forwarding
Name: auth_input_request_forwarding
Prototype: static int auth_input_request_forwarding(struct ssh *ssh, struct passwd * pw)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 188-247
  0.000% (0/17)
577
auth_key_is_revoked
Name: auth_key_is_revoked
Prototype: int auth_key_is_revoked(struct sshkey *key)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 635-671
  0.000% (0/16)
307
auth_log
Name: auth_log
Prototype: void auth_log(Authctxt *authctxt, int authenticated, int partial, const char *method, const char *submethod)
Coverage:  0.000% (0/173)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 310-372
  0.000% (0/173)
75632
auth_log_authopts
Name: auth_log_authopts
Prototype: void auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote)
Coverage:  0.000% (0/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 1009-1074
  0.000% (0/46)
5912
auth_maxtries_exceeded
Name: auth_maxtries_exceeded
Prototype: void auth_maxtries_exceeded(Authctxt *authctxt)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 375-388
  0.000% (0/1)
81
auth_openfile
Name: auth_openfile
Prototype: static FILE * auth_openfile(const char *file, struct passwd *pw, int strict_modes, int log_missing, char *file_type)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 504-544
  0.000% (0/23)
747
auth_openkeyfile
Name: auth_openkeyfile
Prototype: FILE * auth_openkeyfile(const char *file, struct passwd *pw, int strict_modes)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 547-551
  0.000% (0/1)
11
auth_openprincipals
Name: auth_openprincipals
Prototype: FILE * auth_openprincipals(const char *file, struct passwd *pw, int strict_modes)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 553-558
  0.000% (0/1)
21
auth_password
Name: auth_password
Prototype: int auth_password(struct ssh *ssh, const char *password)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-passwd.c
Lines: 76-129
  0.000% (0/27)
177
auth_restrict_session
Name: auth_restrict_session
Prototype: void auth_restrict_session(struct ssh *ssh)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 1092-1107
  0.000% (0/4)
82
auth_rhosts2
Name: auth_rhosts2
Prototype: int auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr)
Coverage:  0.000% (0/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-rhosts.c
Lines: 189-324
  0.000% (0/57)
7314
auth_root_allowed
Name: auth_root_allowed
Prototype: int auth_root_allowed(struct ssh *ssh, const char *method)
Coverage:  0.000% (0/107)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 393-415
  0.000% (0/107)
50624
auth_shadow_acctexpired
Name: auth_shadow_acctexpired
Prototype: int auth_shadow_acctexpired(struct spwd *spw)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-shadow.c
Lines: 55-81
  0.000% (0/13)
235
auth_shadow_pwexpired
Name: auth_shadow_pwexpired
Prototype: int auth_shadow_pwexpired(Authctxt *ctxt)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-shadow.c
Lines: 87-140
  0.000% (0/22)
388
auth_sock_cleanup_proc
Name: auth_sock_cleanup_proc
Prototype: static void auth_sock_cleanup_proc(struct passwd *pw)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 176-186
  0.000% (0/4)
122
authmethod_get
Name: authmethod_get
Prototype: static Authmethod * authmethod_get(char *authlist)
Coverage:  0.000% (0/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 2096-2134
  0.000% (0/55)
22613
authmethod_is_enabled
Name: authmethod_is_enabled
Prototype: static int authmethod_is_enabled(Authmethod *method)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 2060-2072
  0.000% (0/14)
174
authmethod_lookup
Name: authmethod_lookup
Prototype: static Authmethod * authmethod_lookup(Authctxt *authctxt, const char *name)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 484-500
  0.000% (0/44)
19310
authmethod_lookup
Name: authmethod_lookup
Prototype: static Authmethod * authmethod_lookup(const char *name)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 2074-2084
  0.000% (0/38)
18210
authmethods_get
Name: authmethods_get
Prototype: static char * authmethods_get(Authctxt *authctxt)
Coverage:  0.000% (0/54)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 456-482
  0.000% (0/54)
19814
authmethods_get
Name: authmethods_get
Prototype: static char * authmethods_get(void)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 2136-2158
  0.000% (0/16)
276
authorized_principals_file
Name: authorized_principals_file
Prototype: char * authorized_principals_file(struct passwd *pw)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 450-456
  0.000% (0/4)
92
bandwidth_limit
Name: bandwidth_limit
Prototype: void bandwidth_limit(struct bwlimit *bw, size_t read_len)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1341-1391
  0.000% (0/43)
17713
bandwidth_limit_init
Name: bandwidth_limit_init
Prototype: void bandwidth_limit_init(struct bwlimit *bw, u_int64_t kbps, size_t buflen)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1329-1338
  0.000% (0/1)
261
barrett_reduce
Name: barrett_reduce
Prototype: static void barrett_reduce(crypto_sign_ed25519_ref_sc25519 *r, const crypto_uint32 x[64])
Coverage: 100.000% (30/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c
Lines: 51-100
100.000% (30/30)
3212
baud_to_speed
Name: baud_to_speed
Prototype: static speed_t baud_to_speed(int baud)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 161-245
  0.000% (0/40)
10121
bcrypt_hash
Name: bcrypt_hash
Prototype: static void bcrypt_hash(u_int8_t *sha2pass, u_int8_t *sha2salt, u_int8_t *out)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bcrypt_pbkdf.c
Lines: 69-108
100.000% (13/13)
265
bcrypt_pbkdf
Name: bcrypt_pbkdf
Prototype: int bcrypt_pbkdf(const char *pass, size_t passlen, const u_int8_t *salt, size_t saltlen, u_int8_t *key, size_t keylen, unsigned int rounds)
Coverage:  65.714% (23/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bcrypt_pbkdf.c
Lines: 110-178
 65.714% (23/35)
449
bind_permitted
Name: bind_permitted
Prototype: static int bind_permitted(int port, uid_t uid)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 107-115
  0.000% (0/9)
93
bindresvport_sa
Name: bindresvport_sa
Prototype: int bindresvport_sa(int sd, struct sockaddr *sa)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bindresvport.c
Lines: 52-117
  0.000% (0/42)
9912
bitmap_clear_bit
Name: bitmap_clear_bit
Prototype: void bitmap_clear_bit(struct bitmap *b, u_int n)
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 125-138
 44.444% (4/9)
83
bitmap_free
Name: bitmap_free
Prototype: void bitmap_free(struct bitmap *b)
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 53-62
 66.667% (4/6)
152
bitmap_from_string
Name: bitmap_from_string
Prototype: int bitmap_from_string(struct bitmap *b, const void *p, size_t l)
Coverage:  75.000% (12/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 188-214
 75.000% (12/16)
206
bitmap_nbits
Name: bitmap_nbits
Prototype: size_t bitmap_nbits(struct bitmap *b)
Coverage:  78.571% (11/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 140-159
 78.571% (11/14)
134
bitmap_nbytes
Name: bitmap_nbytes
Prototype: size_t bitmap_nbytes(struct bitmap *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 161-165
100.000% (1/1)
11
bitmap_new
Name: bitmap_new
Prototype: struct bitmap * bitmap_new(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 37-51
 42.857% (3/7)
213
bitmap_set_bit
Name: bitmap_set_bit
Prototype: int bitmap_set_bit(struct bitmap *b, u_int n)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 100-113
 71.429% (5/7)
93
bitmap_test_bit
Name: bitmap_test_bit
Prototype: int bitmap_test_bit(struct bitmap *b, u_int n)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 71-79
 66.667% (6/9)
53
bitmap_to_string
Name: bitmap_to_string
Prototype: int bitmap_to_string(struct bitmap *b, void *p, size_t l)
Coverage:  77.778% (14/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 167-186
 77.778% (14/18)
126
bitmap_zero
Name: bitmap_zero
Prototype: void bitmap_zero(struct bitmap *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/bitmap.c
Lines: 64-69
100.000% (1/1)
21
blf_cbc_decrypt
Name: blf_cbc_decrypt
Prototype: void blf_cbc_decrypt(blf_ctx *c, u_int8_t *iva, u_int8_t *data, u_int32_t len)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 609-648
  0.000% (0/10)
344
blf_cbc_encrypt
Name: blf_cbc_encrypt
Prototype: void blf_cbc_encrypt(blf_ctx *c, u_int8_t *iv, u_int8_t *data, u_int32_t len)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 584-607
  0.000% (0/7)
183
blf_dec
Name: blf_dec
Prototype: void blf_dec(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 527-538
  0.000% (0/4)
62
blf_ecb_decrypt
Name: blf_ecb_decrypt
Prototype: void blf_ecb_decrypt(blf_ctx *c, u_int8_t *data, u_int32_t len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 562-582
  0.000% (0/4)
152
blf_ecb_encrypt
Name: blf_ecb_encrypt
Prototype: void blf_ecb_encrypt(blf_ctx *c, u_int8_t *data, u_int32_t len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 540-560
  0.000% (0/4)
152
blf_enc
Name: blf_enc
Prototype: void blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 514-525
100.000% (4/4)
62
blf_key
Name: blf_key
Prototype: void blf_key(blf_ctx *c, const u_int8_t *k, u_int16_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/blowfish.c
Lines: 504-512
  0.000% (0/1)
21
blob_cmp
Name: blob_cmp
Prototype: static int blob_cmp(struct revoked_blob *a, struct revoked_blob *b)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 118-129
  0.000% (0/9)
63
blob_section
Name: blob_section
Prototype: static int blob_section(struct sshbuf *sect, struct revoked_blob_tree *target_tree, size_t expected_len)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 958-980
  0.000% (0/15)
185
buffer_get_bignum_bits
Name: buffer_get_bignum_bits
Prototype: static void buffer_get_bignum_bits(struct sshbuf *b, BIGNUM *value)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 424-440
 38.462% (5/13)
145
can_output
Name: can_output
Prototype: static int can_output(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 81-85
  0.000% (0/1)
51
cert_compare
Name: cert_compare
Prototype: static int cert_compare(struct sshkey_cert *a, struct sshkey_cert *b)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 616-629
  0.000% (0/17)
225
cert_free
Name: cert_free
Prototype: static void cert_free(struct sshkey_cert *cert)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 454-471
100.000% (7/7)
153
cert_new
Name: cert_new
Prototype: static struct sshkey_cert * cert_new(void)
Coverage:  45.455% (5/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 473-491
 45.455% (5/11)
493
cert_option_list
Name: cert_option_list
Prototype: static int cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob, u_int which, int crit)
Coverage:  0.000% (0/276)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 140-252
  0.000% (0/276)
126164
cert_parse
Name: cert_parse
Prototype: static int cert_parse(struct sshbuf *b, struct sshkey *key, struct sshbuf *certbuf)
Coverage:  77.108% (64/83)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 1878-2001
 77.108% (64/83)
16719
chacha_encrypt_bytes
Name: chacha_encrypt_bytes
Prototype: void chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
Coverage:  80.769% (21/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c
Lines: 89-219
 80.769% (21/26)
11710
chacha_encrypt_bytes
Name: chacha_encrypt_bytes
Prototype: static void chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes)
Coverage:  42.308% (11/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h
Lines: 88-222
 42.308% (11/26)
10010
chacha_ivsetup
Name: chacha_ivsetup
Prototype: void chacha_ivsetup(chacha_ctx *x, const u8 *iv, const u8 *counter)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c
Lines: 80-87
100.000% (5/5)
121
chacha_ivsetup
Name: chacha_ivsetup
Prototype: static void chacha_ivsetup(chacha_ctx *x,const u8 *iv)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h
Lines: 79-86
100.000% (1/1)
41
chacha_keysetup
Name: chacha_keysetup
Prototype: void chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c
Lines: 55-78
 60.000% (3/5)
172
chacha_keysetup
Name: chacha_keysetup
Prototype: static void chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h
Lines: 54-77
 60.000% (3/5)
172
chachapoly_crypt
Name: chachapoly_crypt
Prototype: int chachapoly_crypt(struct chachapoly_ctx *ctx, u_int seqnr, u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen, int do_encrypt)
Coverage:  78.571% (11/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c
Lines: 51-103
 78.571% (11/14)
376
chachapoly_get_length
Name: chachapoly_get_length
Prototype: int chachapoly_get_length(struct chachapoly_ctx *ctx, u_int *plenp, u_int seqnr, const u_char *cp, u_int len)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c
Lines: 106-119
100.000% (4/4)
122
chachapoly_init
Name: chachapoly_init
Prototype: int chachapoly_init(struct chachapoly_ctx *ctx, const u_char *key, u_int keylen)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher-chachapoly.c
Lines: 31-40
 50.000% (2/4)
52
chan_ibuf_empty
Name: chan_ibuf_empty
Prototype: void chan_ibuf_empty(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 123-143
  0.000% (0/10)
135
Page:<>1
Function: BSDgetopt
23
Function: chan_is_dead
4
Function: channel_request_rforward_cancel_tcpip
5
Function: client_wait_until_can_do_something
6
Function: delete_all
...10
Function: load_hostkeys
...20
Function: subprocess
21
Function: xasprintf

Generated by Squish Coco 4.2.2