OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>12
Function: temporarily_use_uid
3
Function: sshkey_parse_private2
4
Function: sshbuf_dtob16
5
Function: ssh_packet_get_string
...10
Function: packet_get_char
...20
Function: atomiciov
21
Function: DH_set0_pqg
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
zero_pad [umac.c #2]
Name: zero_pad [umac.c #2]
Prototype: static void zero_pad(UINT8 *p, int nbytes)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 642-662
  0.000% (0/13)
135
zero_pad [umac.c #1]
Name: zero_pad [umac.c #1]
Prototype: static void zero_pad(UINT8 *p, int nbytes)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 642-662
  0.000% (0/13)
135
xstrsep
Name: xstrsep
Prototype: static char * xstrsep(char **str, const char *delim)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c
Lines: 162-178
  0.000% (0/7)
253
xstrdup
Name: xstrdup
Prototype: char * xstrdup(const char *str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 92-102
100.000% (1/1)
61
xrecallocarray
Name: xrecallocarray
Prototype: void * xrecallocarray(void *ptr, size_t onmemb, size_t nmemb, size_t size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 80-90
 50.000% (2/4)
82
xreallocarray
Name: xreallocarray
Prototype: void * xreallocarray(void *ptr, size_t nmemb, size_t size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 68-78
 50.000% (2/4)
82
xmalloc
Name: xmalloc
Prototype: void * xmalloc(size_t size)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 39-50
 42.857% (3/7)
93
xcrypt
Name: xcrypt
Prototype: char * xcrypt(const char *password, const char *salt)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/xcrypt.c
Lines: 98-127
  0.000% (0/4)
72
xcalloc
Name: xcalloc
Prototype: void * xcalloc(size_t nmemb, size_t size)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 52-66
 41.667% (5/12)
144
xauth_valid_string
Name: xauth_valid_string
Prototype: static int xauth_valid_string(const char *s)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 372-384
  0.000% (0/17)
153
xasprintf
Name: xasprintf
Prototype: int xasprintf(char **ret, const char *fmt, ...)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/xmalloc.c
Lines: 104-118
  0.000% (0/6)
262
x11_request_forwarding_with_spoofing
Name: x11_request_forwarding_with_spoofing
Prototype: void x11_request_forwarding_with_spoofing(struct ssh *ssh, int client_session_id, const char *disp, const char *proto, const char *data, int want_reply)
Coverage:  0.000% (0/78)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 4782-4842
  0.000% (0/78)
27415
x11_open_helper
Name: x11_open_helper
Prototype: static int x11_open_helper(struct ssh *ssh, struct sshbuf *b)
Coverage:  0.000% (0/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 1079-1144
  0.000% (0/32)
399
x11_create_display_inet
Name: x11_create_display_inet
Prototype: int x11_create_display_inet(struct ssh *ssh, int x11_display_offset, int x11_use_localhost, int single_connection, u_int *display_numberp, int **chanids)
Coverage:  0.000% (0/60)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 4502-4603
  0.000% (0/60)
14218
x11_connect_display
Name: x11_connect_display
Prototype: int x11_connect_display(struct ssh *ssh)
Coverage:  0.000% (0/82)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 4659-4775
  0.000% (0/82)
31118
write_host_entry
Name: write_host_entry
Prototype: static int write_host_entry(FILE *f, const char *host, const char *ip, const struct sshkey *key, int store_hash)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 412-441
  0.000% (0/15)
315
write_checkpoint
Name: write_checkpoint
Prototype: static void write_checkpoint(char *cpfile, u_int32_t lineno)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/moduli.c
Lines: 448-477
  0.000% (0/19)
415
wrap_key
Name: wrap_key
Prototype: static int wrap_key(RSA *rsa)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-client.c
Lines: 158-170
  0.000% (0/9)
93
window_change_handler
Name: window_change_handler
Prototype: static void window_change_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 209-213
  0.000% (0/1)
11
warn_changed_key
Name: warn_changed_key
Prototype: static void warn_changed_key(struct sshkey *host_key)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1491-1512
  0.000% (0/4)
172
waitrfd
Name: waitrfd
Prototype: static int waitrfd(int fd, int *timeoutp)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 427-452
  0.000% (0/15)
415
wait_until_can_do_something
Name: wait_until_can_do_something
Prototype: static void wait_until_can_do_something(struct ssh *ssh, int connection_in, int connection_out, fd_set **readsetp, fd_set **writesetp, int *maxfdp, u_int *nallocp, u_int64_t max_time_ms)
Coverage:  0.000% (0/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 213-303
  0.000% (0/50)
5914
vis
Name: vis
Prototype: char * vis(char *dst, int c, int flag, int nextc)
Coverage:  6.481% (7/108)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/vis.c
Lines: 61-144
  6.481% (7/108)
9220
vfmprintf
Name: vfmprintf
Prototype: int vfmprintf(FILE *stream, const char *fmt, va_list ap)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c
Lines: 263-275
 42.857% (3/7)
143
verifydir
Name: verifydir
Prototype: void verifydir(char *cp)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 1348-1360
  0.000% (0/7)
213
verify_host_key_dns
Name: verify_host_key_dns
Prototype: int verify_host_key_dns(const char *hostname, struct sockaddr *address, struct sshkey *hostkey, int *flags)
Coverage:  0.000% (0/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dns.c
Lines: 208-314
  0.000% (0/49)
7315
verify_host_key_callback
Name: verify_host_key_callback
Prototype: static int verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 95-101
  0.000% (0/4)
32
verify_host_key
Name: verify_host_key
Prototype: int verify_host_key(char *host, struct sockaddr *hostaddr, struct sshkey *host_key)
Coverage:  0.000% (0/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1284-1394
  0.000% (0/56)
9619
verbose
Name: verbose
Prototype: void verbose(const char *fmt,...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 210-218
100.000% (1/1)
201
vasnmprintf
Name: vasnmprintf
Prototype: static int vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap)
Coverage:  78.261% (72/92)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c
Lines: 104-238
 78.261% (72/92)
13125
valid_request
Name: valid_request
Prototype: static int valid_request(struct passwd *pw, char *host, struct sshkey **ret, u_char *data, size_t datalen)
Coverage:  0.000% (0/169)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keysign.c
Lines: 65-162
  0.000% (0/169)
59743
valid_rdomain
Name: valid_rdomain
Prototype: static int valid_rdomain(const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 777-810
  0.000% (0/1)
21
valid_domain
Name: valid_domain
Prototype: int valid_domain(char *name, int makelower, const char **errstr)
Coverage:  0.000% (0/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1907-1949
  0.000% (0/50)
8513
uuencode
Name: uuencode
Prototype: int uuencode(const u_char *src, u_int srclength, char *target, size_t targsize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uuencode.c
Lines: 43-48
100.000% (1/1)
51
uudecode
Name: uudecode
Prototype: int uudecode(const char *src, u_char *target, size_t targsize)
Coverage:  61.538% (8/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uuencode.c
Lines: 55-73
 61.538% (8/13)
133
userauth_send_banner
Name: userauth_send_banner
Prototype: void userauth_send_banner(const char *msg)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 140-148
  0.000% (0/1)
51
userauth_pubkey
Name: userauth_pubkey
Prototype: static int userauth_pubkey(struct ssh *ssh)
Coverage:  0.000% (0/118)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 87-253
  0.000% (0/118)
21426
userauth_pubkey
Name: userauth_pubkey
Prototype: int userauth_pubkey(Authctxt *authctxt)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1656-1700
  0.000% (0/27)
439
userauth_passwd
Name: userauth_passwd
Prototype: static int userauth_passwd(struct ssh *ssh)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-passwd.c
Lines: 49-70
  0.000% (0/20)
244
userauth_passwd
Name: userauth_passwd
Prototype: int userauth_passwd(Authctxt *authctxt)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 956-993
  0.000% (0/29)
275
userauth_none
Name: userauth_none
Prototype: static int userauth_none(struct ssh *ssh)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-none.c
Lines: 61-72
  0.000% (0/11)
73
userauth_none
Name: userauth_none
Prototype: int userauth_none(Authctxt *authctxt)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 940-954
  0.000% (0/12)
92
userauth_kbdint
Name: userauth_kbdint
Prototype: static int userauth_kbdint(struct ssh *ssh)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-kbdint.c
Lines: 44-63
  0.000% (0/11)
203
userauth_kbdint
Name: userauth_kbdint
Prototype: int userauth_kbdint(Authctxt *authctxt)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1705-1734
  0.000% (0/24)
244
userauth_hostbased
Name: userauth_hostbased
Prototype: static int userauth_hostbased(struct ssh *ssh)
Coverage:  0.000% (0/72)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-hostbased.c
Lines: 59-166
  0.000% (0/72)
10314
userauth_hostbased
Name: userauth_hostbased
Prototype: int userauth_hostbased(Authctxt *authctxt)
Coverage:  0.000% (0/89)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1918-2052
  0.000% (0/89)
23519
userauth_finish
Name: userauth_finish
Prototype: void userauth_finish(struct ssh *ssh, int authenticated, const char *method, const char *submethod)
Coverage:  0.000% (0/79)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 340-429
  0.000% (0/79)
20517
userauth_banner
Name: userauth_banner
Prototype: static void userauth_banner(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 150-164
  0.000% (0/10)
154
userauth
Name: userauth
Prototype: void userauth(Authctxt *authctxt, char *authlist)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 458-494
  0.000% (0/17)
446
user_specific_delay
Name: user_specific_delay
Prototype: static double user_specific_delay(const char *user)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c
Lines: 216-233
  0.000% (0/4)
122
user_key_command_allowed2
Name: user_key_command_allowed2
Prototype: static int user_key_command_allowed2(struct ssh *ssh, struct passwd *user_pw, struct sshkey *key, struct sshauthopt **authoptsp)
Coverage:  0.000% (0/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 866-992
  0.000% (0/50)
16418
user_key_allowed2
Name: user_key_allowed2
Prototype: static int user_key_allowed2(struct ssh *ssh, struct passwd *pw, struct sshkey *key, char *file, struct sshauthopt **authoptsp)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 838-860
  0.000% (0/7)
203
user_key_allowed
Name: user_key_allowed
Prototype: int user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key, int auth_attempt, struct sshauthopt **authoptsp)
Coverage:  0.000% (0/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 997-1039
  0.000% (0/32)
5410
user_from_uid
Name: user_from_uid
Prototype: char * user_from_uid(uid_t uid, int nouser)
Coverage:  0.000% (0/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/pwcache.c
Lines: 47-78
  0.000% (0/33)
577
user_cert_trusted_ca
Name: user_cert_trusted_ca
Prototype: static int user_cert_trusted_ca(struct ssh *ssh, struct passwd *pw, struct sshkey *key, struct sshauthopt **authoptsp)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 733-832
  0.000% (0/63)
12619
usage
Name: usage
Prototype: void usage(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 1314-1321
  0.000% (0/1)
81
usage
Name: usage
Prototype: static void usage(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 914-931
  0.000% (0/1)
261
urldecode
Name: urldecode
Prototype: static char * urldecode(const char *src)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 721-751
  0.000% (0/16)
396
upload_dir_internal
Name: upload_dir_internal
Prototype: static int upload_dir_internal(struct sftp_conn *conn, const char *src, const char *dst, int depth, int preserve_flag, int print_flag, int resume, int fsync_flag)
Coverage:  0.000% (0/116)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 1791-1885
  0.000% (0/116)
44030
upload_dir
Name: upload_dir
Prototype: int upload_dir(struct sftp_conn *conn, const char *src, const char *dst, int preserve_flag, int print_flag, int resume, int fsync_flag)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 1887-1904
  0.000% (0/4)
112
update_progress_meter
Name: update_progress_meter
Prototype: static void update_progress_meter(int ignore)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 230-247
  0.000% (0/7)
203
update_krl_from_file
Name: update_krl_from_file
Prototype: static void update_krl_from_file(struct passwd *pw, const char *file, int wild_ca, const struct sshkey *ca, struct ssh_krl *krl)
Coverage:  0.000% (0/185)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 2148-2297
  0.000% (0/185)
58748
update_known_hosts
Name: update_known_hosts
Prototype: static void update_known_hosts(struct hostkeys_update_ctx *ctx)
Coverage:  0.000% (0/54)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 1848-1915
  0.000% (0/54)
6614
update_card
Name: update_card
Prototype: static int update_card(int agent_fd, int add, const char *id, int qflag)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-add.c
Lines: 392-418
  0.000% (0/14)
355
unset_nonblock
Name: unset_nonblock
Prototype: int unset_nonblock(int fd)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 115-137
  0.000% (0/10)
394
unix_listener
Name: unix_listener
Prototype: int unix_listener(const char *path, int backlog, int unlink_first)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1483-1528
  0.000% (0/21)
937
undo_glob_escape
Name: undo_glob_escape
Prototype: static void undo_glob_escape(char *s)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 1098-1131
  0.000% (0/16)
1810
uncompress_buffer
Name: uncompress_buffer
Prototype: static int uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c
Lines: 772-817
  0.000% (0/21)
2911
umac_update [umac.c #1]
Name: umac_update [umac.c #1]
Prototype: int umac_update(struct umac_ctx *ctx, const u_char *input, long len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1254-1261
  0.000% (0/1)
21
umac_new [umac.c #1]
Name: umac_new [umac.c #1]
Prototype: struct umac_ctx *umac_new(const u_char key[])
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1215-1239
  0.000% (0/5)
142
umac_final [umac.c #1]
Name: umac_final [umac.c #1]
Prototype: int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8])
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1243-1250
  0.000% (0/1)
31
umac_delete [umac.c #1]
Name: umac_delete [umac.c #1]
Prototype: int umac_delete(struct umac_ctx *ctx)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1201-1211
  0.000% (0/5)
52
umac128_update [umac.c #2]
Name: umac128_update [umac.c #2]
Prototype: int umac128_update(struct umac128_ctx *ctx, const u_char *input, long len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1254-1261
  0.000% (0/1)
21
umac128_new [umac.c #2]
Name: umac128_new [umac.c #2]
Prototype: struct umac128_ctx *umac128_new(const u_char key[])
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1215-1239
  0.000% (0/5)
142
umac128_final [umac.c #2]
Name: umac128_final [umac.c #2]
Prototype: int umac128_final(struct umac128_ctx *ctx, u_char tag[], const u_char nonce[8])
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1243-1250
  0.000% (0/1)
31
umac128_delete [umac.c #2]
Name: umac128_delete [umac.c #2]
Prototype: int umac128_delete(struct umac128_ctx *ctx)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1201-1211
  0.000% (0/5)
52
uhash_update [umac.c #2]
Name: uhash_update [umac.c #2]
Prototype: static int uhash_update(uhash_ctx_t ctx, const u_char *input, long len)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1045-1097
  0.000% (0/20)
297
uhash_update [umac.c #1]
Name: uhash_update [umac.c #1]
Prototype: static int uhash_update(uhash_ctx_t ctx, const u_char *input, long len)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1045-1097
  0.000% (0/20)
297
uhash_reset [umac.c #2]
Name: uhash_reset [umac.c #2]
Prototype: static int uhash_reset(uhash_ctx_t pc)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 933-948
  0.000% (0/1)
71
uhash_reset [umac.c #1]
Name: uhash_reset [umac.c #1]
Prototype: static int uhash_reset(uhash_ctx_t pc)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 933-948
  0.000% (0/1)
51
uhash_init [umac.c #2]
Name: uhash_init [umac.c #2]
Prototype: static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 957-998
  0.000% (0/10)
224
uhash_init [umac.c #1]
Name: uhash_init [umac.c #1]
Prototype: static void uhash_init(uhash_ctx_t ahc, aes_int_key prf_key)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 957-998
  0.000% (0/10)
224
uhash_final [umac.c #2]
Name: uhash_final [umac.c #2]
Prototype: static int uhash_final(uhash_ctx_t ctx, u_char *res)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 1101-1119
  0.000% (0/8)
113
uhash_final [umac.c #1]
Name: uhash_final [umac.c #1]
Prototype: static int uhash_final(uhash_ctx_t ctx, u_char *res)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 1101-1119
  0.000% (0/8)
113
type_bits_valid
Name: type_bits_valid
Prototype: static void type_bits_valid(int type, const char *name, u_int32_t *bitsp)
Coverage:  65.854% (27/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 205-249
 65.854% (27/41)
4014
tun_open
Name: tun_open
Prototype: int tun_open(int tun, int mode, char **ifname)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1027-1103
  0.000% (0/1)
11
try_read_key
Name: try_read_key
Prototype: static struct sshkey * try_read_key(char **cpp)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 840-853
 42.857% (3/7)
143
try_identity
Name: try_identity
Prototype: static int try_identity(Identity *id)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1642-1654
  0.000% (0/9)
83
translate_libcrypto_error
Name: translate_libcrypto_error
Prototype: static int translate_libcrypto_error(unsigned long pem_err)
Coverage:  31.579% (6/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 3856-3890
 31.579% (6/19)
1913
toremote
Name: toremote
Prototype: void toremote(int argc, char **argv)
Coverage:  0.000% (0/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 623-743
  0.000% (0/70)
12922
tolocal
Name: tolocal
Prototype: void tolocal(int argc, char **argv)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 745-801
  0.000% (0/30)
6910
tohex
Name: tohex
Prototype: char * tohex(const void *vp, size_t l)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1128-1145
  0.000% (0/7)
113
to_blob_buf
Name: to_blob_buf
Prototype: static int to_blob_buf(const struct sshkey *key, struct sshbuf *b, int force_plain, enum sshkey_serialize_rep opts)
Coverage:  53.333% (40/75)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 724-820
 53.333% (40/75)
7223
to_blob
Name: to_blob
Prototype: static int to_blob(const struct sshkey *key, u_char **blobp, size_t *lenp, int force_plain, enum sshkey_serialize_rep opts)
Coverage:  56.522% (13/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 856-886
 56.522% (13/23)
429
timingsafe_bcmp
Name: timingsafe_bcmp
Prototype: int timingsafe_bcmp(const void *b1, const void *b2, size_t n)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/timingsafe_bcmp.c
Lines: 23-32
100.000% (4/4)
52
times38
Name: times38
Prototype: static crypto_uint32 times38(crypto_uint32 a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 38-41
100.000% (1/1)
11
times19
Name: times19
Prototype: static crypto_uint32 times19(crypto_uint32 a)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/fe25519.c
Lines: 33-36
100.000% (1/1)
11
timeout_connect
Name: timeout_connect
Prototype: static int timeout_connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen, int *timeoutp)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 454-487
  0.000% (0/19)
387
tilde_expand_paths
Name: tilde_expand_paths
Prototype: static void tilde_expand_paths(char **paths, u_int num_paths)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 215-226
  0.000% (0/4)
62
tilde_expand_filename
Name: tilde_expand_filename
Prototype: char * tilde_expand_filename(const char *filename, uid_t uid)
Coverage:  5.556% (2/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 922-961
  5.556% (2/36)
719
Page:<>12
Function: temporarily_use_uid
3
Function: sshkey_parse_private2
4
Function: sshbuf_dtob16
5
Function: ssh_packet_get_string
...10
Function: packet_get_char
...20
Function: atomiciov
21
Function: DH_set0_pqg

Generated by Squish Coco 4.2.2