Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–´ |
ssh_tty_make_modesName: | ssh_tty_make_modes | Prototype: | void ssh_tty_make_modes(struct ssh *ssh, int fd, struct termios *tiop) | Coverage: | 0.000% (0/29) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ttymodes.c | Lines: | 278-336 |
| | 32 | 8 |
ssh_update_cardName: | ssh_update_card | Prototype: | int ssh_update_card(int sock, int add, const char *reader_id, const char *pin, u_int life, u_int confirm) | Coverage: | 0.000% (0/33) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c | Lines: | 517-549 |
| | 26 | 8 |
sshbuf_get_bignum2_bytes_directName: | sshbuf_get_bignum2_bytes_direct | Prototype: | int sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) | Coverage: | 76.667% (23/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | Lines: | 430-464 |
| | 25 | 8 |
sshbuf_get_stringName: | sshbuf_get_string | Prototype: | int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) | Coverage: | 90.909% (20/22) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | Lines: | 96-121 |
| | 32 | 8 |
sshbuf_peek_string_directName: | sshbuf_peek_string_direct | Prototype: | int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, size_t *lenp) | Coverage: | 100.000% (22/22) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshbuf-getput-basic.c | Lines: | 149-178 |
| | 30 | 8 |
sshkey_ec_validate_privateName: | sshkey_ec_validate_private | Prototype: | int sshkey_ec_validate_private(const EC_KEY *key) | Coverage: | 40.909% (9/22) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | Lines: | 3309-3346 |
| | 32 | 8 |
sshkey_ecdsa_key_to_nidName: | sshkey_ecdsa_key_to_nid | Prototype: | int sshkey_ecdsa_key_to_nid(EC_KEY *k) | Coverage: | 9.091% (2/22) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | Lines: | 1533-1581 |
| | 51 | 8 |
_ssh_exchange_bannerName: | _ssh_exchange_banner | Prototype: | int _ssh_exchange_banner(struct ssh *ssh) | Coverage: | 65.789% (25/38) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | Lines: | 398-435 |
| | 46 | 9 |
addr_cmpName: | addr_cmp | Prototype: | static int addr_cmp(const struct xaddr *a, const struct xaddr *b) | Coverage: | 28.571% (8/28) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c | Lines: | 176-199 |
| | 34 | 9 |
bcrypt_pbkdfName: | bcrypt_pbkdf | Prototype: | int bcrypt_pbkdf(const char *pass, size_t passlen, const u_int8_t *salt, size_t saltlen, u_int8_t *key, size_t keylen, unsigned int rounds) | Coverage: | 65.714% (23/35) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/bcrypt_pbkdf.c | Lines: | 110-178 |
| | 44 | 9 |
chan_is_deadName: | chan_is_dead | Prototype: | int chan_is_dead(struct ssh *ssh, Channel *c, int do_send) | Coverage: | 0.000% (0/35) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/nchan.c | Lines: | 327-366 |
| | 27 | 9 |
channel_pre_openName: | channel_pre_open | Prototype: | static void channel_pre_open(struct ssh *ssh, Channel *c, fd_set *readset, fd_set *writeset) | Coverage: | 0.000% (0/53) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 1033-1068 |
| | 25 | 9 |
channel_register_fdsName: | channel_register_fds | Prototype: | static void channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd, int extusage, int nonblock, int is_tty) | Coverage: | 0.000% (0/39) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 308-348 |
| | 48 | 9 |
channel_rfwd_bind_hostName: | channel_rfwd_bind_host | Prototype: | static const char * channel_rfwd_bind_host(const char *listen_host) | Coverage: | 0.000% (0/39) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 3779-3788 |
| | 171 | 9 |
channel_stop_listeningName: | channel_stop_listening | Prototype: | void channel_stop_listening(struct ssh *ssh) | Coverage: | 0.000% (0/14) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 669-691 |
| | 11 | 9 |
cipher_by_nameName: | cipher_by_name | Prototype: | const struct sshcipher * cipher_by_name(const char *name) | Coverage: | 16.667% (6/36) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | Lines: | 192-200 |
| | 174 | 9 |
client_input_global_requestName: | client_input_global_request | Prototype: | static int client_input_global_request(int type, u_int32_t seq, struct ssh *ssh) | Coverage: | 0.000% (0/37) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | Lines: | 2170-2191 |
| | 182 | 9 |
compare_hostName: | compare_host | Prototype: | static int compare_host(const char *a, const char *b) | Coverage: | 0.000% (0/41) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | Lines: | 587-595 |
| | 181 | 9 |
do_cmd2Name: | do_cmd2 | Prototype: | int do_cmd2(char *host, char *remuser, int port, char *cmd, int fdin, int fdout) | Coverage: | 0.000% (0/24) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c | Lines: | 318-362 |
| | 50 | 9 |
do_local_cmdName: | do_local_cmd | Prototype: | static int do_local_cmd(arglist *a) | Coverage: | 0.000% (0/26) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c | Lines: | 189-229 |
| | 79 | 9 |
freerrsetName: | freerrset | Prototype: | void freerrset(struct rrsetinfo *rrset) | Coverage: | 0.000% (0/25) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getrrsetbyname.c | Lines: | 348-377 |
| | 24 | 9 |
get_decode_statName: | get_decode_stat | Prototype: | static Attrib * get_decode_stat(struct sftp_conn *conn, u_int expected_id, int quiet) | Coverage: | 0.000% (0/28) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | Lines: | 288-331 |
| | 41 | 9 |
get_decode_statvfsName: | get_decode_statvfs | Prototype: | static int get_decode_statvfs(struct sftp_conn *conn, struct sftp_statvfs *st, u_int expected_id, int quiet) | Coverage: | 0.000% (0/52) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | Lines: | 333-390 |
| | 53 | 9 |
get_msg_extendedName: | get_msg_extended | Prototype: | static void get_msg_extended(struct sftp_conn *conn, struct sshbuf *m, int initial) | Coverage: | 0.000% (0/27) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | Lines: | 132-168 |
| | 57 | 9 |
globtildeName: | globtilde | Prototype: | static const Char * globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, _ssh_compat_glob_t *pglob) | Coverage: | 0.000% (0/38) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c | Lines: | 362-420 |
| | 28 | 9 |
kex_alg_by_nameName: | kex_alg_by_name | Prototype: | static const struct kexalg * kex_alg_by_name(const char *name) | Coverage: | 13.514% (5/37) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | Lines: | 131-141 |
| | 174 | 9 |
known_hosts_hashName: | known_hosts_hash | Prototype: | static int known_hosts_hash(struct hostkey_foreach_line *l, void *_ctx) | Coverage: | 0.000% (0/36) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | Lines: | 1143-1192 |
| | 116 | 9 |
mac_computeName: | mac_compute | Prototype: | int mac_compute(struct sshmac *mac, u_int32_t seqno, const u_char *data, int datalen, u_char *digest, size_t dlen) | Coverage: | 0.000% (0/27) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c | Lines: | 166-210 |
| | 32 | 9 |
mac_initName: | mac_init | Prototype: | int mac_init(struct sshmac *mac) | Coverage: | 0.000% (0/22) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c | Lines: | 142-164 |
| | 24 | 9 |
mux_client_proxyName: | mux_client_proxy | Prototype: | static int mux_client_proxy(int fd) | Coverage: | 0.000% (0/29) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | Lines: | 2093-2132 |
| | 39 | 9 |
mux_client_readName: | mux_client_read | Prototype: | static int mux_client_read(int fd, struct sshbuf *b, size_t need) | Coverage: | 0.000% (0/21) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | Lines: | 1477-1517 |
| | 40 | 9 |
muxserver_listenName: | muxserver_listen | Prototype: | void muxserver_listen(struct ssh *ssh) | Coverage: | 0.000% (0/31) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | Lines: | 1288-1369 |
| | 85 | 9 |
newkeys_to_blobName: | newkeys_to_blob | Prototype: | static int newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode) | Coverage: | 38.462% (15/39) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | Lines: | 2186-2227 |
| | 39 | 9 |
openssh_RSA_verifyName: | openssh_RSA_verify | Prototype: | static int openssh_RSA_verify(int hash_alg, u_char *hash, size_t hashlen, u_char *sigbuf, size_t siglen, RSA *rsa) | Coverage: | 48.485% (16/33) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | Lines: | 402-448 |
| | 48 | 9 |
order_hostkeyalgsName: | 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 |
| | 109 | 9 |
parse_dns_rrsectionName: | 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 |
| | 126 | 9 |
parse_getput_flagsName: | 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 |
| | 18 | 9 |
permanently_set_uidName: | 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 |
| | 36 | 9 |
permitopen_portName: | 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 |
| | 168 | 9 |
pkcs11_add_providerName: | 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 |
| | 43 | 9 |
pkcs11_provider_lookupName: | 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 |
| | 175 | 9 |
process_addName: | process_add | Prototype: | static void process_add(void) | Coverage: | 0.000% (0/32) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c | Lines: | 109-151 |
| | 44 | 9 |
process_lock_agentName: | process_lock_agent | Prototype: | static void process_lock_agent(SocketEntry *e, int lock) | Coverage: | 0.000% (0/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c | Lines: | 481-531 |
| | 36 | 9 |
process_signName: | process_sign | Prototype: | static void process_sign(void) | Coverage: | 0.000% (0/33) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c | Lines: | 175-223 |
| | 49 | 9 |
read_config_file_depthName: | read_config_file_depth | Prototype: | static int read_config_file_depth(const char *filename, struct passwd *pw, const char *host, const char *original_host, Options *options, int flags, int *activep, int depth) | Coverage: | 0.000% (0/31) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | Lines: | 1743-1790 |
| | 39 | 9 |
resolve_addrName: | resolve_addr | Prototype: | static struct addrinfo * resolve_addr(const char *name, int port, char *caddr, size_t clen) | Coverage: | 0.000% (0/25) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c | Lines: | 309-355 |
| | 84 | 9 |
session_by_ttyName: | 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 |
| | 177 | 9 |
session_setup_x11fwdName: | 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 |
| | 53 | 9 |
set_fwdpermit_from_authoptsName: | 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 |
| | 41 | 9 |
ssh_confirm_remote_forwardName: | ssh_confirm_remote_forward | Prototype: | static void ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) | Coverage: | 0.000% (0/27) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c | Lines: | 1579-1627 |
| | 41 | 9 |
ssh_hmac_initName: | ssh_hmac_init | Prototype: | int ssh_hmac_init(struct ssh_hmac_ctx *ctx, const void *key, size_t klen) | Coverage: | 56.000% (14/25) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hmac.c | Lines: | 63-90 |
| | 21 | 9 |
ssh_krl_file_contains_keyName: | ssh_krl_file_contains_key | Prototype: | int ssh_krl_file_contains_key(const char *path, const struct sshkey *key) | Coverage: | 0.000% (0/23) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c | Lines: | 1333-1366 |
| | 55 | 9 |
ssh_proxy_connectName: | ssh_proxy_connect | Prototype: | static int ssh_proxy_connect(struct ssh *ssh, const char *host, u_short port, const char *proxy_command) | Coverage: | 0.000% (0/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c | Lines: | 184-254 |
| | 70 | 9 |
ssh_remove_identityName: | ssh_remove_identity | Prototype: | int ssh_remove_identity(int sock, struct sshkey *key) | Coverage: | 0.000% (0/26) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfd.c | Lines: | 477-511 |
| | 33 | 9 |
sshkey_fingerprintName: | sshkey_fingerprint | Prototype: | char * sshkey_fingerprint(const struct sshkey *k, int dgst_alg, enum sshkey_fp_rep dgst_rep) | Coverage: | 70.000% (14/20) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | Lines: | 1163-1206 |
| | 41 | 9 |
sshkey_load_privateName: | sshkey_load_private | Prototype: | int sshkey_load_private(const char *filename, const char *passphrase, struct sshkey **keyp, char **commentp) | Coverage: | 44.828% (13/29) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | Lines: | 227-262 |
| | 47 | 9 |
sshkey_type_from_nameName: | sshkey_type_from_name | Prototype: | int sshkey_type_from_name(const char *name) | Coverage: | 27.907% (12/43) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | Lines: | 198-210 |
| | 174 | 9 |
strcmp_maybe_nullName: | strcmp_maybe_null | Prototype: | static int strcmp_maybe_null(const char *a, const char *b) | Coverage: | 0.000% (0/45) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | Lines: | 1546-1554 |
| | 189 | 9 |
strnvisName: | strnvis | Prototype: | int strnvis(char *dst, const char *src, size_t siz, int flag) | Coverage: | 30.137% (22/73) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/vis.c | Lines: | 173-214 |
| | 55 | 9 |
tilde_expand_filenameName: | 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 |
| | 71 | 9 |
to_blobName: | 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 |
| | 42 | 9 |
userauth_pubkeyName: | 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 |
| | 43 | 9 |
x11_open_helperName: | 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 |
| | 39 | 9 |
add_certificate_fileName: | add_certificate_file | Prototype: | void add_certificate_file(Options *options, const char *path, int userprovided) | Coverage: | 0.000% (0/42) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | Lines: | 406-428 |
| | 177 | 10 |
addr_pton_cidrName: | addr_pton_cidr | Prototype: | static int addr_pton_cidr(const char *p, struct xaddr *n, u_int *l) | Coverage: | 65.000% (26/40) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c | Lines: | 311-346 |
| | 68 | 10 |
auth2_update_session_infoName: | auth2_update_session_info | Prototype: | void auth2_update_session_info(Authctxt *authctxt, const char *method, const char *submethod) | Coverage: | 0.000% (0/38) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c | Lines: | 755-793 |
| | 71 | 10 |
authmethod_lookupName: | authmethod_lookup | Prototype: | static Authmethod * authmethod_lookup(const char *name) | Coverage: | 0.000% (0/38) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | Lines: | 2074-2084 |
| | 182 | 10 |
authmethod_lookupName: | authmethod_lookup | Prototype: | static Authmethod * authmethod_lookup(Authctxt *authctxt, const char *name) | Coverage: | 0.000% (0/44) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c | Lines: | 484-500 |
| | 193 | 10 |
chacha_encrypt_bytesName: | chacha_encrypt_bytes | Prototype: | static void chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) | Coverage: | 42.308% (11/26) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/chacha_private.h | Lines: | 88-222 |
| | 100 | 10 |
chacha_encrypt_bytesName: | chacha_encrypt_bytes | Prototype: | void chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) | Coverage: | 80.769% (21/26) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/chacha.c | Lines: | 89-219 |
| | 117 | 10 |
channel_cancel_rport_listener_tcpipName: | channel_cancel_rport_listener_tcpip | Prototype: | static int channel_cancel_rport_listener_tcpip(struct ssh *ssh, const char *host, u_short port) | Coverage: | 0.000% (0/44) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 3548-3567 |
| | 177 | 10 |
channel_connect_to_portName: | channel_connect_to_port | Prototype: | Channel * channel_connect_to_port(struct ssh *ssh, const char *host, u_short port, char *ctype, char *rname, int *reason, const char **errmsg) | Coverage: | 0.000% (0/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 4323-4380 |
| | 53 | 10 |
channel_freeName: | channel_free | Prototype: | void channel_free(struct ssh *ssh, Channel *c) | Coverage: | 0.000% (0/35) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 582-640 |
| | 85 | 10 |
channel_handle_rfdName: | channel_handle_rfd | Prototype: | static int channel_handle_rfd(struct ssh *ssh, Channel *c, fd_set *readset, fd_set *writeset) | Coverage: | 0.000% (0/47) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 1895-1944 |
| | 60 | 10 |
compat_init_setproctitleName: | compat_init_setproctitle | Prototype: | void compat_init_setproctitle(int argc, char *argv[]) | Coverage: | 60.526% (23/38) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/setproctitle.c | Lines: | 67-119 |
| | 83 | 10 |
compress_bufferName: | compress_buffer | Prototype: | static int compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out) | Coverage: | 0.000% (0/22) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/packet.c | Lines: | 726-770 |
| | 30 | 10 |
del_keys_by_nameName: | del_keys_by_name | Prototype: | static void del_keys_by_name(char *name) | Coverage: | 0.000% (0/41) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c | Lines: | 70-84 |
| | 173 | 10 |
do_cmdName: | do_cmd | Prototype: | int do_cmd(char *host, char *remuser, int port, char *cmd, int *fdin, int *fdout) | Coverage: | 0.000% (0/28) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c | Lines: | 237-311 |
| | 96 | 10 |
do_convert_from_pkcs8Name: | do_convert_from_pkcs8 | Prototype: | static void do_convert_from_pkcs8(struct sshkey **k, int *private) | Coverage: | 0.000% (0/24) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | Lines: | 655-696 |
| | 55 | 10 |
do_exec_ptyName: | do_exec_pty | Prototype: | int do_exec_pty(struct ssh *ssh, Session *s, const char *command) | Coverage: | 0.000% (0/25) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c | Lines: | 563-657 |
| | 72 | 10 |
do_realpathName: | do_realpath | Prototype: | char * do_realpath(struct sftp_conn *conn, const char *path) | Coverage: | 0.000% (0/34) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | Lines: | 825-880 |
| | 54 | 10 |
dump_client_configName: | dump_client_config | Prototype: | void dump_client_config(Options *o, const char *host) | Coverage: | 0.000% (0/45) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | Lines: | 2548-2737 |
| | 199 | 10 |
encode_attribName: | encode_attrib | Prototype: | int encode_attrib(struct sshbuf *b, const Attrib *a) | Coverage: | 0.000% (0/32) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c | Lines: | 153-179 |
| | 18 | 10 |
get_handleName: | get_handle | Prototype: | static u_char * get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, const char *errfmt, ...) | Coverage: | 0.000% (0/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | Lines: | 243-286 |
| | 68 | 10 |
get_hostfile_hostname_ipaddrName: | get_hostfile_hostname_ipaddr | Prototype: | void get_hostfile_hostname_ipaddr(char *hostname, struct sockaddr *hostaddr, u_short port, char **hostfile_hostname, char **hostfile_ipaddr) | Coverage: | 0.000% (0/26) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c | Lines: | 781-833 |
| | 44 | 10 |
get_hostkey_by_typeName: | get_hostkey_by_type | Prototype: | static struct sshkey * get_hostkey_by_type(int type, int nid, int need_private, struct ssh *ssh) | Coverage: | 0.000% (0/28) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c | Lines: | 758-785 |
| | 27 | 10 |
get_socket_addressName: | get_socket_address | Prototype: | static char * get_socket_address(int sock, int remote, int flags) | Coverage: | 0.000% (0/23) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/canohost.c | Lines: | 67-111 |
| | 49 | 10 |
hpdelim2Name: | hpdelim2 | Prototype: | static char * hpdelim2(char **cp, char *delim) | Coverage: | 25.806% (8/31) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | Lines: | 488-523 |
| | 92 | 10 |
kex_buf2propName: | kex_buf2prop | Prototype: | int kex_buf2prop(struct sshbuf *raw, int *first_kex_follows, char ***propp) | Coverage: | 50.000% (15/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | Lines: | 324-363 |
| | 54 | 10 |
kexdh_serverName: | kexdh_server | Prototype: | int kexdh_server(struct ssh *ssh) | Coverage: | 42.105% (8/19) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kexdhs.c | Lines: | 56-93 |
| | 24 | 10 |
line_abbrevnameName: | line_abbrevname | Prototype: | char * line_abbrevname(char *dst, const char *src, int dstsize) | Coverage: | 0.000% (0/50) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c | Lines: | 596-623 |
| | 212 | 10 |
local_do_shellName: | local_do_shell | Prototype: | static void local_do_shell(const char *args) | Coverage: | 0.000% (0/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c | Lines: | 313-349 |
| | 83 | 10 |
mac_setupName: | mac_setup | Prototype: | int mac_setup(struct sshmac *mac, char *name) | Coverage: | 0.000% (0/40) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c | Lines: | 127-140 |
| | 175 | 10 |
match_maybe_hashedName: | match_maybe_hashed | Prototype: | static int match_maybe_hashed(const char *host, const char *names, int *was_hashed) | Coverage: | 20.370% (11/54) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | Lines: | 643-659 |
| | 219 | 10 |
match_pattern_listName: | match_pattern_list | Prototype: | int match_pattern_list(const char *string, const char *pattern, int dolower) | Coverage: | 70.455% (31/44) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c | Lines: | 120-171 |
| | 57 | 10 |
mm_pty_allocateName: | mm_pty_allocate | Prototype: | int mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) | Coverage: | 0.000% (0/34) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c | Lines: | 551-603 |
| | 47 | 10 |
mux_client_write_packetName: | mux_client_write_packet | Prototype: | static int mux_client_write_packet(int fd, struct sshbuf *m) | Coverage: | 0.000% (0/24) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | Lines: | 1519-1571 |
| | 58 | 10 |
mux_stdio_confirmName: | mux_stdio_confirm | Prototype: | static void mux_stdio_confirm(struct ssh *ssh, int id, int success, void *arg) | Coverage: | 0.000% (0/30) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | Lines: | 1067-1111 |
| | 43 | 10 |
open_listen_match_streamlocalName: | open_listen_match_streamlocal | Prototype: | static int open_listen_match_streamlocal(struct permission *allowed_open, const char *requestedpath) | Coverage: | 0.000% (0/42) | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | Lines: | 3897-3909 |
| | 178 | 10 |
parse_tokenName: | 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 |
| | 176 | 10 |