OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Function: BSDgetopt
...10
Function: load_hostkeys
...12
Function: opt_dequote
13
Function: port_open_helper
14
Function: read_passphrase
15
Function: send_statvfs
1617
Function: ssh_packet_get_ecpoint
18
Function: sshauthopt_parse
19
Function: sshkey_is_cert
20
Function: subprocess
21
Function: xasprintf
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
ssh2_capable
Name: ssh2_capable
Prototype: static int ssh2_capable(int remote_major, int remote_minor)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 207-221
  0.000% (0/10)
75
ssh_add_hostkey
Name: ssh_add_hostkey
Prototype: int ssh_add_hostkey(struct ssh *ssh, struct sshkey *key)
Coverage:  56.250% (9/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 175-207
 56.250% (9/16)
545
ssh_add_identity_constrained
Name: ssh_add_identity_constrained
Prototype: int ssh_add_identity_constrained(int sock, const struct sshkey *key, const char *comment, u_int life, u_int confirm, u_int maxsign)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 423-471
  0.000% (0/44)
3318
ssh_agent_sign
Name: ssh_agent_sign
Prototype: int ssh_agent_sign(int sock, const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, u_int compat)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 340-390
  0.000% (0/39)
5311
ssh_alloc_session_state
Name: ssh_alloc_session_state
Prototype: struct ssh * ssh_alloc_session_state(void)
Coverage:  38.889% (7/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 223-262
 38.889% (7/18)
754
ssh_askpass
Name: ssh_askpass
Prototype: static char * ssh_askpass(char *askpass, const char *msg)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readpass.c
Lines: 50-109
  0.000% (0/42)
14613
ssh_clear_newkeys
Name: ssh_clear_newkeys
Prototype: void ssh_clear_newkeys(struct ssh *ssh, int mode)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 819-826
 50.000% (3/6)
72
ssh_close_authentication_socket
Name: ssh_close_authentication_socket
Prototype: void ssh_close_authentication_socket(int sock)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 171-176
  0.000% (0/4)
22
ssh_compatible_openssl
Name: ssh_compatible_openssl
Prototype: int ssh_compatible_openssl(long headerver, long libver)
Coverage:  16.667% (2/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/openssl-compat.c
Lines: 42-67
 16.667% (2/12)
124
ssh_confirm_remote_forward
Name: ssh_confirm_remote_forward
Prototype: static void ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1579-1627
  0.000% (0/27)
419
ssh_connect
Name: ssh_connect
Prototype: int ssh_connect(struct ssh *ssh, const char *host, struct addrinfo *addrs, struct sockaddr_storage *hostaddr, u_short port, int family, int connection_attempts, int *timeout_ms, int want_keepalive)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 587-605
  0.000% (0/43)
18611
ssh_connect_direct
Name: ssh_connect_direct
Prototype: static int ssh_connect_direct(struct ssh *ssh, const char *host, struct addrinfo *aitop, struct sockaddr_storage *hostaddr, u_short port, int family, int connection_attempts, int *timeout_ms, int want_keepalive)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 498-585
  0.000% (0/38)
12112
ssh_crc32
Name: ssh_crc32
Prototype: u_int32_t ssh_crc32(const u_char *buf, u_int32_t size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/crc32.c
Lines: 96-105
  0.000% (0/4)
52
ssh_create_socket
Name: ssh_create_socket
Prototype: static int ssh_create_socket(struct addrinfo *ai)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 333-420
  0.000% (0/44)
12416
ssh_digest_alg_by_name
Name: ssh_digest_alg_by_name
Prototype: int ssh_digest_alg_by_name(const char *name)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 78-88
 71.429% (5/7)
53
ssh_digest_alg_name
Name: ssh_digest_alg_name
Prototype: const char * ssh_digest_alg_name(int alg)
Coverage:  66.667% (2/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 90-96
 66.667% (2/3)
101
ssh_digest_blocksize
Name: ssh_digest_blocksize
Prototype: size_t ssh_digest_blocksize(struct ssh_digest_ctx *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 106-110
100.000% (1/1)
91
ssh_digest_buffer
Name: ssh_digest_buffer
Prototype: int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 201-205
100.000% (1/1)
11
ssh_digest_by_alg
Name: ssh_digest_by_alg
Prototype: static const struct ssh_digest * ssh_digest_by_alg(int alg)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 66-76
 41.667% (5/12)
214
ssh_digest_bytes
Name: ssh_digest_bytes
Prototype: size_t ssh_digest_bytes(int alg)
Coverage:  66.667% (2/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 98-104
 66.667% (2/3)
61
ssh_digest_copy_state
Name: ssh_digest_copy_state
Prototype: int ssh_digest_copy_state(struct ssh_digest_ctx *from, struct ssh_digest_ctx *to)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 132-141
 42.857% (3/7)
53
ssh_digest_final
Name: ssh_digest_final
Prototype: int ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 157-172
 40.000% (6/15)
175
ssh_digest_free
Name: ssh_digest_free
Prototype: void ssh_digest_free(struct ssh_digest_ctx *ctx)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 174-181
100.000% (4/4)
62
ssh_digest_memory
Name: ssh_digest_memory
Prototype: int ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 183-199
 38.462% (5/13)
205
ssh_digest_start
Name: ssh_digest_start
Prototype: struct ssh_digest_ctx * ssh_digest_start(int alg)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 112-130
 41.667% (5/12)
384
ssh_digest_update
Name: ssh_digest_update
Prototype: int ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 143-149
 50.000% (2/4)
32
ssh_digest_update_buffer
Name: ssh_digest_update_buffer
Prototype: int ssh_digest_update_buffer(struct ssh_digest_ctx *ctx, const struct sshbuf *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/digest-openssl.c
Lines: 151-155
100.000% (1/1)
11
ssh_dispatch_init
Name: ssh_dispatch_init
Prototype: void ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 61-67
  0.000% (0/4)
32
ssh_dispatch_range
Name: ssh_dispatch_range
Prototype: void ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 69-79
 71.429% (5/7)
53
ssh_dispatch_run
Name: ssh_dispatch_run
Prototype: int ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 87-126
  0.000% (0/37)
3511
ssh_dispatch_run_fatal
Name: ssh_dispatch_run_fatal
Prototype: void ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 128-135
  0.000% (0/4)
32
ssh_dispatch_set
Name: ssh_dispatch_set
Prototype: void ssh_dispatch_set(struct ssh *ssh, int type, dispatch_fn *fn)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dispatch.c
Lines: 81-85
100.000% (1/1)
11
ssh_dss_sign
Name: ssh_dss_sign
Prototype: int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat)
Coverage:  47.826% (22/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-dss.c
Lines: 51-117
 47.826% (22/46)
9914
ssh_dss_verify
Name: ssh_dss_verify
Prototype: int ssh_dss_verify(const struct sshkey *key, const u_char *signature, size_t signaturelen, const u_char *data, size_t datalen, u_int compat)
Coverage:  38.889% (35/90)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-dss.c
Lines: 119-208
 38.889% (35/90)
28923
ssh_ecdsa_sign
Name: ssh_ecdsa_sign
Prototype: int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat)
Coverage:  48.000% (24/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ecdsa.c
Lines: 49-110
 48.000% (24/50)
8914
ssh_ecdsa_verify
Name: ssh_ecdsa_verify
Prototype: int ssh_ecdsa_verify(const struct sshkey *key, const u_char *signature, size_t signaturelen, const u_char *data, size_t datalen, u_int compat)
Coverage:  42.697% (38/89)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ecdsa.c
Lines: 113-200
 42.697% (38/89)
27922
ssh_ed25519_sign
Name: ssh_ed25519_sign
Prototype: int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, u_int compat)
Coverage:  51.111% (23/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ed25519.c
Lines: 35-92
 51.111% (23/45)
7713
ssh_ed25519_verify
Name: ssh_ed25519_verify
Prototype: int ssh_ed25519_verify(const struct sshkey *key, const u_char *signature, size_t signaturelen, const u_char *data, size_t datalen, u_int compat)
Coverage:  44.048% (37/84)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ed25519.c
Lines: 94-167
 44.048% (37/84)
26420
ssh_err
Name: ssh_err
Prototype: const char * ssh_err(int n)
Coverage:  0.000% (0/120)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssherr.c
Lines: 22-147
  0.000% (0/120)
6561
ssh_exchange_identification
Name: ssh_exchange_identification
Prototype: void ssh_exchange_identification(int timeout_ms)
Coverage:  0.000% (0/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 624-709
  0.000% (0/94)
28325
ssh_fetch_identitylist
Name: ssh_fetch_identitylist
Prototype: int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 228-300
  0.000% (0/52)
7016
ssh_free
Name: ssh_free
Prototype: void ssh_free(struct ssh *ssh)
Coverage:  73.913% (17/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 137-160
 73.913% (17/23)
237
ssh_free_identitylist
Name: ssh_free_identitylist
Prototype: void ssh_free_identitylist(struct ssh_identitylist *idl)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 302-316
  0.000% (0/13)
155
ssh_gai_strerror
Name: ssh_gai_strerror
Prototype: const char * ssh_gai_strerror(int gaierr)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 139-145
  0.000% (0/6)
152
ssh_get_app_data
Name: ssh_get_app_data
Prototype: void * ssh_get_app_data(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 168-172
  0.000% (0/1)
11
ssh_get_authentication_socket
Name: ssh_get_authentication_socket
Prototype: int ssh_get_authentication_socket(int *fdp)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 86-120
  0.000% (0/19)
536
ssh_get_progname
Name: ssh_get_progname
Prototype: char *ssh_get_progname(char *argv0)
Coverage:  23.077% (3/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-misc.c
Lines: 43-64
 23.077% (3/13)
413
ssh_hmac_bytes
Name: ssh_hmac_bytes
Prototype: size_t ssh_hmac_bytes(int alg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 36-40
100.000% (1/1)
11
ssh_hmac_final
Name: ssh_hmac_final
Prototype: int ssh_hmac_final(struct ssh_hmac_ctx *ctx, u_char *d, size_t dlen)
Coverage:  46.154% (6/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 104-119
 46.154% (6/13)
103
ssh_hmac_free
Name: ssh_hmac_free
Prototype: void ssh_hmac_free(struct ssh_hmac_ctx *ctx)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 121-135
 71.429% (5/7)
113
ssh_hmac_init
Name: ssh_hmac_init
Prototype: int ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen)
Coverage:  56.000% (14/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 63-90
 56.000% (14/25)
219
ssh_hmac_start
Name: ssh_hmac_start
Prototype: struct ssh_hmac_ctx * ssh_hmac_start(int alg)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 42-61
 40.000% (6/15)
365
ssh_hmac_update
Name: ssh_hmac_update
Prototype: int ssh_hmac_update(struct ssh_hmac_ctx *ctx, const void *m, size_t mlen)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 92-96
100.000% (1/1)
11
ssh_hmac_update_buffer
Name: ssh_hmac_update_buffer
Prototype: int ssh_hmac_update_buffer(struct ssh_hmac_ctx *ctx, const struct sshbuf *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c
Lines: 98-102
  0.000% (0/1)
11
ssh_init
Name: ssh_init
Prototype: int ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params)
Coverage:  78.947% (15/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 72-135
 78.947% (15/19)
496
ssh_init_forwarding
Name: ssh_init_forwarding
Prototype: static void ssh_init_forwarding(struct ssh *ssh, char **ifname)
Coverage:  0.000% (0/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1665-1733
  0.000% (0/34)
7710
ssh_init_stdio_forwarding
Name: ssh_init_stdio_forwarding
Prototype: static void ssh_init_stdio_forwarding(struct ssh *ssh)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 1643-1663
  0.000% (0/12)
304
ssh_input_append
Name: ssh_input_append
Prototype: int ssh_input_append(struct ssh *ssh, const u_char *data, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 221-225
100.000% (1/1)
11
ssh_input_space
Name: ssh_input_space
Prototype: int ssh_input_space(struct ssh *ssh, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 307-311
  0.000% (0/1)
11
ssh_kex2
Name: ssh_kex2
Prototype: void ssh_kex2(char *host, struct sockaddr *hostaddr, u_short port)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 157-241
  0.000% (0/24)
597
ssh_keysign
Name: ssh_keysign
Prototype: static int ssh_keysign(struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen)
Coverage:  0.000% (0/64)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1804-1916
  0.000% (0/64)
19322
ssh_kill_proxy_command
Name: ssh_kill_proxy_command
Prototype: void ssh_kill_proxy_command(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 256-265
  0.000% (0/4)
62
ssh_krl_check_key
Name: ssh_krl_check_key
Prototype: int ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 1316-1331
  0.000% (0/10)
84
ssh_krl_file_contains_key
Name: ssh_krl_file_contains_key
Prototype: int ssh_krl_file_contains_key(const char *path, const struct sshkey *key)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 1333-1366
  0.000% (0/23)
559
ssh_krl_free
Name: ssh_krl_free
Prototype: void ssh_krl_free(struct ssh_krl *krl)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 163-192
  0.000% (0/20)
417
ssh_krl_from_blob
Name: ssh_krl_from_blob
Prototype: int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp, const struct sshkey **sign_ca_keys, size_t nsign_ca_keys)
Coverage:  0.000% (0/159)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 983-1216
  0.000% (0/159)
23749
ssh_krl_init
Name: ssh_krl_init
Prototype: struct ssh_krl * ssh_krl_init(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 131-143
  0.000% (0/4)
302
ssh_krl_revoke_cert_by_key_id
Name: ssh_krl_revoke_cert_by_key_id
Prototype: int ssh_krl_revoke_cert_by_key_id(struct ssh_krl *krl, const struct sshkey *ca_key, const char *key_id)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 342-365
  0.000% (0/21)
545
ssh_krl_revoke_cert_by_serial
Name: ssh_krl_revoke_cert_by_serial
Prototype: int ssh_krl_revoke_cert_by_serial(struct ssh_krl *krl, const struct sshkey *ca_key, u_int64_t serial)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 321-326
  0.000% (0/1)
11
ssh_krl_revoke_cert_by_serial_range
Name: ssh_krl_revoke_cert_by_serial_range
Prototype: int ssh_krl_revoke_cert_by_serial_range(struct ssh_krl *krl, const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 328-340
  0.000% (0/9)
73
ssh_krl_revoke_key
Name: ssh_krl_revoke_key
Prototype: int ssh_krl_revoke_key(struct ssh_krl *krl, const struct sshkey *key)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 453-469
  0.000% (0/7)
93
ssh_krl_revoke_key_explicit
Name: ssh_krl_revoke_key_explicit
Prototype: int ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 405-416
  0.000% (0/4)
72
ssh_krl_revoke_key_sha1
Name: ssh_krl_revoke_key_sha1
Prototype: int ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const u_char *p, size_t len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 435-442
  0.000% (0/4)
42
ssh_krl_revoke_key_sha256
Name: ssh_krl_revoke_key_sha256
Prototype: int ssh_krl_revoke_key_sha256(struct ssh_krl *krl, const u_char *p, size_t len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 444-451
  0.000% (0/4)
42
ssh_krl_set_comment
Name: ssh_krl_set_comment
Prototype: int ssh_krl_set_comment(struct ssh_krl *krl, const char *comment)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 200-207
  0.000% (0/13)
383
ssh_krl_set_version
Name: ssh_krl_set_version
Prototype: void ssh_krl_set_version(struct ssh_krl *krl, u_int64_t version)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 194-198
  0.000% (0/1)
11
ssh_krl_to_blob
Name: ssh_krl_to_blob
Prototype: int ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf, const struct sshkey **sign_keys, u_int nsign_keys)
Coverage:  0.000% (0/90)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 733-827
  0.000% (0/90)
9424
ssh_local_cmd
Name: ssh_local_cmd
Prototype: int ssh_local_cmd(const char *args)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1517-1552
  0.000% (0/27)
938
ssh_local_ipaddr
Name: ssh_local_ipaddr
Prototype: const char * ssh_local_ipaddr(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 551-556
  0.000% (0/1)
21
ssh_local_port
Name: ssh_local_port
Prototype: int ssh_local_port(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 560-565
  0.000% (0/1)
21
ssh_lock_agent
Name: ssh_lock_agent
Prototype: int ssh_lock_agent(int sock, int lock, const char *password)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c
Lines: 179-199
  0.000% (0/18)
176
ssh_login
Name: ssh_login
Prototype: void ssh_login(Sensitive *sensitive, const char *orighost, struct sockaddr *hostaddr, u_short port, struct passwd *pw, int timeout_ms)
Coverage:  0.000% (0/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1403-1429
  0.000% (0/3)
121
ssh_msg_recv
Name: ssh_msg_recv
Prototype: int ssh_msg_recv(int fd, struct sshbuf *m)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/msg.c
Lines: 65-94
  0.000% (0/16)
286
ssh_msg_send
Name: ssh_msg_send
Prototype: int ssh_msg_send(int fd, u_char type, struct sshbuf *m)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/msg.c
Lines: 44-63
  0.000% (0/7)
123
ssh_output_consume
Name: ssh_output_consume
Prototype: int ssh_output_consume(struct ssh *ssh, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 295-299
100.000% (1/1)
11
ssh_output_ptr
Name: ssh_output_ptr
Prototype: const u_char * ssh_output_ptr(struct ssh *ssh, size_t *len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 286-293
100.000% (1/1)
31
ssh_output_space
Name: ssh_output_space
Prototype: int ssh_output_space(struct ssh *ssh, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 301-305
  0.000% (0/1)
11
ssh_packet_clear_keys
Name: ssh_packet_clear_keys
Prototype: void ssh_packet_clear_keys(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 652-656
  0.000% (0/1)
11
ssh_packet_close
Name: ssh_packet_close
Prototype: void ssh_packet_close(struct ssh *ssh)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 646-650
100.000% (1/1)
11
ssh_packet_close_internal
Name: ssh_packet_close_internal
Prototype: static void ssh_packet_close_internal(struct ssh *ssh, int do_close)
Coverage:  36.364% (12/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 581-644
 36.364% (12/33)
7011
ssh_packet_connection_af
Name: ssh_packet_connection_af
Prototype: int ssh_packet_connection_af(struct ssh *ssh)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 463-479
  0.000% (0/9)
243
ssh_packet_connection_is_on_socket
Name: ssh_packet_connection_is_on_socket
Prototype: int ssh_packet_connection_is_on_socket(struct ssh *ssh)
Coverage:  13.333% (4/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 421-452
 13.333% (4/30)
378
ssh_packet_disconnect
Name: ssh_packet_disconnect
Prototype: void ssh_packet_disconnect(struct ssh *ssh, const char *fmt,...)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 1859-1896
  0.000% (0/10)
334
ssh_packet_enable_delayed_compress
Name: ssh_packet_enable_delayed_compress
Prototype: static int ssh_packet_enable_delayed_compress(struct ssh *ssh)
Coverage:  29.630% (8/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 976-1007
 29.630% (8/27)
248
ssh_packet_get_bignum2
Name: ssh_packet_get_bignum2
Prototype: void ssh_packet_get_bignum2(struct ssh *ssh, BIGNUM * value)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 148-155
  0.000% (0/4)
32
ssh_packet_get_bytes
Name: ssh_packet_get_bytes
Prototype: void ssh_packet_get_bytes(struct ssh *ssh, u_int64_t *ibytes, u_int64_t *obytes)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 454-461
  0.000% (0/7)
43
ssh_packet_get_char
Name: ssh_packet_get_char
Prototype: u_int ssh_packet_get_char(struct ssh *ssh)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 113-122
  0.000% (0/4)
52
ssh_packet_get_connection_in
Name: ssh_packet_get_connection_in
Prototype: int ssh_packet_get_connection_in(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 495-499
  0.000% (0/1)
11
ssh_packet_get_connection_out
Name: ssh_packet_get_connection_out
Prototype: int ssh_packet_get_connection_out(struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 503-507
  0.000% (0/1)
11
ssh_packet_get_cstring
Name: ssh_packet_get_cstring
Prototype: char * ssh_packet_get_cstring(struct ssh *ssh, u_int *length_ptr)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 197-209
  0.000% (0/7)
103
Page:<>1
Function: BSDgetopt
...10
Function: load_hostkeys
...12
Function: opt_dequote
13
Function: port_open_helper
14
Function: read_passphrase
15
Function: send_statvfs
1617
Function: ssh_packet_get_ecpoint
18
Function: sshauthopt_parse
19
Function: sshkey_is_cert
20
Function: subprocess
21
Function: xasprintf

Generated by Squish Coco 4.2.2