OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Function: BSDgetopt
...10
Function: load_hostkeys
11
Function: mm_key_allowed
12
Function: opt_dequote
13
Function: port_open_helper
14
Function: read_passphrase
1516
Function: ssh2_capable
17
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
send_statvfs
Name: send_statvfs
Prototype: static void send_statvfs(u_int32_t id, struct statvfs *st)
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 610-638
  0.000% (0/35)
333
send_string_attrs_request
Name: send_string_attrs_request
Prototype: static void send_string_attrs_request(struct sftp_conn *conn, u_int id, u_int code, const void *s, u_int len, Attrib *a)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 194-211
  0.000% (0/13)
143
send_string_request
Name: send_string_request
Prototype: static void send_string_request(struct sftp_conn *conn, u_int id, u_int code, const char *s, u_int len)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 176-192
  0.000% (0/11)
133
send_userauth_info_request
Name: send_userauth_info_request
Prototype: static int send_userauth_info_request(struct ssh *ssh)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-chall.c
Lines: 253-288
  0.000% (0/31)
287
serial_cmp
Name: serial_cmp
Prototype: static int serial_cmp(struct revoked_serial *a, struct revoked_serial *b)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 104-110
  0.000% (0/8)
32
serialise_array
Name: serialise_array
Prototype: static int serialise_array(struct sshbuf *m, char **a, size_t n)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 735-761
  0.000% (0/18)
186
serialise_nullable_string
Name: serialise_nullable_string
Prototype: static int serialise_nullable_string(struct sshbuf *m, const char *s)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 802-811
  0.000% (0/6)
92
servconf_add_hostcert
Name: servconf_add_hostcert
Prototype: void servconf_add_hostcert(const char *file, const int line, ServerOptions *options, const char *path)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 247-256
  0.000% (0/1)
41
servconf_add_hostkey
Name: servconf_add_hostkey
Prototype: void servconf_add_hostkey(const char *file, const int line, ServerOptions *options, const char *path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 236-245
100.000% (1/1)
41
server_accept_inetd
Name: server_accept_inetd
Prototype: static void server_accept_inetd(int *sock_in, int *sock_out)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 997-1028
  0.000% (0/17)
706
server_accept_loop
Name: server_accept_loop
Prototype: static void server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
Coverage:  0.000% (0/112)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 1129-1342
  0.000% (0/112)
23735
server_alive_check
Name: server_alive_check
Prototype: static void server_alive_check(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 482-495
  0.000% (0/4)
162
server_init_dispatch
Name: server_init_dispatch
Prototype: static void server_init_dispatch(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 899-921
  0.000% (0/1)
171
server_input_channel_open
Name: server_input_channel_open
Prototype: static int server_input_channel_open(int type, u_int32_t seq, struct ssh *ssh)
Coverage:  0.000% (0/140)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 623-674
  0.000% (0/140)
69931
server_input_channel_req
Name: server_input_channel_req
Prototype: static int server_input_channel_req(int type, u_int32_t seq, struct ssh *ssh)
Coverage:  0.000% (0/85)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 863-897
  0.000% (0/85)
35919
server_input_global_request
Name: server_input_global_request
Prototype: static int server_input_global_request(int type, u_int32_t seq, struct ssh *ssh)
Coverage:  0.000% (0/248)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 754-861
  0.000% (0/248)
109050
server_input_hostkeys_prove
Name: server_input_hostkeys_prove
Prototype: static int server_input_hostkeys_prove(struct ssh *ssh, struct sshbuf **respp)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 676-752
  0.000% (0/38)
1008
server_input_keep_alive
Name: server_input_keep_alive
Prototype: static int server_input_keep_alive(int type, u_int32_t seq, struct ssh *ssh)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 445-456
  0.000% (0/1)
31
server_listen
Name: server_listen
Prototype: static void server_listen(void)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 1105-1123
  0.000% (0/7)
163
server_loop2
Name: server_loop2
Prototype: void server_loop2(struct ssh *ssh, Authctxt *authctxt)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 378-443
  0.000% (0/29)
698
server_request_direct_streamlocal
Name: server_request_direct_streamlocal
Prototype: static Channel * server_request_direct_streamlocal(struct ssh *ssh)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 494-529
  0.000% (0/21)
394
server_request_direct_tcpip
Name: server_request_direct_tcpip
Prototype: static Channel * server_request_direct_tcpip(struct ssh *ssh, int *reason, const char **errmsg)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 458-492
  0.000% (0/15)
374
server_request_session
Name: server_request_session
Prototype: static Channel * server_request_session(struct ssh *ssh)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 592-621
  0.000% (0/10)
194
server_request_tun
Name: server_request_tun
Prototype: static Channel * server_request_tun(struct ssh *ssh)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/serverloop.c
Lines: 531-590
  0.000% (0/27)
7111
session_auth_agent_req
Name: session_auth_agent_req
Prototype: static int session_auth_agent_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2104-2121
  0.000% (0/12)
94
session_break_req
Name: session_break_req
Prototype: static int session_break_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2057-2067
  0.000% (0/9)
53
session_by_channel
Name: session_by_channel
Prototype: static Session * session_by_channel(int id)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1848-1863
  0.000% (0/9)
143
session_by_pid
Name: session_by_pid
Prototype: static Session * session_by_pid(pid_t pid)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1888-1901
  0.000% (0/9)
133
session_by_tty
Name: session_by_tty
Prototype: Session * session_by_tty(char *tty)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1832-1846
  0.000% (0/41)
1779
session_by_x11_channel
Name: session_by_x11_channel
Prototype: static Session * session_by_x11_channel(int id)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1865-1886
  0.000% (0/15)
215
session_close
Name: session_close
Prototype: void session_close(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2344-2373
  0.000% (0/10)
244
session_close_by_channel
Name: session_close_by_channel
Prototype: void session_close_by_channel(struct ssh *ssh, int id, void *arg)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2394-2428
  0.000% (0/16)
226
session_close_by_pid
Name: session_close_by_pid
Prototype: void session_close_by_pid(struct ssh *ssh, pid_t pid, int status)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2375-2388
  0.000% (0/10)
114
session_close_single_x11
Name: session_close_single_x11
Prototype: static void session_close_single_x11(struct ssh *ssh, int id, void *arg)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2261-2291
  0.000% (0/10)
434
session_close_x11
Name: session_close_x11
Prototype: static void session_close_x11(struct ssh *ssh, int id)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2245-2259
  0.000% (0/7)
93
session_destroy_all
Name: session_destroy_all
Prototype: void session_destroy_all(struct ssh *ssh, void (*closefunc)(Session *))
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2430-2443
  0.000% (0/10)
94
session_dump
Name: session_dump
Prototype: static void session_dump(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1796-1812
  0.000% (0/4)
112
session_env_req
Name: session_env_req
Prototype: static int session_env_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2069-2102
  0.000% (0/14)
216
session_exec_req
Name: session_exec_req
Prototype: static int session_exec_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2045-2055
  0.000% (0/4)
62
session_exit_message
Name: session_exit_message
Prototype: static void session_exit_message(struct ssh *ssh, Session *s, int status)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2293-2342
  0.000% (0/14)
565
session_get_remote_name_or_ip
Name: session_get_remote_name_or_ip
Prototype: const char * session_get_remote_name_or_ip(struct ssh *ssh, u_int utmp_size, int use_dns)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2626-2636
  0.000% (0/9)
63
session_input_channel_req
Name: session_input_channel_req
Prototype: int session_input_channel_req(struct ssh *ssh, Channel *c, const char *rtype)
Coverage:  0.000% (0/304)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2123-2163
  0.000% (0/304)
148666
session_new
Name: session_new
Prototype: Session * session_new(void)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1755-1794
  0.000% (0/18)
386
session_open
Name: session_open
Prototype: int session_open(Authctxt *authctxt, int chanid)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1814-1830
  0.000% (0/9)
183
session_proctitle
Name: session_proctitle
Prototype: void session_proctitle(Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2473-2480
  0.000% (0/4)
52
session_pty_cleanup
Name: session_pty_cleanup
Prototype: void session_pty_cleanup(Session *s)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2218-2222
  0.000% (0/1)
11
session_pty_cleanup2
Name: session_pty_cleanup2
Prototype: void session_pty_cleanup2(Session *s)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2185-2216
  0.000% (0/18)
206
session_pty_req
Name: session_pty_req
Prototype: static int session_pty_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1915-1964
  0.000% (0/53)
20113
session_set_fds
Name: session_set_fds
Prototype: void session_set_fds(struct ssh *ssh, Session *s, int fdin, int fdout, int fderr, int ignore_fderr, int is_tty)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2165-2179
  0.000% (0/4)
62
session_setup_x11fwd
Name: session_setup_x11fwd
Prototype: int session_setup_x11fwd(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2482-2556
  0.000% (0/28)
539
session_shell_req
Name: session_shell_req
Prototype: static int session_shell_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2038-2043
  0.000% (0/4)
62
session_subsystem_req
Name: session_subsystem_req
Prototype: static int session_subsystem_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/80)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1966-2004
  0.000% (0/80)
35519
session_tty_list
Name: session_tty_list
Prototype: static char * session_tty_list(void)
Coverage:  0.000% (0/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2445-2471
  0.000% (0/61)
22212
session_unused
Name: session_unused
Prototype: void session_unused(int id)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1734-1753
  0.000% (0/6)
192
session_window_change_req
Name: session_window_change_req
Prototype: static int session_window_change_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 1903-1913
  0.000% (0/4)
72
session_x11_req
Name: session_x11_req
Prototype: static int session_x11_req(struct ssh *ssh, Session *s)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2006-2036
  0.000% (0/18)
435
set_addrinfo_port
Name: set_addrinfo_port
Prototype: static void set_addrinfo_port(struct addrinfo *addrs, int port)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Lines: 557-574
  0.000% (0/16)
286
set_control_persist_exit_time
Name: set_control_persist_exit_time
Prototype: static void set_control_persist_exit_time(struct ssh *ssh)
Coverage:  0.000% (0/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 233-253
  0.000% (0/17)
125
set_fwdpermit_from_authopts
Name: set_fwdpermit_from_authopts
Prototype: static void set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 296-335
  0.000% (0/29)
419
set_log_handler
Name: set_log_handler
Prototype: void set_log_handler(log_handler_fn *handler, void *ctx)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 383-388
  0.000% (0/1)
21
set_nodelay
Name: set_nodelay
Prototype: void set_nodelay(int fd)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 148-167
  0.000% (0/10)
374
set_nonblock
Name: set_nonblock
Prototype: int set_nonblock(int fd)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 91-113
  0.000% (0/10)
374
set_process_rdomain
Name: set_process_rdomain
Prototype: static void set_process_rdomain(struct ssh *ssh, const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 1387-1424
  0.000% (0/1)
11
set_rdomain
Name: set_rdomain
Prototype: int set_rdomain(int fd, const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 205-234
  0.000% (0/1)
21
set_reuseaddr
Name: set_reuseaddr
Prototype: int set_reuseaddr(int fd)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 170-180
  0.000% (0/4)
172
set_utmp_time
Name: set_utmp_time
Prototype: void set_utmp_time(struct logininfo *li, struct utmp *ut)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 635-644
  0.000% (0/1)
21
setlogin
Name: setlogin
Prototype: int setlogin(const char *name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-misc.c
Lines: 67-70
  0.000% (0/1)
11
setneutral
Name: setneutral
Prototype: static void setneutral(crypto_sign_ed25519_ref_ge25519 *r)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c
Lines: 183-189
100.000% (1/1)
41
setproctitle
Name: setproctitle
Prototype: void setproctitle(const char *fmt, ...)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/setproctitle.c
Lines: 122-167
  0.000% (0/18)
406
setscreensize
Name: setscreensize
Prototype: static void setscreensize(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 292-306
  0.000% (0/10)
163
sftp_proto_version
Name: sftp_proto_version
Prototype: u_int sftp_proto_version(struct sftp_conn *conn)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 494-498
  0.000% (0/1)
11
sftp_server_cleanup_exit
Name: sftp_server_cleanup_exit
Prototype: void sftp_server_cleanup_exit(int i)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 1474-1483
  0.000% (0/6)
112
sftp_server_main
Name: sftp_server_main
Prototype: int sftp_server_main(int argc, char **argv, struct passwd *user_pw)
Coverage:  0.000% (0/139)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 1499-1710
  0.000% (0/139)
26545
sftp_server_usage
Name: sftp_server_usage
Prototype: static void sftp_server_usage(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c
Lines: 1485-1497
  0.000% (0/1)
121
sftpio
Name: sftpio
Prototype: static int sftpio(void *_bwlimit, size_t amount)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 99-106
  0.000% (0/1)
31
sglob_comp
Name: sglob_comp
Prototype: static int sglob_comp(const void *aa, const void *bb)
Coverage:  0.000% (0/42)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 900-926
  0.000% (0/42)
17810
shadow_pw
Name: shadow_pw
Prototype: char * shadow_pw(struct passwd *pw)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/xcrypt.c
Lines: 134-162
  0.000% (0/4)
72
show_options
Name: show_options
Prototype: static void show_options(struct sshbuf *optbuf, int in_critical)
Coverage:  0.000% (0/249)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1946-1988
  0.000% (0/249)
120150
show_other_keys
Name: show_other_keys
Prototype: static int show_other_keys(struct hostkeys *hostkeys, struct sshkey *key)
Coverage:  0.000% (0/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1450-1489
  0.000% (0/18)
406
sieve_large
Name: sieve_large
Prototype: static void sieve_large(u_int32_t s)
Coverage:  0.000% (0/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/moduli.c
Lines: 184-235
  0.000% (0/30)
2310
sig2name
Name: sig2name
Prototype: static char * sig2name(int sig)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c
Lines: 2224-2243
  0.000% (0/40)
5314
sig_winch
Name: sig_winch
Prototype: static void sig_winch(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c
Lines: 286-290
  0.000% (0/1)
11
sigchld_handler
Name: sigchld_handler
Prototype: static void sigchld_handler(int sig)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 257-273
  0.000% (0/9)
333
sigdie
Name: sigdie
Prototype: void sigdie(const char *fmt,...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 172-183
  0.000% (0/1)
11
sighup_handler
Name: sighup_handler
Prototype: static void sighup_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 284-291
  0.000% (0/1)
91
sighup_restart
Name: sighup_restart
Prototype: static void sighup_restart(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 297-312
  0.000% (0/4)
262
sign_and_send_pubkey
Name: sign_and_send_pubkey
Prototype: static int sign_and_send_pubkey(struct ssh *ssh, Authctxt *authctxt, Identity *id)
Coverage:  0.000% (0/108)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 1181-1338
  0.000% (0/108)
15127
signal_handler
Name: signal_handler
Prototype: static void signal_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c
Lines: 220-225
  0.000% (0/1)
21
sigterm_handler
Name: sigterm_handler
Prototype: static void sigterm_handler(int sig)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 318-322
  0.000% (0/1)
11
sink
Name: sink
Prototype: void sink(int argc, char **argv)
Coverage:  0.000% (0/372)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 969-1274
  0.000% (0/372)
74685
skip_space
Name: skip_space
Prototype: static void skip_space(char **cpp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 525-533
  0.000% (0/6)
32
snmprintf
Name: snmprintf
Prototype: int snmprintf(char *str, size_t sz, int *wp, const char *fmt, ...)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c
Lines: 240-256
 60.000% (3/5)
292
sock_set_v6only
Name: sock_set_v6only
Prototype: void sock_set_v6only(int s)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1530-1540
  0.000% (0/4)
162
sockaddr_is_local
Name: sockaddr_is_local
Prototype: static int sockaddr_is_local(struct sockaddr *hostaddr)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 762-775
  0.000% (0/6)
264
source
Name: source
Prototype: void source(int argc, char **argv)
Coverage:  0.000% (0/94)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 803-913
  0.000% (0/94)
17031
special_char_decode
Name: special_char_decode
Prototype: static cc_t special_char_decode(u_int c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 263-271
  0.000% (0/1)
11
special_char_encode
Name: special_char_encode
Prototype: static u_int special_char_encode(cc_t c)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 250-258
  0.000% (0/1)
11
speed_to_baud
Name: speed_to_baud
Prototype: static int speed_to_baud(speed_t speed)
Coverage:  0.000% (0/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c
Lines: 72-156
  0.000% (0/40)
2121
square
Name: square
Prototype: static void square(unsigned int out[32],const unsigned int a[32])
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c
Lines: 90-108
100.000% (13/13)
135
squeeze
Name: squeeze
Prototype: static void squeeze(unsigned int a[32])
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c
Lines: 34-44
100.000% (7/7)
83
Page:<>1
Function: BSDgetopt
...10
Function: load_hostkeys
11
Function: mm_key_allowed
12
Function: opt_dequote
13
Function: port_open_helper
14
Function: read_passphrase
1516
Function: ssh2_capable
17
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