OpenCoverage

OpenSSH Test Coverage

Function Tree

Page:<>1
Function: BSDgetopt
...6
Function: delete_all
7
Function: dump_cfg_forwards
8
Function: get_ec
9
Function: input_userauth_ext_info
1011
Function: mm_key_allowed
12
Function: opt_dequote
13
Function: port_open_helper
14
Function: read_passphrase
...20
Function: subprocess
21
Function: xasprintf
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
load_hostkeys
Name: load_hostkeys
Prototype: void load_hostkeys(struct hostkeys *hostkeys, const char *host, const char *path)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 270-289
  0.000% (0/12)
234
load_identity
Name: load_identity
Prototype: static struct sshkey * load_identity(char *filename)
Coverage:  14.286% (2/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 299-320
 14.286% (2/14)
245
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
  0.000% (0/50)
6815
load_krl
Name: load_krl
Prototype: static void load_krl(const char *path, struct ssh_krl **krlp)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 2093-2111
  0.000% (0/15)
295
load_pkcs11_key
Name: load_pkcs11_key
Prototype: static struct sshkey * load_pkcs11_key(char *path)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-keygen.c
Lines: 1632-1660
  0.000% (0/13)
295
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
  0.000% (0/48)
16414
load_server_config
Name: load_server_config
Prototype: void load_server_config(const char *filename, struct sshbuf *conf)
Coverage:  59.091% (13/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 2175-2207
 59.091% (13/22)
736
local_do_ls
Name: local_do_ls
Prototype: static void local_do_ls(const char *args)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 351-365
  0.000% (0/6)
72
local_do_shell
Name: 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
  0.000% (0/30)
8310
lock_agent
Name: lock_agent
Prototype: static int lock_agent(int agent_fd, int lock)
Coverage:  0.000% (0/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-add.c
Lines: 463-493
  0.000% (0/43)
19511
log_change_level
Name: log_change_level
Prototype: int log_change_level(LogLevel new_log_level)
Coverage:  21.429% (3/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 338-359
 21.429% (3/14)
811
log_facility_name
Name: log_facility_name
Prototype: const char * log_facility_name(SyslogFacility facility)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 126-135
  0.000% (0/6)
93
log_facility_number
Name: log_facility_number
Prototype: SyslogFacility log_facility_number(char *name)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 114-124
  0.000% (0/8)
84
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
  9.091% (3/33)
10916
log_is_on_stderr
Name: log_is_on_stderr
Prototype: int log_is_on_stderr(void)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 361-365
  0.000% (0/5)
51
log_level_get
Name: log_level_get
Prototype: LogLevel log_level_get(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 108-112
  0.000% (0/1)
11
log_level_name
Name: log_level_name
Prototype: const char * log_level_name(LogLevel level)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 149-158
  0.000% (0/6)
123
log_level_number
Name: log_level_number
Prototype: LogLevel log_level_number(char *name)
Coverage:  62.500% (5/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 137-147
 62.500% (5/8)
84
log_redirect_stderr_to
Name: log_redirect_stderr_to
Prototype: void log_redirect_stderr_to(const char *logfile)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 368-379
  0.000% (0/4)
262
logdie
Name: logdie
Prototype: void logdie(const char *fmt,...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 185-194
  0.000% (0/1)
211
login_alloc_entry
Name: login_alloc_entry
Prototype: struct logininfo *login_alloc_entry(pid_t pid, const char *username, const char *hostname, const char *line)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 341-350
  0.000% (0/1)
41
login_free_entry
Name: login_free_entry
Prototype: void login_free_entry(struct logininfo *li)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 354-358
  0.000% (0/1)
11
login_get_lastlog
Name: login_get_lastlog
Prototype: struct logininfo * login_get_lastlog(struct logininfo *li, const uid_t uid)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 299-329
  0.000% (0/10)
264
login_get_lastlog_time
Name: login_get_lastlog_time
Prototype: unsigned int login_get_lastlog_time(const uid_t uid)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 275-284
  0.000% (0/4)
42
login_init_entry
Name: login_init_entry
Prototype: int login_init_entry(struct logininfo *li, pid_t pid, const char *username, const char *hostname, const char *line)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 369-397
  0.000% (0/13)
175
login_login
Name: login_login
Prototype: int login_login(struct logininfo *li)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 233-238
  0.000% (0/1)
21
login_logout
Name: login_logout
Prototype: int login_logout(struct logininfo *li)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 250-255
  0.000% (0/1)
21
login_set_addr
Name: login_set_addr
Prototype: void login_set_addr(struct logininfo *li, const struct sockaddr *sa, const unsigned int sa_size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 418-429
  0.000% (0/4)
42
login_set_current_time
Name: login_set_current_time
Prototype: void login_set_current_time(struct logininfo *li)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 406-415
  0.000% (0/1)
81
login_write
Name: login_write
Prototype: int login_write(struct logininfo *li)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/loginrec.c
Lines: 436-480
  0.000% (0/7)
83
logit
Name: logit
Prototype: void logit(const char *fmt,...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/log.c
Lines: 198-206
100.000% (1/1)
201
lookup_identity
Name: lookup_identity
Prototype: static Identity * lookup_identity(struct sshkey *key)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-agent.c
Lines: 194-204
  0.000% (0/7)
123
lookup_key
Name: lookup_key
Prototype: static struct sshkey * lookup_key(struct sshkey *k)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c
Lines: 87-98
  0.000% (0/7)
133
lookup_key_in_hostkeys_by_type
Name: lookup_key_in_hostkeys_by_type
Prototype: int lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype, const struct hostkey_entry **found)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/hostfile.c
Lines: 404-410
  0.000% (0/1)
61
lookup_opcode_name
Name: lookup_opcode_name
Prototype: static const char * lookup_opcode_name(OpCodes code)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 2459-2468
  0.000% (0/6)
83
lookup_opcode_name
Name: lookup_opcode_name
Prototype: static const char * lookup_opcode_name(ServerOpCodes code)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 664-673
  0.000% (0/6)
83
lostconn
Name: lostconn
Prototype: void lostconn(int signo)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/scp.c
Lines: 1416-1425
  0.000% (0/7)
93
lowercase
Name: lowercase
Prototype: void lowercase(char *s)
Coverage:  40.000% (6/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1476-1481
 40.000% (6/15)
264
ls_file
Name: ls_file
Prototype: char * ls_file(const char *name, const struct stat *st, int remote, int si_units)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp-common.c
Lines: 213-258
  0.000% (0/24)
516
lt
Name: lt
Prototype: static crypto_uint32 lt(crypto_uint32 a,crypto_uint32 b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sc25519.c
Lines: 21-27
100.000% (1/1)
41
mac_alg_list
Name: mac_alg_list
Prototype: char * mac_alg_list(char sep)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c
Lines: 86-106
 80.000% (8/10)
294
mac_check
Name: mac_check
Prototype: int mac_check(struct sshmac *mac, u_int32_t seqno, const u_char *data, size_t dlen, const u_char *theirmac, size_t mlen)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c
Lines: 212-228
  0.000% (0/10)
104
mac_clear
Name: mac_clear
Prototype: void mac_clear(struct sshmac *mac)
Coverage:  25.000% (4/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c
Lines: 230-243
 25.000% (4/16)
246
mac_compute
Name: 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
  0.000% (0/27)
329
mac_init
Name: 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
  0.000% (0/22)
249
mac_setup
Name: 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
  0.000% (0/40)
17510
mac_setup_by_alg
Name: mac_setup_by_alg
Prototype: static int mac_setup_by_alg(struct sshmac *mac, const struct macalg *macalg)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/mac.c
Lines: 108-125
  0.000% (0/11)
184
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
  0.000% (0/56)
35412
main
Name: main
Prototype: int main(int argc, char **argv)
Coverage:  0.000% (0/58)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh-pkcs11-helper.c
Lines: 290-391
  0.000% (0/58)
11420
main
Name: main
Prototype: int main(int ac, char **av)
Coverage:  16.190% (68/420)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 1466-2235
 16.190% (68/420)
1019127
main_sigchld_handler
Name: main_sigchld_handler
Prototype: static void main_sigchld_handler(int sig)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshd.c
Lines: 329-340
  0.000% (0/8)
242
mainloop
Name: mainloop
Prototype: static void mainloop(unsigned int work[64],const unsigned char e[32])
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/smult_curve25519_ref.c
Lines: 124-178
100.000% (16/16)
476
make_absolute
Name: make_absolute
Prototype: static char * make_absolute(char *p, const char *pwd)
Coverage:  0.000% (0/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 386-398
  0.000% (0/6)
62
makeargv
Name: makeargv
Prototype: static char ** makeargv(const char *arg, int *argcp, int sloppy, char *lastquote, u_int *terminated)
Coverage:  0.000% (0/127)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sftp.c
Lines: 1151-1296
  0.000% (0/127)
12235
masklen_valid
Name: masklen_valid
Prototype: static inline int masklen_valid(int af, u_int masklen)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/addrmatch.c
Lines: 63-74
 40.000% (4/10)
44
match
Name: match
Prototype: static int match(Char *name, Char *pat, Char *patend, int recur)
Coverage:  0.000% (0/65)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/glob.c
Lines: 899-956
  0.000% (0/65)
4322
match_cfg_line
Name: match_cfg_line
Prototype: static int match_cfg_line(Options *options, char **condition, struct passwd *pw, const char *host_arg, const char *original_host, int post_canon, const char *filename, int linenum)
Coverage:  0.000% (0/105)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/readconf.c
Lines: 540-684
  0.000% (0/105)
16827
match_cfg_line
Name: match_cfg_line
Prototype: static int match_cfg_line(char **condition, int line, struct connection_info *ci)
Coverage:  0.000% (0/126)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 1000-1150
  0.000% (0/126)
15143
match_cfg_line_group
Name: match_cfg_line_group
Prototype: static int match_cfg_line_group(const char *grps, int line, const char *user)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 960-986
  0.000% (0/15)
226
match_filter_blacklist
Name: match_filter_blacklist
Prototype: char * match_filter_blacklist(const char *proposal, const char *filter)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 336-340
100.000% (1/1)
11
match_filter_whitelist
Name: match_filter_whitelist
Prototype: char * match_filter_whitelist(const char *proposal, const char *filter)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 346-350
  0.000% (0/1)
11
match_host_and_ip
Name: match_host_and_ip
Prototype: int match_host_and_ip(const char *host, const char *ipaddr, const char *patterns)
Coverage:  0.000% (0/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 196-214
  0.000% (0/19)
185
match_hostname
Name: match_hostname
Prototype: int match_hostname(const char *host, const char *pattern)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 179-189
100.000% (1/1)
61
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
 31.034% (18/58)
47314
match_maybe_hashed
Name: 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
 20.370% (11/54)
21910
match_pattern
Name: match_pattern
Prototype: int match_pattern(const char *s, const char *pattern)
Coverage:  86.111% (31/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 56-112
 86.111% (31/36)
2312
match_pattern_list
Name: 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
 70.455% (31/44)
5710
match_principals_command
Name: match_principals_command
Prototype: static int match_principals_command(struct ssh *ssh, struct passwd *user_pw, const struct sshkey *key, struct sshauthopt **authoptsp)
Coverage:  0.000% (0/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 393-523
  0.000% (0/53)
18219
match_principals_file
Name: match_principals_file
Prototype: static int match_principals_file(struct ssh *ssh, struct passwd *pw, char *file, struct sshkey_cert *cert, struct sshauthopt **authoptsp)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 367-387
  0.000% (0/7)
213
match_principals_option
Name: match_principals_option
Prototype: static int match_principals_option(const char *principal_list, struct sshkey_cert *cert)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/auth2-pubkey.c
Lines: 255-273
  0.000% (0/7)
163
match_test_missing_fatal
Name: match_test_missing_fatal
Prototype: static void match_test_missing_fatal(const char *criteria, const char *attrib)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/servconf.c
Lines: 988-993
  0.000% (0/1)
21
match_user
Name: match_user
Prototype: int match_user(const char *user, const char *host, const char *ipaddr, const char *pattern)
Coverage:  0.000% (0/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/match.c
Lines: 221-248
  0.000% (0/37)
1365
maybe_add_key_to_agent
Name: maybe_add_key_to_agent
Prototype: void maybe_add_key_to_agent(char *authfile, const struct sshkey *private, char *comment, char *passphrase)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/sshconnect.c
Lines: 1554-1581
  0.000% (0/16)
165
mkdtemp
Name: mkdtemp
Prototype: char * mkdtemp(char *path)
Coverage:  0.000% (0/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/mktemp.c
Lines: 132-139
  0.000% (0/3)
71
mkstemp
Name: mkstemp
Prototype: int mkstemp(char *path)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/mktemp.c
Lines: 120-124
  0.000% (0/1)
11
mkstemps
Name: mkstemps
Prototype: int mkstemps(char *path, int slen)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/mktemp.c
Lines: 126-130
  0.000% (0/1)
11
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
  0.000% (0/44)
9713
mktemp_proto
Name: mktemp_proto
Prototype: void mktemp_proto(char *s, size_t len)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/misc.c
Lines: 1394-1408
  0.000% (0/14)
114
mm_answer_auth2_read_banner
Name: mm_answer_auth2_read_banner
Prototype: int mm_answer_auth2_read_banner(int sock, struct sshbuf *m)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 813-826
  0.000% (0/4)
132
mm_answer_authpassword
Name: mm_answer_authpassword
Prototype: int mm_answer_authpassword(int sock, struct sshbuf *m)
Coverage:  0.000% (0/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 849-887
  0.000% (0/20)
225
mm_answer_authserv
Name: mm_answer_authserv
Prototype: int mm_answer_authserv(int sock, struct sshbuf *m)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 828-847
  0.000% (0/9)
233
mm_answer_keyallowed
Name: mm_answer_keyallowed
Prototype: int mm_answer_keyallowed(int sock, struct sshbuf *m)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 1120-1218
  0.000% (0/63)
10518
mm_answer_keyverify
Name: mm_answer_keyverify
Prototype: int mm_answer_keyverify(int sock, struct sshbuf *m)
Coverage:  0.000% (0/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 1357-1429
  0.000% (0/38)
6611
mm_answer_moduli
Name: mm_answer_moduli
Prototype: int mm_answer_moduli(int sock, struct sshbuf *m)
Coverage:  0.000% (0/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 567-606
  0.000% (0/29)
336
mm_answer_pty
Name: mm_answer_pty
Prototype: int mm_answer_pty(int sock, struct sshbuf *m)
Coverage:  0.000% (0/36)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 1468-1536
  0.000% (0/36)
6012
mm_answer_pty_cleanup
Name: mm_answer_pty_cleanup
Prototype: int mm_answer_pty_cleanup(int sock, struct sshbuf *m)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 1538-1554
  0.000% (0/7)
173
mm_answer_pwnamallow
Name: mm_answer_pwnamallow
Prototype: int mm_answer_pwnamallow(int sock, struct sshbuf *m)
Coverage:  0.000% (0/167)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 712-811
  0.000% (0/167)
9353
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
  0.000% (0/64)
9015
mm_answer_term
Name: mm_answer_term
Prototype: int mm_answer_term(int sock, struct sshbuf *req)
Coverage:  0.000% (0/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 1556-1581
  0.000% (0/8)
303
mm_auth2_read_banner
Name: mm_auth2_read_banner
Prototype: char * mm_auth2_read_banner(void)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 344-370
  0.000% (0/10)
274
mm_auth_password
Name: mm_auth_password
Prototype: int mm_auth_password(struct ssh *ssh, char *password)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 394-430
  0.000% (0/10)
194
mm_bsdauth_query
Name: mm_bsdauth_query
Prototype: int mm_bsdauth_query(void *ctx, char **name, char **infotxt, u_int *numprompts, char ***prompts, u_int **echo_on)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 806-842
  0.000% (0/13)
295
mm_bsdauth_respond
Name: mm_bsdauth_respond
Prototype: int mm_bsdauth_respond(void *ctx, u_int numresponses, char **responses)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 844-868
  0.000% (0/15)
185
mm_chall_setup
Name: mm_chall_setup
Prototype: static void mm_chall_setup(char **name, char **infotxt, u_int *numprompts, char ***prompts, u_int **echo_on)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 794-804
  0.000% (0/1)
61
mm_choose_dh
Name: mm_choose_dh
Prototype: DH * mm_choose_dh(int min, int nbits, int max)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh_api.c
Lines: 64-68
  0.000% (0/1)
51
mm_get_keystate
Name: mm_get_keystate
Prototype: void mm_get_keystate(struct monitor *pmonitor)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor.c
Lines: 1678-1688
  0.000% (0/4)
82
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
  0.000% (0/187)
24155
mm_hostbased_key_allowed
Name: mm_hostbased_key_allowed
Prototype: int mm_hostbased_key_allowed(struct passwd *pw, const char *user, const char *host, struct sshkey *key)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 440-445
  0.000% (0/1)
51
mm_inform_authserv
Name: mm_inform_authserv
Prototype: void mm_inform_authserv(char *service, char *style)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 374-391
  0.000% (0/9)
123
mm_is_monitor
Name: mm_is_monitor
Prototype: int mm_is_monitor(void)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssh/src/monitor_wrap.c
Lines: 111-119
  0.000% (0/5)
11
Page:<>1
Function: BSDgetopt
...6
Function: delete_all
7
Function: dump_cfg_forwards
8
Function: get_ec
9
Function: input_userauth_ext_info
1011
Function: mm_key_allowed
12
Function: opt_dequote
13
Function: port_open_helper
14
Function: read_passphrase
...20
Function: subprocess
21
Function: xasprintf

Generated by Squish Coco 4.2.2