| Function | Condition % | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
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 |
initialize_options| Name: | initialize_options | | Prototype: | void initialize_options(Options * options) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | | Lines: | 1806-1909 |
| | 224 | 1 |
authmethod_get| Name: | authmethod_get | | Prototype: | static Authmethod * authmethod_get(char *authlist) | | Coverage: | 0.000% (0/55) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | | Lines: | 2096-2134 |
| | 226 | 13 |
hash_to_blob| Name: | hash_to_blob | | Prototype: | static void hash_to_blob(const char *cp, u_char **blobp, size_t *lenp, const char *file, u_long lnum) | | Coverage: | 0.000% (0/53) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 2113-2146 |
| | 226 | 11 |
do_change_passphrase| Name: | do_change_passphrase | | Prototype: | static void do_change_passphrase(struct passwd *pw) | | Coverage: | 0.000% (0/63) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 1351-1430 |
| | 228 | 18 |
monitor_child_preauth| Name: | monitor_child_preauth | | Prototype: | void monitor_child_preauth(Authctxt *_authctxt, struct monitor *pmonitor) | | Coverage: | 0.000% (0/89) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c | | Lines: | 267-370 |
| | 230 | 23 |
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 |
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 |
userauth_hostbased| Name: | userauth_hostbased | | Prototype: | int userauth_hostbased(Authctxt *authctxt) | | Coverage: | 0.000% (0/89) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | | Lines: | 1918-2052 |
| | 235 | 19 |
getopt_internal| Name: | getopt_internal | | Prototype: | static int getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) | | Coverage: | 24.862% (45/181) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/getopt_long.c | | Lines: | 293-481 |
| | 237 | 39 |
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 |
| | 237 | 35 |
ssh_krl_from_blob| Name: | ssh_krl_from_blob | | Prototype: | int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp, const struct sshkey **sign_ca_keys, size_t nsign_ca_keys) | | Coverage: | 0.000% (0/159) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/krl.c | | Lines: | 983-1216 |
| | 237 | 49 |
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 |
do_upload| Name: | do_upload | | Prototype: | int do_upload(struct sftp_conn *conn, const char *local_path, const char *remote_path, int preserve_flag, int resume, int fsync_flag) | | Coverage: | 0.000% (0/138) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | | Lines: | 1570-1789 |
| | 241 | 35 |
mm_getpwnamallow| Name: | mm_getpwnamallow | | Prototype: | struct passwd * mm_getpwnamallow(const char *username) | | Coverage: | 0.000% (0/187) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c | | Lines: | 250-342 |
| | 241 | 55 |
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 |
| | 242 | 64 |
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 |
proposals_match| Name: | proposals_match | | Prototype: | static int proposals_match(char *my[PROPOSAL_MAX], char *peer[PROPOSAL_MAX]) | | Coverage: | 0.000% (0/55) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 791-813 |
| | 243 | 11 |
mux_client_request_session| Name: | mux_client_request_session | | Prototype: | static int mux_client_request_session(int fd) | | Coverage: | 0.000% (0/158) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mux.c | | Lines: | 1898-2091 |
| | 245 | 47 |
do_convert_from_ssh2| Name: | do_convert_from_ssh2 | | Prototype: | static void do_convert_from_ssh2(struct passwd *pw, struct sshkey **k, int *private) | | Coverage: | 33.333% (28/84) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 606-653 |
| | 251 | 18 |
input_userauth_passwd_changereq| Name: | input_userauth_passwd_changereq | | Prototype: | int input_userauth_passwd_changereq(int type, u_int32_t seqnr, struct ssh *ssh) | | Coverage: | 0.000% (0/78) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect2.c | | Lines: | 999-1071 |
| | 258 | 18 |
ssh_ed25519_verify| Name: | ssh_ed25519_verify | | Prototype: | int ssh_ed25519_verify(const struct sshkey *key, const u_char *signature, size_t signaturelen, const u_char *data, size_t datalen, u_int compat) | | Coverage: | 44.048% (37/84) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ed25519.c | | Lines: | 94-167 |
| | 264 | 20 |
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 |
| | 265 | 45 |
ssh_rsa_verify| Name: | ssh_rsa_verify | | Prototype: | int ssh_rsa_verify(const struct sshkey *key, const u_char *sig, size_t siglen, const u_char *data, size_t datalen, const char *alg) | | Coverage: | 39.080% (34/87) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 244-329 |
| | 269 | 23 |
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 |
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 |
sshd_exchange_identification| Name: | sshd_exchange_identification | | Prototype: | static void sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out) | | Coverage: | 0.000% (0/80) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c | | Lines: | 366-466 |
| | 276 | 18 |
congreet| Name: | congreet | | Prototype: | static void congreet(int s) | | Coverage: | 0.000% (0/89) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keyscan.c | | Lines: | 443-517 |
| | 278 | 21 |
ssh_ecdsa_verify| Name: | ssh_ecdsa_verify | | Prototype: | int ssh_ecdsa_verify(const struct sshkey *key, const u_char *signature, size_t signaturelen, const u_char *data, size_t datalen, u_int compat) | | Coverage: | 42.697% (38/89) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-ecdsa.c | | Lines: | 113-200 |
| | 279 | 22 |
ssh_exchange_identification| Name: | ssh_exchange_identification | | Prototype: | void ssh_exchange_identification(int timeout_ms) | | Coverage: | 0.000% (0/94) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c | | Lines: | 624-709 |
| | 283 | 25 |
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 |
_ssh_read_banner| Name: | _ssh_read_banner | | Prototype: | int _ssh_read_banner(struct ssh *ssh, char **bannerp) | | Coverage: | 26.374% (24/91) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c | | Lines: | 314-379 |
| | 289 | 21 |
ssh_dss_verify| Name: | ssh_dss_verify | | Prototype: | int ssh_dss_verify(const struct sshkey *key, const u_char *signature, size_t signaturelen, const u_char *data, size_t datalen, u_int compat) | | Coverage: | 38.889% (35/90) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-dss.c | | Lines: | 119-208 |
| | 289 | 23 |
client_loop| Name: | client_loop | | Prototype: | int client_loop(struct ssh *ssh, int have_pty, int escape_char_arg, int ssh2_chan_id) | | Coverage: | 0.000% (0/145) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 1235-1480 |
| | 294 | 43 |
kex_names_cat| Name: | kex_names_cat | | Prototype: | char * kex_names_cat(const char *a, const char *b) | | Coverage: | 0.000% (0/59) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 170-203 |
| | 297 | 11 |
do_download| Name: | do_download | | Prototype: | int do_download(struct sftp_conn *conn, const char *remote_path, const char *local_path, Attrib *a, int preserve_flag, int resume_flag, int fsync_flag) | | Coverage: | 0.000% (0/206) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | | Lines: | 1161-1455 |
| | 298 | 53 |
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 |
sshkey_from_blob_internal| Name: | sshkey_from_blob_internal | | Prototype: | static int sshkey_from_blob_internal(struct sshbuf *b, struct sshkey **keyp, int allow_cert) | | Coverage: | 74.101% (103/139) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2016-2269 |
| | 303 | 44 |
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 |
| | 307 | 28 |
x11_connect_display| Name: | x11_connect_display | | Prototype: | int x11_connect_display(struct ssh *ssh) | | Coverage: | 0.000% (0/82) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 4659-4775 |
| | 311 | 18 |
channel_proxy_downstream| Name: | channel_proxy_downstream | | Prototype: | int channel_proxy_downstream(struct ssh *ssh, Channel *downstream) | | Coverage: | 0.000% (0/129) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 2677-2823 |
| | 331 | 32 |
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 |
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 |
allowed_user| Name: | allowed_user | | Prototype: | int allowed_user(struct passwd * pw) | | Coverage: | 0.000% (0/139) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c | | Lines: | 98-267 |
| | 342 | 33 |
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 |
client_x11_get_proto| Name: | client_x11_get_proto | | Prototype: | int client_x11_get_proto(struct ssh *ssh, const char *display, const char *xauth_path, u_int trusted, u_int timeout, char **_proto, char **_data) | | Coverage: | 0.000% (0/123) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 277-441 |
| | 351 | 28 |
kex_names_valid| Name: | kex_names_valid | | Prototype: | int kex_names_valid(const char *names) | | Coverage: | 0.000% (0/56) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 144-164 |
| | 354 | 12 |
mac_valid| Name: | mac_valid | | Prototype: | int mac_valid(const char *names) | | Coverage: | 0.000% (0/56) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c | | Lines: | 247-265 |
| | 354 | 12 |
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 |
| | 355 | 19 |
ciphers_valid| Name: | ciphers_valid | | Prototype: | int ciphers_valid(const char *names) | | Coverage: | 0.000% (0/58) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/cipher.c | | Lines: | 203-224 |
| | 357 | 12 |
readpassphrase| Name: | readpassphrase | | Prototype: | char * readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags) | | Coverage: | 0.000% (0/106) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/readpassphrase.c | | Lines: | 53-193 |
| | 357 | 30 |
process_permitopen_list| Name: | process_permitopen_list | | Prototype: | static void process_permitopen_list(struct ssh *ssh, ServerOpCodes opcode, char **opens, u_int num_opens) | | Coverage: | 0.000% (0/87) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 861-896 |
| | 358 | 19 |
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 |
| | 359 | 19 |
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 |
dump_cfg_forwards| Name: | dump_cfg_forwards | | Prototype: | static void dump_cfg_forwards(OpCodes code, u_int count, const struct Forward *fwds) | | Coverage: | 0.000% (0/94) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | | Lines: | 2510-2546 |
| | 365 | 21 |
fill_default_options| Name: | fill_default_options | | Prototype: | void fill_default_options(Options * options) | | Coverage: | 0.000% (0/254) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c | | Lines: | 1930-2129 |
| | 372 | 78 |
client_input_channel_req| Name: | client_input_channel_req | | Prototype: | static int client_input_channel_req(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 0.000% (0/99) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 1719-1771 |
| | 378 | 24 |
rsource| Name: | rsource | | Prototype: | void rsource(char *name, struct stat *statp) | | Coverage: | 0.000% (0/94) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c | | Lines: | 915-962 |
| | 398 | 23 |
do_ca_sign| Name: | do_ca_sign | | Prototype: | static void do_ca_sign(struct passwd *pw, int argc, char **argv) | | Coverage: | 0.000% (0/128) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 1674-1820 |
| | 400 | 34 |
fill_default_server_options| Name: | fill_default_server_options | | Prototype: | void fill_default_server_options(ServerOptions *options) | | Coverage: | 53.160% (143/269) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c | | Lines: | 258-460 |
| | 404 | 85 |
do_show_cert| Name: | do_show_cert | | Prototype: | static void do_show_cert(struct passwd *pw) | | Coverage: | 0.000% (0/98) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 2036-2091 |
| | 408 | 23 |
check_markers| Name: | check_markers | | Prototype: | static HostkeyMarker check_markers(char **cpp) | | Coverage: | 21.782% (22/101) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c | | Lines: | 186-219 |
| | 415 | 20 |
list_starts_with| Name: | list_starts_with | | Prototype: | static int list_starts_with(const char *methods, const char *method, const char *submethod) | | Coverage: | 0.000% (0/98) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c | | Lines: | 587-612 |
| | 421 | 18 |
monitor_valid_userblob| Name: | monitor_valid_userblob | | Prototype: | static int monitor_valid_userblob(u_char *data, u_int datalen) | | Coverage: | 0.000% (0/125) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c | | Lines: | 1220-1285 |
| | 423 | 30 |
do_convert_private_ssh2_from_blob| Name: | do_convert_private_ssh2_from_blob | | Prototype: | static struct sshkey * do_convert_private_ssh2_from_blob(u_char *blob, u_int blen) | | Coverage: | 35.556% (48/135) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 442-578 |
| | 426 | 30 |
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 |
| | 427 | 23 |
sshkey_private_deserialize| Name: | sshkey_private_deserialize | | Prototype: | int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **kp) | | Coverage: | 33.032% (73/221) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2923-3229 |
| | 429 | 55 |
download_dir_internal| Name: | download_dir_internal | | Prototype: | static int download_dir_internal(struct sftp_conn *conn, const char *src, const char *dst, int depth, Attrib *dirattrib, int preserve_flag, int print_flag, int resume_flag, int fsync_flag) | | Coverage: | 0.000% (0/118) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | | Lines: | 1457-1549 |
| | 435 | 29 |
upload_dir_internal| Name: | upload_dir_internal | | Prototype: | static int upload_dir_internal(struct sftp_conn *conn, const char *src, const char *dst, int depth, int preserve_flag, int print_flag, int resume, int fsync_flag) | | Coverage: | 0.000% (0/116) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-client.c | | Lines: | 1791-1885 |
| | 440 | 30 |
do_fingerprint| Name: | do_fingerprint | | Prototype: | static void do_fingerprint(struct passwd *pw) | | Coverage: | 20.000% (27/135) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 900-994 |
| | 443 | 29 |
remote_hostname| Name: | remote_hostname | | Prototype: | static char * remote_hostname(struct ssh *ssh) | | Coverage: | 0.000% (0/111) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c | | Lines: | 750-831 |
| | 453 | 21 |
sshauthopt_merge| Name: | sshauthopt_merge | | Prototype: | struct sshauthopt * sshauthopt_merge(const struct sshauthopt *primary, const struct sshauthopt *additional, const char **errstrp) | | Coverage: | 0.000% (0/196) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-options.c | | Lines: | 569-687 |
| | 453 | 44 |
sshkey_try_load_public| Name: | sshkey_try_load_public | | Prototype: | static int sshkey_try_load_public(struct sshkey *k, const char *filename, char **commentp) | | Coverage: | 21.951% (27/123) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/authfile.c | | Lines: | 264-309 |
| | 454 | 26 |
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 |
do_exec| Name: | do_exec | | Prototype: | int do_exec(struct ssh *ssh, Session *s, const char *command) | | Coverage: | 0.000% (0/121) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/session.c | | Lines: | 692-767 |
| | 475 | 23 |
sshkey_private_to_blob2| Name: | sshkey_private_to_blob2 | | Prototype: | static int sshkey_private_to_blob2(const struct sshkey *prv, struct sshbuf *blob, const char *passphrase, const char *comment, const char *ciphername, int rounds) | | Coverage: | 28.814% (51/177) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 3403-3549 |
| | 486 | 43 |
sshkey_certify_custom| Name: | sshkey_certify_custom | | Prototype: | int sshkey_certify_custom(struct sshkey *k, struct sshkey *ca, const char *alg, sshkey_certify_signer *signer, void *signer_ctx) | | Coverage: | 21.469% (38/177) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 2517-2663 |
| | 487 | 42 |
rsa_hash_id_from_ident| Name: | rsa_hash_id_from_ident | | Prototype: | static int rsa_hash_id_from_ident(const char *ident) | | Coverage: | 10.000% (10/100) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 60-70 |
| | 493 | 22 |
rsa_hash_id_from_keyname| Name: | rsa_hash_id_from_keyname | | Prototype: | static int rsa_hash_id_from_keyname(const char *alg) | | Coverage: | 1.942% (2/103) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-rsa.c | | Lines: | 77-91 |
| | 496 | 23 |
choose_comp| Name: | choose_comp | | Prototype: | static int choose_comp(struct sshcomp *comp, char *client, char *server) | | Coverage: | 5.769% (6/104) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/kex.c | | Lines: | 736-755 |
| | 505 | 23 |
sshkey_curve_name_to_nid| Name: | sshkey_curve_name_to_nid | | Prototype: | int sshkey_curve_name_to_nid(const char *name) | | Coverage: | 10.000% (10/100) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshkey.c | | Lines: | 370-383 |
| | 505 | 22 |
auth_root_allowed| Name: | auth_root_allowed | | Prototype: | int auth_root_allowed(struct ssh *ssh, const char *method) | | Coverage: | 0.000% (0/107) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c | | Lines: | 393-415 |
| | 506 | 24 |
sys_auth_passwd| Name: | sys_auth_passwd | | Prototype: | int sys_auth_passwd(struct ssh *ssh, const char *password) | | Coverage: | 0.000% (0/109) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-passwd.c | | Lines: | 191-219 |
| | 509 | 21 |
check_host_key| Name: | check_host_key | | Prototype: | static int check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, struct sshkey *host_key, int readonly, char **user_hostfiles, u_int num_user_hostfiles, char **system_hostfiles, u_int num_system_hostfiles) | | Coverage: | 0.000% (0/276) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c | | Lines: | 842-1281 |
| | 520 | 72 |
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 |
| | 540 | 21 |
safe_path| Name: | safe_path | | Prototype: | int safe_path(const char *name, struct stat *stp, const char *pw_dir, uid_t uid, char *err, size_t errlen) | | Coverage: | 0.000% (0/132) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c | | Lines: | 1764-1820 |
| | 554 | 28 |
add_file| Name: | add_file | | Prototype: | static int add_file(int agent_fd, const char *filename, int key_only, int qflag) | | Coverage: | 0.000% (0/182) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-add.c | | Lines: | 191-390 |
| | 571 | 50 |
update_krl_from_file| Name: | update_krl_from_file | | Prototype: | static void update_krl_from_file(struct passwd *pw, const char *file, int wild_ca, const struct sshkey *ca, struct ssh_krl *krl) | | Coverage: | 0.000% (0/185) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c | | Lines: | 2148-2297 |
| | 587 | 48 |
_ssh_compat_realpath| Name: | _ssh_compat_realpath | | Prototype: | char * _ssh_compat_realpath(const char *path, char *resolved) | | Coverage: | 0.000% (0/172) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/realpath.c | | Lines: | 60-228 |
| | 588 | 45 |
valid_request| Name: | valid_request | | Prototype: | static int valid_request(struct passwd *pw, char *host, struct sshkey **ret, u_char *data, size_t datalen) | | Coverage: | 0.000% (0/169) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keysign.c | | Lines: | 65-162 |
| | 597 | 43 |
input_userauth_request| Name: | input_userauth_request | | Prototype: | static int input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 0.000% (0/135) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2.c | | Lines: | 253-338 |
| | 612 | 28 |
check_rhosts_file| Name: | check_rhosts_file | | Prototype: | static int check_rhosts_file(const char *filename, const char *hostname, const char *ipaddr, const char *client_user, const char *server_user) | | Coverage: | 0.000% (0/183) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth-rhosts.c | | Lines: | 55-182 |
| | 641 | 44 |
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 |
| | 643 | 35 |
port_open_helper| Name: | port_open_helper | | Prototype: | static void port_open_helper(struct ssh *ssh, Channel *c, char *rtype) | | Coverage: | 0.000% (0/167) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/channels.c | | Lines: | 1653-1722 |
| | 693 | 37 |
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 |
| | 699 | 31 |
client_input_channel_open| Name: | client_input_channel_open | | Prototype: | static int client_input_channel_open(int type, u_int32_t seq, struct ssh *ssh) | | Coverage: | 0.000% (0/145) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/clientloop.c | | Lines: | 1664-1717 |
| | 701 | 32 |
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 |
| | 746 | 85 |
monitor_valid_hostbasedblob| Name: | monitor_valid_hostbasedblob | | Prototype: | static int monitor_valid_hostbasedblob(u_char *data, u_int datalen, char *cuser, char *chost) | | Coverage: | 0.000% (0/181) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c | | Lines: | 1287-1355 |
| | 749 | 41 |
auth_log| Name: | auth_log | | Prototype: | void auth_log(Authctxt *authctxt, int authenticated, int partial, const char *method, const char *submethod) | | Coverage: | 0.000% (0/173) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth.c | | Lines: | 310-372 |
| | 756 | 32 |
dangerous_locale| Name: | dangerous_locale | | Prototype: | static int dangerous_locale(void) | | Coverage: | 2.591% (5/193) | | Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/utf8.c | | Lines: | 60-71 |
| | 996 | 37 |