OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Condition %: 100.000% (1/1)
...10
Condition %:  0.000% (0/9)
...16
Condition %:  0.000% (0/1)
17
Condition %:  0.000% (0/4)
18
Condition %:  0.000% (0/1)
19
Condition %:  0.000% (0/1)
2021
Condition %:  0.000% (0/1)
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
chan_rcvd_oclose
Name: chan_rcvd_oclose
Prototype: void chan_rcvd_oclose(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 264-300
  0.000% (0/19)
218
chan_rcvd_ieof
Name: chan_rcvd_ieof
Prototype: void chan_rcvd_ieof(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 251-262
  0.000% (0/17)
83
chan_rcvd_eow
Name: chan_rcvd_eow
Prototype: void chan_rcvd_eow(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 166-176
  0.000% (0/3)
52
chan_obuf_empty
Name: chan_obuf_empty
Prototype: void chan_obuf_empty(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 145-164
  0.000% (0/7)
124
chan_mark_dead
Name: chan_mark_dead
Prototype: void chan_mark_dead(struct ssh *ssh, Channel *c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 321-325
  0.000% (0/1)
11
chan_is_dead
Name: chan_is_dead
Prototype: int chan_is_dead(struct ssh *ssh, Channel *c, int do_send)
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c
Lines: 327-366
  0.000% (0/35)
279
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
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_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
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
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
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
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
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_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_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_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_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
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
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
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
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
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
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
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
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
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_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
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
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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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
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
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_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_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_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_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_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_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_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_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_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
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_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
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
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_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
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
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
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
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
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
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
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
arc4random_stir
Name: arc4random_stir
Prototype: void arc4random_stir(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c
Lines: 210-216
  0.000% (0/1)
11
arc4random_addrandom
Name: arc4random_addrandom
Prototype: void arc4random_addrandom(u_char *dat, int datlen)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/arc4random.c
Lines: 218-233
  0.000% (0/9)
283
append_hostkey_type
Name: append_hostkey_type
Prototype: static void append_hostkey_type(struct sshbuf *b, const char *s)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 688-700
  0.000% (0/7)
73
allowed_user
Name: allowed_user
Prototype: int allowed_user(struct passwd * pw)
Coverage:  0.000% (0/139)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c
Lines: 98-267
  0.000% (0/139)
34233
allocbuf
Name: allocbuf
Prototype: BUF * allocbuf(BUF *bp, int fd, int blksize)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 1392-1414
  0.000% (0/10)
174
agent_signer
Name: agent_signer
Prototype: static int agent_signer(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, u_int compat, void *ctx)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1663-1672
  0.000% (0/1)
31
agent_encode_alg
Name: agent_encode_alg
Prototype: static u_int agent_encode_alg(const struct sshkey *key, const char *alg)
Coverage:  0.000% (0/72)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 327-337
  0.000% (0/72)
33416
agent_decode_alg
Name: agent_decode_alg
Prototype: static char * agent_decode_alg(struct sshkey *key, u_int flags)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Lines: 262-272
  0.000% (0/10)
104
after_poll
Name: after_poll
Prototype: static void after_poll(struct pollfd *pfd, size_t npfd, u_int maxfds)
Coverage:  0.000% (0/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Lines: 888-941
  0.000% (0/48)
6017
advance_past_options
Name: advance_past_options
Prototype: static int advance_past_options(char **cpp)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 540-555
  0.000% (0/22)
94
addr_match_cidr_list
Name: addr_match_cidr_list
Prototype: int addr_match_cidr_list(const char *addr, const char *_list)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c
Lines: 435-498
  0.000% (0/44)
16512
addargs
Name: addargs
Prototype: void addargs(arglist *args, char *fmt, ...)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 857-882
  0.000% (0/10)
414
add_string_option
Name: add_string_option
Prototype: static void add_string_option(struct sshbuf *c, const char *name, const char *value)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1573-1588
  0.000% (0/11)
123
add_remote_forward
Name: add_remote_forward
Prototype: void add_remote_forward(Options *options, const struct Forward *newfwd)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 350-374
  0.000% (0/7)
173
add_local_forward
Name: add_local_forward
Prototype: void add_local_forward(Options *options, const struct Forward *newfwd)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 321-343
  0.000% (0/7)
153
add_key
Name: add_key
Prototype: static void add_key(struct sshkey *k, char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c
Lines: 59-68
  0.000% (0/1)
91
add_identity_file
Name: add_identity_file
Prototype: void add_identity_file(Options *options, const char *dir, const char *filename, int userprovided)
Coverage:  0.000% (0/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 430-459
  0.000% (0/48)
18612
add_host_to_hostfile
Name: add_host_to_hostfile
Prototype: int add_host_to_hostfile(const char *filename, const char *host, const struct sshkey *key, int store_hash)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 447-462
  0.000% (0/7)
163
add_flag_option
Name: add_flag_option
Prototype: static void add_flag_option(struct sshbuf *c, const char *name)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1562-1571
  0.000% (0/6)
92
add_file
Name: add_file
Prototype: static int add_file(int agent_fd, const char *filename, int key_only, int qflag)
Coverage:  0.000% (0/182)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-add.c
Lines: 191-390
  0.000% (0/182)
57150
add_certificate_file
Name: add_certificate_file
Prototype: void add_certificate_file(Options *options, const char *path, int userprovided)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 406-428
  0.000% (0/42)
17710
add_cert_option
Name: add_cert_option
Prototype: static void add_cert_option(char *opt)
Coverage:  0.000% (0/71)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1886-1944
  0.000% (0/71)
13521
a2tun
Name: a2tun
Prototype: int a2tun(const char *s, int *remote)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 344-373
  0.000% (0/21)
745
_ssh_compat_realpath
Name: _ssh_compat_realpath
Prototype: char * _ssh_compat_realpath(const char *path, char *resolved)
Coverage:  0.000% (0/172)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/realpath.c
Lines: 60-228
  0.000% (0/172)
58845
_ssh__compat_globfree
Name: _ssh__compat_globfree
Prototype: void _ssh__compat_globfree(_ssh_compat_glob_t *pglob)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 959-981
  0.000% (0/18)
297
_ssh__compat_glob
Name: _ssh__compat_glob
Prototype: int _ssh__compat_glob(const char *pattern, int flags, int (*errfunc)(const char *, int), _ssh_compat_glob_t *pglob)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 177-229
  0.000% (0/43)
5811
Page:<>1
Condition %: 100.000% (1/1)
...10
Condition %:  0.000% (0/9)
...16
Condition %:  0.000% (0/1)
17
Condition %:  0.000% (0/4)
18
Condition %:  0.000% (0/1)
19
Condition %:  0.000% (0/1)
2021
Condition %:  0.000% (0/1)

Generated by Squish Coco 4.2.2