OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Function: BSDgetopt
...8
Function: get_ec
9
Function: input_userauth_ext_info
10
Function: load_hostkeys
11
Function: mm_key_allowed
1213
Function: port_open_helper
14
Function: read_passphrase
15
Function: send_statvfs
16
Function: ssh2_capable
...20
Function: subprocess
21
Function: xasprintf
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
opt_dequote
Name: opt_dequote
Prototype: static char * opt_dequote(const char **sp, const char **errstrp)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 67-98
  0.000% (0/20)
416
opt_flag
Name: opt_flag
Prototype: static int opt_flag(const char *opt, int allow_negate, const char **optsp)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 49-65
  0.000% (0/11)
103
opt_match
Name: opt_match
Prototype: static int opt_match(const char **opts, const char *term)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c
Lines: 100-109
  0.000% (0/6)
52
option_clear_or_none
Name: option_clear_or_none
Prototype: int option_clear_or_none(const char *o)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 1793-1797
  0.000% (0/5)
51
option_clear_or_none
Name: option_clear_or_none
Prototype: static int option_clear_or_none(const char *o)
Coverage:  80.000% (4/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 186-190
 80.000% (4/5)
51
order_hostkeyalgs
Name: order_hostkeyalgs
Prototype: static char * order_hostkeyalgs(char *host, struct sockaddr *hostaddr, u_short port)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c
Lines: 103-155
  0.000% (0/27)
1099
p1p1_to_p2
Name: p1p1_to_p2
Prototype: static void p1p1_to_p2(ge25519_p2 *r, const ge25519_p1p1 *p)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c
Lines: 70-75
100.000% (1/1)
31
p1p1_to_p3
Name: p1p1_to_p3
Prototype: static void p1p1_to_p3(crypto_sign_ed25519_ref_ge25519 *r, const ge25519_p1p1 *p)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ge25519.c
Lines: 77-81
100.000% (1/1)
21
packet_close
Name: packet_close
Prototype: void packet_close(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 255-260
  0.000% (0/1)
61
packet_disconnect
Name: packet_disconnect
Prototype: void packet_disconnect(const char *fmt, ...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 298-308
  0.000% (0/1)
221
packet_get_char
Name: packet_get_char
Prototype: u_int packet_get_char(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 221-225
  0.000% (0/1)
11
packet_get_int
Name: packet_get_int
Prototype: u_int packet_get_int(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 227-231
  0.000% (0/1)
11
packet_process_incoming
Name: packet_process_incoming
Prototype: void packet_process_incoming(const char *buf, u_int len)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 262-269
  0.000% (0/4)
32
packet_read_expect
Name: packet_read_expect
Prototype: void packet_read_expect(int expected_type)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 289-296
  0.000% (0/4)
32
packet_read_poll_seqnr
Name: packet_read_poll_seqnr
Prototype: int packet_read_poll_seqnr(u_int32_t *seqnr)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 244-253
  0.000% (0/4)
52
packet_read_seqnr
Name: packet_read_seqnr
Prototype: int packet_read_seqnr(u_int32_t *seqnr)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 233-242
  0.000% (0/4)
52
packet_send_debug
Name: packet_send_debug
Prototype: void packet_send_debug(const char *fmt, ...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 310-320
  0.000% (0/1)
221
packet_set_connection
Name: packet_set_connection
Prototype: void packet_set_connection(int fd_in, int fd_out)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 213-219
  0.000% (0/4)
52
packet_write_poll
Name: packet_write_poll
Prototype: void packet_write_poll(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 280-287
  0.000% (0/4)
32
packet_write_wait
Name: packet_write_wait
Prototype: void packet_write_wait(void)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/opacket.c
Lines: 271-278
  0.000% (0/4)
32
parse_absolute_time
Name: parse_absolute_time
Prototype: int parse_absolute_time(const char *s, uint64_t *tp)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1965-2006
  0.000% (0/15)
267
parse_args
Name: parse_args
Prototype: static int parse_args(const char **cpp, int *ignore_errors, int *aflag, int *fflag, int *hflag, int *iflag, int *lflag, int *pflag, int *rflag, int *sflag, unsigned long *n_arg, char **path1, char **path2)
Coverage:  0.000% (0/143)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 1298-1490
  0.000% (0/143)
19159
parse_cert_times
Name: parse_cert_times
Prototype: static void parse_cert_times(char *timespec)
Coverage:  0.000% (0/113)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1836-1884
  0.000% (0/113)
42723
parse_df_flags
Name: parse_df_flags
Prototype: static int parse_df_flags(const char *cmd, char **argv, int argc, int *hflag, int *iflag)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 537-562
  0.000% (0/9)
145
parse_dispatch_command
Name: parse_dispatch_command
Prototype: static int parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd, const char *startdir, int err_abort)
Coverage:  0.000% (0/181)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 1492-1749
  0.000% (0/181)
24264
parse_dns_qsection
Name: parse_dns_qsection
Prototype: static struct dns_query * parse_dns_qsection(const u_char *answer, int size, const u_char **cp, int count)
Coverage:  0.000% (0/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 447-491
  0.000% (0/28)
1028
parse_dns_response
Name: parse_dns_response
Prototype: static struct dns_response * parse_dns_response(const u_char *answer, int size)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 382-445
  0.000% (0/43)
11011
parse_dns_rrsection
Name: parse_dns_rrsection
Prototype: static struct dns_rr * parse_dns_rrsection(const u_char *answer, int size, const u_char **cp, int count)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c
Lines: 493-555
  0.000% (0/31)
1269
parse_forward
Name: parse_forward
Prototype: int parse_forward(struct Forward *fwd, const char *fwdspec, int dynamicfwd, int remotefwd)
Coverage:  0.000% (0/99)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2209-2338
  0.000% (0/99)
15926
parse_fwd_field
Name: parse_fwd_field
Prototype: static int parse_fwd_field(char **p, struct fwdarg *fwd)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2143-2197
  0.000% (0/38)
3613
parse_getput_flags
Name: parse_getput_flags
Prototype: static int parse_getput_flags(const char *cmd, char **argv, int argc, int *aflag, int *fflag, int *pflag, int *rflag)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 400-434
  0.000% (0/15)
189
parse_ipqos
Name: parse_ipqos
Prototype: int parse_ipqos(const char *cp)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1442-1460
  0.000% (0/19)
175
parse_jump
Name: parse_jump
Prototype: int parse_jump(const char *s, Options *o, int active)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2340-2395
  0.000% (0/41)
8711
parse_link_flags
Name: parse_link_flags
Prototype: static int parse_link_flags(const char *cmd, char **argv, int argc, int *sflag)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 436-458
  0.000% (0/7)
124
parse_long_options
Name: parse_long_options
Prototype: static int parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too)
Coverage:  0.000% (0/134)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getopt_long.c
Lines: 175-287
  0.000% (0/134)
30728
parse_ls_flags
Name: parse_ls_flags
Prototype: static int parse_ls_flags(char **argv, int argc, int *lflag)
Coverage:  0.000% (0/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 484-535
  0.000% (0/23)
3312
parse_no_flags
Name: parse_no_flags
Prototype: static int parse_no_flags(const char *cmd, char **argv, int argc)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 564-582
  0.000% (0/5)
93
parse_prime
Name: parse_prime
Prototype: static int parse_prime(int linenum, char *line, struct dhgroup *dhg)
Coverage:  0.000% (0/88)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/dh.c
Lines: 48-144
  0.000% (0/88)
54021
parse_relative_time
Name: parse_relative_time
Prototype: static u_int64_t parse_relative_time(const char *s, time_t now)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1822-1834
  0.000% (0/11)
73
parse_rename_flags
Name: parse_rename_flags
Prototype: static int parse_rename_flags(const char *cmd, char **argv, int argc, int *lflag)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 460-482
  0.000% (0/7)
124
parse_revoked_certs
Name: parse_revoked_certs
Prototype: static int parse_revoked_certs(struct sshbuf *buf, struct ssh_krl *krl)
Coverage:  0.000% (0/90)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 845-956
  0.000% (0/90)
13129
parse_scp_uri
Name: parse_scp_uri
Prototype: static int parse_scp_uri(const char *uri, char **userp, char **hostp, int *portp, char **pathp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 611-621
  0.000% (0/6)
72
parse_server_config
Name: parse_server_config
Prototype: void parse_server_config(ServerOptions *options, const char *filename, struct sshbuf *conf, struct connection_info *connectinfo)
Coverage:  53.333% (8/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2359-2382
 53.333% (8/15)
885
parse_server_match_config
Name: parse_server_match_config
Prototype: void parse_server_match_config(ServerOptions *options, struct connection_info *connectinfo)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2209-2218
  0.000% (0/1)
41
parse_server_match_testspec
Name: parse_server_match_testspec
Prototype: int parse_server_match_testspec(struct connection_info *ci, char *spec)
Coverage:  0.000% (0/267)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2220-2249
  0.000% (0/267)
131045
parse_ssh_uri
Name: parse_ssh_uri
Prototype: int parse_ssh_uri(const char *uri, char **userp, char **hostp, int *portp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2397-2407
  0.000% (0/6)
82
parse_token
Name: parse_token
Prototype: static OpCodes parse_token(const char *cp, const char *filename, int linenum, const char *ignored_unknown)
Coverage:  0.000% (0/41)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 718-733
  0.000% (0/41)
17610
parse_token
Name: parse_token
Prototype: static ServerOpCodes parse_token(const char *cp, const char *filename, int linenum, u_int *flags)
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 680-695
 66.667% (4/6)
83
parse_uri
Name: parse_uri
Prototype: int parse_uri(const char *scheme, const char *uri, char **userp, char **hostp, int *portp, char **pathp)
Coverage:  0.000% (0/173)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 765-854
  0.000% (0/173)
64335
parse_user_host_path
Name: parse_user_host_path
Prototype: int parse_user_host_path(const char *s, char **userp, char **hostp, char **pathp)
Coverage:  0.000% (0/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 573-631
  0.000% (0/33)
9512
parse_user_host_port
Name: parse_user_host_port
Prototype: int parse_user_host_port(const char *s, char **userp, char **hostp, int *portp)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 641-692
  0.000% (0/63)
15117
path_append
Name: path_append
Prototype: char * path_append(const char *p1, const char *p2)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c
Lines: 1906-1919
  0.000% (0/6)
82
path_strip
Name: path_strip
Prototype: static char * path_strip(const char *path, const char *strip)
Coverage:  0.000% (0/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 368-384
  0.000% (0/52)
21310
pathname_is_dir
Name: pathname_is_dir
Prototype: static int pathname_is_dir(const char *pathname)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 610-616
  0.000% (0/5)
21
pdf_gen_xor [umac.c #1]
Name: pdf_gen_xor [umac.c #1]
Prototype: static void pdf_gen_xor(pdf_ctx *pc, const UINT8 nonce[8], UINT8 buf[8])
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 235-278
  0.000% (0/6)
92
pdf_gen_xor [umac.c #2]
Name: pdf_gen_xor [umac.c #2]
Prototype: static void pdf_gen_xor(pdf_ctx *pc, const UINT8 nonce[8], UINT8 buf[8])
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 235-278
  0.000% (0/6)
92
pdf_init [umac.c #1]
Name: pdf_init [umac.c #1]
Prototype: static void pdf_init(pdf_ctx *pc, aes_int_key prf_key)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 222-233
  0.000% (0/1)
61
pdf_init [umac.c #2]
Name: pdf_init [umac.c #2]
Prototype: static void pdf_init(pdf_ctx *pc, aes_int_key prf_key)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 222-233
  0.000% (0/1)
61
peek_type_nid
Name: peek_type_nid
Prototype: static int peek_type_nid(const char *s, size_t l, int *nid)
Coverage:  94.118% (16/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c
Lines: 1208-1224
 94.118% (16/17)
145
percent_expand
Name: percent_expand
Prototype: char * percent_expand(const char *string, ...)
Coverage:  0.000% (0/48)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 969-1025
  0.000% (0/48)
12615
permanently_set_uid
Name: permanently_set_uid
Prototype: void permanently_set_uid(struct passwd *pw)
Coverage:  0.000% (0/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/uidswap.c
Lines: 178-236
  0.000% (0/39)
369
permission_set_add
Name: permission_set_add
Prototype: static int permission_set_add(struct ssh *ssh, int who, int where, const char *host_to_connect, int port_to_connect, const char *listen_host, const char *listen_path, int listen_port, Channel *downstream)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 522-547
  0.000% (0/10)
382
permission_set_get
Name: permission_set_get
Prototype: static struct permission_set * permission_set_get(struct ssh *ssh, int where)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 483-498
  0.000% (0/6)
54
permission_set_get_array
Name: permission_set_get_array
Prototype: static void permission_set_get_array(struct ssh *ssh, int who, int where, struct permission ***permpp, u_int **npermpp)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 501-519
  0.000% (0/6)
94
permitopen_port
Name: permitopen_port
Prototype: int permitopen_port(const char *p)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c
Lines: 4090-4100
  0.000% (0/37)
1689
permute_args
Name: permute_args
Prototype: static void permute_args(int panonopt_start, int panonopt_end, int opt_end, char * const *nargv)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getopt_long.c
Lines: 138-168
  0.000% (0/11)
164
pick_salt
Name: pick_salt
Prototype: static const char * pick_salt(void)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/xcrypt.c
Lines: 72-96
  0.000% (0/13)
405
pkcs11_add_provider
Name: pkcs11_add_provider
Prototype: int pkcs11_add_provider(char *name, char *pin, struct sshkey ***keysp)
Coverage:  0.000% (0/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-client.c
Lines: 203-246
  0.000% (0/34)
439
pkcs11_add_provider
Name: pkcs11_add_provider
Prototype: int pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp)
Coverage:  0.000% (0/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 592-716
  0.000% (0/55)
14319
pkcs11_del_provider
Name: pkcs11_del_provider
Prototype: int pkcs11_del_provider(char *name)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-client.c
Lines: 248-267
  0.000% (0/14)
164
pkcs11_del_provider
Name: pkcs11_del_provider
Prototype: int pkcs11_del_provider(char *provider_id)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 160-172
  0.000% (0/8)
123
pkcs11_fetch_keys
Name: pkcs11_fetch_keys
Prototype: static int pkcs11_fetch_keys(struct pkcs11_provider *p, CK_ULONG slotidx, struct sshkey ***keysp, int *nkeys)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 410-441
  0.000% (0/6)
582
pkcs11_fetch_keys_filter
Name: pkcs11_fetch_keys_filter
Prototype: static int pkcs11_fetch_keys_filter(struct pkcs11_provider *p, CK_ULONG slotidx, CK_ATTRIBUTE filter[], CK_ATTRIBUTE attribs[3], struct sshkey ***keysp, int *nkeys)
Coverage:  0.000% (0/83)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 463-589
  0.000% (0/83)
13724
pkcs11_find
Name: pkcs11_find
Prototype: static int pkcs11_find(struct pkcs11_provider *p, CK_ULONG slotidx, CK_ATTRIBUTE *attr, CK_ULONG nattr, CK_OBJECT_HANDLE *obj)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 194-219
  0.000% (0/13)
184
pkcs11_init
Name: pkcs11_init
Prototype: int pkcs11_init(int interactive)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 78-84
  0.000% (0/1)
71
pkcs11_key_included
Name: pkcs11_key_included
Prototype: static int pkcs11_key_included(struct sshkey ***keysp, int *nkeys, struct sshkey *key)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 443-452
  0.000% (0/6)
53
pkcs11_open_session
Name: pkcs11_open_session
Prototype: static int pkcs11_open_session(struct pkcs11_provider *p, CK_ULONG slotidx, char *pin)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 366-399
  0.000% (0/24)
336
pkcs11_provider_finalize
Name: pkcs11_provider_finalize
Prototype: static void pkcs11_provider_finalize(struct pkcs11_provider *p)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 92-113
  0.000% (0/15)
245
pkcs11_provider_lookup
Name: pkcs11_provider_lookup
Prototype: static struct pkcs11_provider * pkcs11_provider_lookup(char *provider_id)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 146-157
  0.000% (0/37)
1759
pkcs11_provider_unref
Name: pkcs11_provider_unref
Prototype: static void pkcs11_provider_unref(struct pkcs11_provider *p)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 119-130
  0.000% (0/7)
73
pkcs11_rsa_finish
Name: pkcs11_rsa_finish
Prototype: static int pkcs11_rsa_finish(RSA *rsa)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 175-191
  0.000% (0/10)
214
pkcs11_rsa_private_decrypt
Name: pkcs11_rsa_private_decrypt
Prototype: static int pkcs11_rsa_private_decrypt(int flen, const u_char *from, u_char *to, RSA *rsa, int padding)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 306-311
  0.000% (0/1)
11
pkcs11_rsa_private_encrypt
Name: pkcs11_rsa_private_encrypt
Prototype: static int pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, int padding)
Coverage:  0.000% (0/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 222-304
  0.000% (0/44)
10112
pkcs11_rsa_wrap
Name: pkcs11_rsa_wrap
Prototype: static int pkcs11_rsa_wrap(struct pkcs11_provider *provider, CK_ULONG slotidx, CK_ATTRIBUTE *keyid_attrib, RSA *rsa)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 314-345
  0.000% (0/16)
364
pkcs11_start_helper
Name: pkcs11_start_helper
Prototype: static int pkcs11_start_helper(void)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-client.c
Lines: 172-201
  0.000% (0/15)
665
pkcs11_terminate
Name: pkcs11_terminate
Prototype: void pkcs11_terminate(void)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11.c
Lines: 133-143
  0.000% (0/8)
103
plain_key_blob
Name: plain_key_blob
Prototype: static int plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c
Lines: 368-385
  0.000% (0/10)
114
platform_disable_tracing
Name: platform_disable_tracing
Prototype: void platform_disable_tracing(int strict)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform-tracing.c
Lines: 33-51
  0.000% (0/6)
62
platform_krb5_get_principal_name
Name: platform_krb5_get_principal_name
Prototype: char * platform_krb5_get_principal_name(const char *pw_name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform.c
Lines: 190-198
  0.000% (0/1)
51
platform_post_fork_child
Name: platform_post_fork_child
Prototype: void platform_post_fork_child(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform.c
Lines: 69-78
  0.000% (0/1)
11
platform_pre_listen
Name: platform_pre_listen
Prototype: void platform_pre_listen(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform.c
Lines: 36-43
  0.000% (0/1)
11
platform_pre_restart
Name: platform_pre_restart
Prototype: void platform_pre_restart(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform.c
Lines: 53-59
  0.000% (0/1)
11
platform_privileged_uidswap
Name: platform_privileged_uidswap
Prototype: int platform_privileged_uidswap(void)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform.c
Lines: 81-90
  0.000% (0/5)
11
platform_sys_dir_uid
Name: platform_sys_dir_uid
Prototype: int platform_sys_dir_uid(uid_t uid)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/platform-misc.c
Lines: 25-35
  0.000% (0/4)
32
pledge
Name: pledge
Prototype: int pledge(const char *promises, const char *paths[])
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bsd-misc.c
Lines: 255-259
  0.000% (0/1)
11
poly1305_auth
Name: poly1305_auth
Prototype: void poly1305_auth(unsigned char out[16], const unsigned char *m, size_t inlen, const unsigned char key[32])
Coverage: 100.000% (20/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/poly1305.c
Lines: 33-160
100.000% (20/20)
9510
poly64 [umac.c #1]
Name: poly64 [umac.c #1]
Prototype: static UINT64 poly64(UINT64 cur, UINT64 key, UINT64 data)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 796-822
  0.000% (0/7)
193
poly64 [umac.c #2]
Name: poly64 [umac.c #2]
Prototype: static UINT64 poly64(UINT64 cur, UINT64 key, UINT64 data)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 796-822
  0.000% (0/7)
193
poly_hash [umac.c #1]
Name: poly_hash [umac.c #1]
Prototype: static void poly_hash(uhash_ctx_t hc, UINT32 data_in[])
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #1
Lines: 831-847
  0.000% (0/7)
103
poly_hash [umac.c #2]
Name: poly_hash [umac.c #2]
Prototype: static void poly_hash(uhash_ctx_t hc, UINT32 data_in[])
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/umac.c #2
Lines: 831-847
  0.000% (0/7)
103
Page:<>1
Function: BSDgetopt
...8
Function: get_ec
9
Function: input_userauth_ext_info
10
Function: load_hostkeys
11
Function: mm_key_allowed
1213
Function: port_open_helper
14
Function: read_passphrase
15
Function: send_statvfs
16
Function: ssh2_capable
...20
Function: subprocess
21
Function: xasprintf

Generated by Squish Coco 4.2.2