| Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–¾ |
sshkey_parse_private_pem_fileblob| Name: | sshkey_parse_private_pem_fileblob | | Prototype: | static int sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type, const char *passphrase, struct sshkey **keyp) | | Coverage: | 52.308% (34/65) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3916-4007 |
| | 125 | 16 |
sshkey_names_valid2| Name: | sshkey_names_valid2 | | Prototype: | int sshkey_names_valid2(const char *names, int allow_wildcard) | | Coverage: | 0.000% (0/68) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 254-289 |
| | 360 | 16 |
sshkey_equal_public| Name: | sshkey_equal_public | | Prototype: | int sshkey_equal_public(const struct sshkey *a, const struct sshkey *b) | | Coverage: | 54.545% (36/66) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 635-710 |
| | 103 | 16 |
ssh_session2| Name: | ssh_session2 | | Prototype: | static int ssh_session2(struct ssh *ssh, struct passwd *pw) | | Coverage: | 0.000% (0/57) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c | | Lines: | 1840-1958 |
| | 109 | 16 |
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 |
| | 70 | 16 |
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 |
| | 124 | 16 |
prepare_poll| Name: | prepare_poll | | Prototype: | static int prepare_poll(struct pollfd **pfdp, size_t *npfdp, int *timeoutp, u_int maxfds) | | Coverage: | 0.000% (0/43) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c | | Lines: | 943-1009 |
| | 58 | 16 |
open_match| Name: | open_match | | Prototype: | static int open_match(struct permission *allowed_open, const char *requestedhost, int requestedport) | | Coverage: | 0.000% (0/74) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 3854-3867 |
| | 337 | 16 |
log_init| Name: | log_init | | Prototype: | void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | | Coverage: | 9.091% (3/33) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c | | Lines: | 256-336 |
| | 109 | 16 |
kex_assemble_names| Name: | kex_assemble_names | | Prototype: | int kex_assemble_names(char **listp, const char *def, const char *all) | | Coverage: | 7.937% (5/63) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 211-294 |
| | 235 | 16 |
id_filename_matches| Name: | id_filename_matches | | Prototype: | static int id_filename_matches(Identity *id, Identity *private_id) | | Coverage: | 0.000% (0/76) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | | Lines: | 1162-1179 |
| | 342 | 16 |
handle_permit| Name: | handle_permit | | Prototype: | static int handle_permit(const char **optsp, int allow_bare_port, char ***permitsp, size_t *npermitsp, const char **errstrp) | | Coverage: | 0.000% (0/78) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c | | Lines: | 315-381 |
| | 287 | 16 |
fmt_intarg| Name: | fmt_intarg | | Prototype: | static const char * fmt_intarg(OpCodes code, int val) | | Coverage: | 0.000% (0/29) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | | Lines: | 2422-2457 |
| | 16 | 16 |
client_session2_setup| Name: | client_session2_setup | | Prototype: | void client_session2_setup(struct ssh *ssh, int id, int want_tty, int want_subsystem, const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd, char **env) | | Coverage: | 0.000% (0/61) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 2193-2305 |
| | 167 | 16 |
check_ifaddrs| Name: | check_ifaddrs | | Prototype: | static int check_ifaddrs(const char *ifname, int af, const struct ifaddrs *ifaddrs, struct sockaddr_storage *resultp, socklen_t *rlenp) | | Coverage: | 0.000% (0/70) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c | | Lines: | 273-327 |
| | 235 | 16 |
auth2_methods_valid| Name: | auth2_methods_valid | | Prototype: | int auth2_methods_valid(const char *_methods, int need_enable) | | Coverage: | 0.000% (0/66) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c | | Lines: | 507-547 |
| | 302 | 16 |
agent_encode_alg| Name: | agent_encode_alg | | Prototype: | static u_int agent_encode_alg(const struct sshkey *key, const char *alg) | | Coverage: | 0.000% (0/72) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c | | Lines: | 327-337 |
| | 334 | 16 |
add_one_listen_addr| Name: | add_one_listen_addr | | Prototype: | static void add_one_listen_addr(ServerOptions *options, const char *addr, const char *rdomain, int port) | | Coverage: | 14.062% (9/64) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 730-774 |
| | 224 | 16 |
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 |
| | 274 | 15 |
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 |
| | 73 | 15 |
ssh_set_newkeys| Name: | ssh_set_newkeys | | Prototype: | int ssh_set_newkeys(struct ssh *ssh, int mode) | | Coverage: | 32.143% (18/56) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 828-921 |
| | 85 | 15 |
refresh_progress_meter| Name: | refresh_progress_meter | | Prototype: | void refresh_progress_meter(void) | | Coverage: | 0.000% (0/57) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/progressmeter.c | | Lines: | 119-227 |
| | 75 | 15 |
process_remove_smartcard_key| Name: | process_remove_smartcard_key | | Prototype: | static void process_remove_smartcard_key(SocketEntry *e) | | Coverage: | 0.000% (0/57) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c | | Lines: | 627-666 |
| | 219 | 15 |
process_readdir| Name: | process_readdir | | Prototype: | static void process_readdir(u_int32_t id) | | Coverage: | 0.000% (0/58) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c | | Lines: | 1034-1088 |
| | 214 | 15 |
process_get| Name: | process_get | | Prototype: | static int process_get(struct sftp_conn *conn, const char *src, const char *dst, const char *pwd, int pflag, int rflag, int resume, int fflag) | | Coverage: | 0.000% (0/60) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c | | Lines: | 618-702 |
| | 98 | 15 |
process_add_identity| Name: | process_add_identity | | Prototype: | static void process_add_identity(SocketEntry *e) | | Coverage: | 0.000% (0/41) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c | | Lines: | 401-478 |
| | 76 | 15 |
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 |
| | 126 | 15 |
mux_session_confirm| Name: | mux_session_confirm | | Prototype: | static void mux_session_confirm(struct ssh *ssh, int id, int success, void *arg) | | Coverage: | 0.000% (0/51) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | | Lines: | 1372-1451 |
| | 75 | 15 |
mm_answer_sign| Name: | mm_answer_sign | | Prototype: | int mm_answer_sign(int sock, struct sshbuf *m) | | Coverage: | 0.000% (0/64) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c | | Lines: | 609-708 |
| | 90 | 15 |
load_identity_file| Name: | load_identity_file | | Prototype: | static struct sshkey * load_identity_file(Identity *id) | | Coverage: | 0.000% (0/50) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | | Lines: | 1379-1441 |
| | 68 | 15 |
kex_choose_conf| Name: | kex_choose_conf | | Prototype: | static int kex_choose_conf(struct ssh *ssh) | | Coverage: | 60.526% (46/76) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 815-925 |
| | 126 | 15 |
interactive_loop| Name: | interactive_loop | | Prototype: | static int interactive_loop(struct sftp_conn *conn, char *file1, char *file2) | | Coverage: | 0.000% (0/53) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c | | Lines: | 2113-2263 |
| | 142 | 15 |
input_kex_c25519_reply| Name: | input_kex_c25519_reply | | Prototype: | static int input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 47.059% (24/51) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519c.c | | Lines: | 71-169 |
| | 98 | 15 |
input_kex_c25519_init| Name: | input_kex_c25519_init | | Prototype: | static int input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 45.283% (24/53) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexc25519s.c | | Lines: | 54-158 |
| | 105 | 15 |
glob3| Name: | glob3 | | Prototype: | static int glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *pattern, Char *restpattern, Char *restpattern_last, _ssh_compat_glob_t *pglob, struct glob_lim *limitp) | | Coverage: | 0.000% (0/53) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c | | Lines: | 695-778 |
| | 65 | 15 |
do_log| Name: | do_log | | Prototype: | void do_log(LogLevel level, const char *fmt, va_list args) | | Coverage: | 28.205% (11/39) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c | | Lines: | 400-480 |
| | 114 | 15 |
do_convert_from| Name: | do_convert_from | | Prototype: | static void do_convert_from(struct passwd *pw) | | Coverage: | 48.571% (17/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 717-774 |
| | 112 | 15 |
check_principals_line| Name: | check_principals_line | | Prototype: | static int check_principals_line(struct ssh *ssh, char *cp, const struct sshkey_cert *cert, const char *loc, struct sshauthopt **authoptsp) | | Coverage: | 0.000% (0/69) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c | | Lines: | 280-328 |
| | 224 | 15 |
check_hostkeys_by_key_or_type| Name: | check_hostkeys_by_key_or_type | | Prototype: | static HostStatus check_hostkeys_by_key_or_type(struct hostkeys *hostkeys, struct sshkey *k, int keytype, const struct hostkey_entry **found) | | Coverage: | 0.000% (0/45) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | | Lines: | 341-393 |
| | 59 | 15 |
channel_cancel_lport_listener_tcpip| Name: | channel_cancel_lport_listener_tcpip | | Prototype: | static int channel_cancel_lport_listener_tcpip(struct ssh *ssh, const char *lhost, u_short lport, int cport, struct ForwardOptions *fwd_opts) | | Coverage: | 0.000% (0/66) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 3603-3637 |
| | 214 | 15 |
argv_split| Name: | argv_split | | Prototype: | int argv_split(const char *s, int *argcp, char ***argvp) | | Coverage: | 0.000% (0/63) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 1603-1671 |
| | 59 | 15 |
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 |
| | 59 | 14 |
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 |
| | 103 | 14 |
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 |
| | 66 | 14 |
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 |
| | 40 | 14 |
sshkey_load_private_cert| Name: | sshkey_load_private_cert | | Prototype: | int sshkey_load_private_cert(int type, const char *filename, const char *passphrase, struct sshkey **keyp, int *perm_ok) | | Coverage: | 0.000% (0/30) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 388-435 |
| | 48 | 14 |
sshauthopt_deserialise| Name: | sshauthopt_deserialise | | Prototype: | int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **optsp) | | Coverage: | 0.000% (0/52) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c | | Lines: | 873-932 |
| | 47 | 14 |
ssh_proxy_fdpass_connect| Name: | ssh_proxy_fdpass_connect | | Prototype: | static int ssh_proxy_fdpass_connect(struct ssh *ssh, const char *host, u_short port, const char *proxy_command) | | Coverage: | 0.000% (0/39) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c | | Lines: | 106-179 |
| | 83 | 14 |
ssh_packet_send2| Name: | ssh_packet_send2 | | Prototype: | int ssh_packet_send2(struct ssh *ssh) | | Coverage: | 30.612% (15/49) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 1196-1273 |
| | 59 | 14 |
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 |
| | 89 | 14 |
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 |
| | 99 | 14 |
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 |
| | 53 | 14 |
process_add_smartcard_key| Name: | process_add_smartcard_key | | Prototype: | static void process_add_smartcard_key(SocketEntry *e) | | Coverage: | 0.000% (0/39) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c | | Lines: | 549-625 |
| | 96 | 14 |
privsep_preauth| Name: | privsep_preauth | | Prototype: | static int privsep_preauth(Authctxt *authctxt) | | Coverage: | 0.000% (0/40) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c | | Lines: | 566-633 |
| | 95 | 14 |
mux_client_request_terminate| Name: | mux_client_request_terminate | | Prototype: | static void mux_client_request_terminate(int fd) | | Coverage: | 0.000% (0/40) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | | Lines: | 1719-1774 |
| | 59 | 14 |
monitor_read| Name: | monitor_read | | Prototype: | int monitor_read(struct monitor *pmonitor, struct mon_table *ent, struct mon_table **pent) | | Coverage: | 0.000% (0/42) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c | | Lines: | 466-537 |
| | 76 | 14 |
match_list| Name: | match_list | | Prototype: | char * match_list(const char *client, const char *server, u_int *next) | | Coverage: | 31.034% (18/58) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c | | Lines: | 256-294 |
| | 473 | 14 |
load_public_identity_files| Name: | load_public_identity_files | | Prototype: | static void load_public_identity_files(struct passwd *pw) | | Coverage: | 0.000% (0/48) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c | | Lines: | 1961-2114 |
| | 164 | 14 |
is_key_revoked| Name: | is_key_revoked | | Prototype: | static int is_key_revoked(struct ssh_krl *krl, const struct sshkey *key) | | Coverage: | 0.000% (0/40) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c | | Lines: | 1253-1314 |
| | 54 | 14 |
do_ls_dir| Name: | do_ls_dir | | Prototype: | static int do_ls_dir(struct sftp_conn *conn, const char *path, const char *strip_path, int lflag) | | Coverage: | 0.000% (0/55) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c | | Lines: | 815-898 |
| | 71 | 14 |
do_child| Name: | do_child | | Prototype: | void do_child(struct ssh *ssh, Session *s, const char *command) | | Coverage: | 0.000% (0/44) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c | | Lines: | 1532-1732 |
| | 129 | 14 |
decode_attrib| Name: | decode_attrib | | Prototype: | int decode_attrib(struct sshbuf *b, Attrib *a) | | Coverage: | 0.000% (0/46) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c | | Lines: | 104-150 |
| | 38 | 14 |
client_wait_until_can_do_something| Name: | client_wait_until_can_do_something | | Prototype: | static void client_wait_until_can_do_something(struct ssh *ssh, fd_set **readsetp, fd_set **writesetp, int *maxfdp, u_int *nallocp, int rekeying) | | Coverage: | 0.000% (0/55) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 501-586 |
| | 62 | 14 |
cipher_init| Name: | cipher_init | | Prototype: | int cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher, const u_char *key, u_int keylen, const u_char *iv, u_int ivlen, int do_encrypt) | | Coverage: | 44.681% (21/47) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 235-322 |
| | 83 | 14 |
cipher_crypt| Name: | cipher_crypt | | Prototype: | int cipher_crypt(struct sshcipher_ctx *cc, u_int seqnr, u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen) | | Coverage: | 25.000% (12/48) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 334-394 |
| | 60 | 14 |
child_set_env| Name: | child_set_env | | Prototype: | void child_set_env(char ***envp, u_int *envsizep, const char *name, const char *value) | | Coverage: | 0.000% (0/72) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 1847-1901 |
| | 273 | 14 |
channel_output_poll_input_open| Name: | channel_output_poll_input_open | | Prototype: | static void channel_output_poll_input_open(struct ssh *ssh, Channel *c) | | Coverage: | 0.000% (0/58) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 2488-2561 |
| | 44 | 14 |
authmethods_get| Name: | authmethods_get | | Prototype: | static char * authmethods_get(Authctxt *authctxt) | | Coverage: | 0.000% (0/54) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c | | Lines: | 456-482 |
| | 198 | 14 |
auth_rhosts2| Name: | auth_rhosts2 | | Prototype: | int auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) | | Coverage: | 0.000% (0/57) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-rhosts.c | | Lines: | 189-324 |
| | 73 | 14 |
auth_authorise_keyopts| Name: | auth_authorise_keyopts | | Prototype: | int auth_authorise_keyopts(struct ssh *ssh, struct passwd *pw, struct sshauthopt *opts, int allow_cert_authority, const char *loc) | | Coverage: | 0.000% (0/36) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c | | Lines: | 1109-1202 |
| | 59 | 14 |
argv_assemble| Name: | argv_assemble | | Prototype: | char * argv_assemble(int argc, char **argv) | | Coverage: | 0.000% (0/45) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 1677-1726 |
| | 42 | 14 |
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 |
| | 85 | 13 |
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 |
| | 19 | 13 |
temporarily_use_uid| Name: | temporarily_use_uid | | Prototype: | void temporarily_use_uid(struct passwd *pw) | | Coverage: | 0.000% (0/41) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/uidswap.c | | Lines: | 60-136 |
| | 91 | 13 |
string_from_portable| Name: | string_from_portable | | Prototype: | static const char * string_from_portable(int pflags) | | Coverage: | 0.000% (0/37) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c | | Lines: | 240-267 |
| | 14 | 13 |
sshkey_size| Name: | sshkey_size | | Prototype: | u_int sshkey_size(const struct sshkey *k) | | Coverage: | 47.619% (10/21) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 291-323 |
| | 33 | 13 |
sshkey_sign| Name: | sshkey_sign | | Prototype: | int sshkey_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, const char *alg, u_int compat) | | Coverage: | 56.522% (13/23) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2393-2429 |
| | 20 | 13 |
sshkey_in_file| Name: | sshkey_in_file | | Prototype: | int sshkey_in_file(struct sshkey *key, const char *filename, int strict_type, int check_ca) | | Coverage: | 0.000% (0/39) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 445-503 |
| | 49 | 13 |
sshkey_free| Name: | sshkey_free | | Prototype: | void sshkey_free(struct sshkey *k) | | Coverage: | 91.304% (21/23) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 560-614 |
| | 44 | 13 |
sshkey_ec_validate_public| Name: | sshkey_ec_validate_public | | Prototype: | int sshkey_ec_validate_public(const EC_GROUP *group, const EC_POINT *public) | | Coverage: | 40.426% (19/47) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3232-3307 |
| | 71 | 13 |
ssh_packet_write_wait| Name: | ssh_packet_write_wait | | Prototype: | int ssh_packet_write_wait(struct ssh *ssh) | | Coverage: | 0.000% (0/39) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 1930-1985 |
| | 92 | 13 |
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 |
| | 77 | 13 |
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 |
| | 146 | 13 |
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 |
| | 201 | 13 |
process| Name: | process | | Prototype: | static void process(void) | | Coverage: | 0.000% (0/35) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c | | Lines: | 225-281 |
| | 42 | 13 |
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 |
| | 36 | 13 |
newkeys_from_blob| Name: | newkeys_from_blob | | Prototype: | static int newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode) | | Coverage: | 29.787% (14/47) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | | Lines: | 2257-2321 |
| | 78 | 13 |
mux_confirm_remote_forward| Name: | mux_confirm_remote_forward | | Prototype: | static void mux_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) | | Coverage: | 0.000% (0/44) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | | Lines: | 616-694 |
| | 80 | 13 |
mux_client_request_stop_listening| Name: | mux_client_request_stop_listening | | Prototype: | static void mux_client_request_stop_listening(int fd) | | Coverage: | 0.000% (0/37) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | | Lines: | 2242-2292 |
| | 52 | 13 |
mktemp_internal| Name: | mktemp_internal | | Prototype: | static int mktemp_internal(char *path, int slen, int mode) | | Coverage: | 0.000% (0/44) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/mktemp.c | | Lines: | 46-97 |
| | 97 | 13 |
kex_input_ext_info| Name: | kex_input_ext_info | | Prototype: | int kex_input_ext_info(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 0.000% (0/50) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 438-474 |
| | 199 | 13 |
kbdint_next_device| Name: | kbdint_next_device | | Prototype: | static int kbdint_next_device(Authctxt *authctxt, KbdintAuthctxt *kbdintctxt) | | Coverage: | 0.000% (0/69) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-chall.c | | Lines: | 153-187 |
| | 243 | 13 |
input_userauth_info_req| Name: | input_userauth_info_req | | Prototype: | int input_userauth_info_req(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 0.000% (0/45) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | | Lines: | 1739-1802 |
| | 87 | 13 |
hostbased_key_allowed| Name: | hostbased_key_allowed | | Prototype: | int hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, struct sshkey *key) | | Coverage: | 0.000% (0/43) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-hostbased.c | | Lines: | 169-255 |
| | 73 | 13 |
glob2| Name: | glob2 | | Prototype: | static int glob2(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, Char *pattern, Char *pattern_last, _ssh_compat_glob_t *pglob, struct glob_lim *limitp) | | Coverage: | 0.000% (0/49) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c | | Lines: | 627-693 |
| | 69 | 13 |
fmt_intarg| Name: | fmt_intarg | | Prototype: | static const char * fmt_intarg(ServerOpCodes code, int val) | | Coverage: | 0.000% (0/24) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 2396-2426 |
| | 14 | 13 |
extract_salt| Name: | extract_salt | | Prototype: | static int extract_salt(const char *s, u_int l, u_char *salt, size_t salt_len) | | Coverage: | 19.672% (12/61) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | | Lines: | 72-117 |
| | 239 | 13 |
errno_to_portable| Name: | errno_to_portable | | Prototype: | static int errno_to_portable(int unixerrno) | | Coverage: | 0.000% (0/19) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-server.c | | Lines: | 182-214 |
| | 15 | 13 |
client_global_hostkeys_private_confirm| Name: | client_global_hostkeys_private_confirm | | Prototype: | static void client_global_hostkeys_private_confirm(struct ssh *ssh, int type, u_int32_t seq, void *_ctx) | | Coverage: | 0.000% (0/43) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 1917-1993 |
| | 56 | 13 |
channel_before_prepare_select_rdynamic| Name: | channel_before_prepare_select_rdynamic | | Prototype: | static void channel_before_prepare_select_rdynamic(struct ssh *ssh, Channel *c) | | Coverage: | 0.000% (0/42) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 1539-1599 |
| | 39 | 13 |