OpenCoverage

ssh.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssh/src/ssh.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12-
13-
14-
15-
16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
28extern char *__progname;-
29-
30-
31-
32static char **saved_av;-
33-
34-
35-
36int debug_flag = 0;-
37-
38-
39int tty_flag = 0;-
40-
41-
42int no_shell_flag = 0;-
43-
44-
45-
46-
47-
48int stdin_null_flag = 0;-
49-
50-
51-
52-
53-
54int need_controlpersist_detach = 0;-
55-
56-
57int ostdin_null_flag, ono_shell_flag, otty_flag, orequest_tty;-
58-
59-
60-
61-
62-
63-
64int fork_after_authentication_flag = 0;-
65-
66-
67-
68-
69-
70Options options;-
71-
72-
73char *config = -
74 ((void *)0)-
75 ;-
76-
77-
78-
79-
80-
81-
82char *host;-
83-
84-
85static char thishost[-
86 1025-
87 ], shorthost[-
88 1025-
89 ], portstr[-
90 32-
91 ];-
92static char uidstr[32], *host_arg, *conn_hash_hex;-
93-
94-
95struct sockaddr_storage hostaddr;-
96-
97-
98Sensitive sensitive_data;-
99-
100-
101struct sshbuf *command;-
102-
103-
104int subsystem_flag = 0;-
105-
106-
107static int remote_forward_confirms_received = 0;-
108-
109-
110extern int muxserver_sock;-
111extern u_int muxclient_command;-
112-
113-
114-
115static void-
116usage(void)-
117{-
118 fprintf(-
119 stderr-
120 ,-
121"usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]\n"-
122" [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]\n"-
123" [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]\n"-
124" [-i identity_file] [-J [user@]host[:port]] [-L address]\n"-
125" [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n"-
126" [-Q query_option] [-R address] [-S ctl_path] [-W host:port]\n"-
127" [-w local_tun[:remote_tun]] destination [command]\n"-
128 );-
129 exit(255);
never executed: exit(255);
0
130}-
131-
132static int ssh_session2(struct ssh *, struct passwd *);-
133static void load_public_identity_files(struct passwd *);-
134static void main_sigchld_handler(int);-
135-
136-
137static void-
138tilde_expand_paths(char **paths, u_int num_paths)-
139{-
140 u_int i;-
141 char *cp;-
142-
143 for (i = 0; i < num_paths
i < num_pathsDescription
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
144 cp = tilde_expand_filename(paths[i], getuid());-
145 free(paths[i]);-
146 paths[i] = cp;-
147 }
never executed: end of block
0
148}
never executed: end of block
0
149-
150-
151-
152-
153-
154-
155-
156static struct addrinfo *-
157resolve_host(const char *name, int port, int logerr, char *cname, size_t clen)-
158{-
159 char strport[-
160 32-
161 ];-
162 struct addrinfo hints, *res;-
163 int gaierr, loglevel = SYSLOG_LEVEL_DEBUG1;-
164-
165 if (port <= 0
port <= 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
166 port = default_ssh_port();
never executed: port = default_ssh_port();
0
167-
168 snprintf(strport, sizeof strport, "%d", port);-
169 memset(&hints, 0, sizeof(hints));-
170 hints.ai_family = options.address_family == -1
options.address_family == -1Description
TRUEnever evaluated
FALSEnever evaluated
?
0
171 -
172 0 -
173 : options.address_family;-
174 hints.ai_socktype = -
175 SOCK_STREAM-
176 ;-
177 if (cname !=
cname != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
178 ((void *)0)
cname != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
179 )-
180 hints.ai_flags =
never executed: hints.ai_flags = 0x0002 ;
0
181 0x0002
never executed: hints.ai_flags = 0x0002 ;
0
182 ;
never executed: hints.ai_flags = 0x0002 ;
0
183 if ((
(gaierr = geta...s, &res)) != 0Description
TRUEnever evaluated
FALSEnever evaluated
gaierr = getaddrinfo(name, strport, &hints, &res)) != 0
(gaierr = geta...s, &res)) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
184 if (logerr
logerrDescription
TRUEnever evaluated
FALSEnever evaluated
|| (gaierr !=
gaierr != -2Description
TRUEnever evaluated
FALSEnever evaluated
0
185 -2
gaierr != -2Description
TRUEnever evaluated
FALSEnever evaluated
0
186 && gaierr !=
gaierr != -5Description
TRUEnever evaluated
FALSEnever evaluated
0
187 -5
gaierr != -5Description
TRUEnever evaluated
FALSEnever evaluated
0
188 ))-
189 loglevel = SYSLOG_LEVEL_ERROR;
never executed: loglevel = SYSLOG_LEVEL_ERROR;
0
190 do_log2(loglevel, "%s: Could not resolve hostname %.100s: %s",-
191 __progname, name, ssh_gai_strerror(gaierr));-
192 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
193 ((void *)0)
never executed: return ((void *)0) ;
0
194 ;
never executed: return ((void *)0) ;
0
195 }-
196 if (cname !=
cname != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
197 ((void *)0)
cname != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
198 && res->ai_canonname !=
res->ai_canonn...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
199 ((void *)0)
res->ai_canonn...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
200 ) {-
201 if (strlcpy(cname, res->ai_canonname, clen) >= clen
strlcpy(cname,... clen) >= clenDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
202 error("%s: host \"%s\" cname \"%s\" too long (max %lu)",-
203 __func__, name, res->ai_canonname, (u_long)clen);-
204 if (clen > 0
clen > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
205 *
never executed: *cname = '\0';
cname = '\0';
never executed: *cname = '\0';
0
206 }
never executed: end of block
0
207 }
never executed: end of block
0
208 return
never executed: return res;
res;
never executed: return res;
0
209}-
210-
211-
212static int-
213is_addr_fast(const char *name)-
214{-
215 return
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
(
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
216 (
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '%' )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
217 '%'
__builtin_constant_p ( '%' )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
218 )
__builtin_constant_p ( '%' )Description
TRUEnever evaluated
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( name )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
219 name
!__builtin_constant_p ( name )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
220 )
!__builtin_constant_p ( name )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
( '%' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
221 '%'
( '%' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
222 ) == '\0'
( '%' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
? (char *) __rawmemchr (
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
223 name
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
224 ,
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
225 '%'
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
226 ) : __builtin_strchr (
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
227 name
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
228 ,
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
229 '%'
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
230 )))
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
231 !=
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
232 ((void *)0)
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
233 ||
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
234 (
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
__extension__ (__builtin_constant_p (
__builtin_constant_p ( ':' )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
235 ':'
__builtin_constant_p ( ':' )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
236 )
__builtin_constant_p ( ':' )Description
TRUEnever evaluated
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( name )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
237 name
!__builtin_constant_p ( name )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
238 )
!__builtin_constant_p ( name )Description
TRUEnever evaluated
FALSEnever evaluated
&& (
( ':' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
239 ':'
( ':' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
240 ) == '\0'
( ':' ) == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
? (char *) __rawmemchr (
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
241 name
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
242 ,
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
243 ':'
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
244 ) : __builtin_strchr (
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
245 name
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
246 ,
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
247 ':'
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
248 )))
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
249 !=
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
250 ((void *)0)
(__extension__...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
251 ||
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
252
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
253 __builtin_strspn (
__builtin_strs...= strlen(name)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
254 name
__builtin_strs...= strlen(name)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
255 ,
__builtin_strs...= strlen(name)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
256 "0123456789."
__builtin_strs...= strlen(name)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
257 )
__builtin_strs...= strlen(name)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
258 == strlen(name)
__builtin_strs...= strlen(name)Description
TRUEnever evaluated
FALSEnever evaluated
);
never executed: return ( (__extension__ (__builtin_constant_p ( '%' ) && !__builtin_constant_p ( name ) && ( '%' ) == '\0' ? (char *) __rawmemchr ( name , '%' ) : __builtin_strchr ( name , '%' ))) != ((void *)0) || (__extension__ (__builtin_constant_p ( ':' ) && !__builtin_constant_p ( name ) && ( ':' ) == '\0' ? (char *) __rawmemchr ( name , ':' ) : __builtin_strchr ( name , ':' ))) != ((void *)0) || __builtin_strspn ( name , "0123456789." ) == strlen(name));
0
259}-
260-
261-
262static int-
263is_addr(const char *name)-
264{-
265 char strport[-
266 32-
267 ];-
268 struct addrinfo hints, *res;-
269-
270 if (is_addr_fast(name)
is_addr_fast(name)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
271 return
never executed: return 1;
1;
never executed: return 1;
0
272-
273 snprintf(strport, sizeof strport, "%u", default_ssh_port());-
274 memset(&hints, 0, sizeof(hints));-
275 hints.ai_family = options.address_family == -1
options.address_family == -1Description
TRUEnever evaluated
FALSEnever evaluated
?
0
276 -
277 0 -
278 : options.address_family;-
279 hints.ai_socktype = -
280 SOCK_STREAM-
281 ;-
282 hints.ai_flags = -
283 0x0004-
284 |-
285 0x0400-
286 ;-
287 if (getaddrinfo(name, strport, &hints, &res) != 0
getaddrinfo(na...ts, &res) != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
288 return
never executed: return 0;
0;
never executed: return 0;
0
289 if (res ==
res == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
290 ((void *)0)
res == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
291 || res->ai_next !=
res->ai_next != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
292 ((void *)0)
res->ai_next != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
293 ) {-
294 freeaddrinfo(res);-
295 return
never executed: return 0;
0;
never executed: return 0;
0
296 }-
297 freeaddrinfo(res);-
298 return
never executed: return 1;
1;
never executed: return 1;
0
299}-
300-
301-
302-
303-
304-
305-
306-
307static struct addrinfo *-
308resolve_addr(const char *name, int port, char *caddr, size_t clen)-
309{-
310 char addr[-
311 1025-
312 ], strport[-
313 32-
314 ];-
315 struct addrinfo hints, *res;-
316 int gaierr;-
317-
318 if (port <= 0
port <= 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
319 port = default_ssh_port();
never executed: port = default_ssh_port();
0
320 snprintf(strport, sizeof strport, "%u", port);-
321 memset(&hints, 0, sizeof(hints));-
322 hints.ai_family = options.address_family == -1
options.address_family == -1Description
TRUEnever evaluated
FALSEnever evaluated
?
0
323 -
324 0 -
325 : options.address_family;-
326 hints.ai_socktype = -
327 SOCK_STREAM-
328 ;-
329 hints.ai_flags = -
330 0x0004-
331 |-
332 0x0400-
333 ;-
334 if ((
(gaierr = geta...s, &res)) != 0Description
TRUEnever evaluated
FALSEnever evaluated
gaierr = getaddrinfo(name, strport, &hints, &res)) != 0
(gaierr = geta...s, &res)) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
335 debug2("%s: could not resolve name %.100s as address: %s",-
336 __func__, name, ssh_gai_strerror(gaierr));-
337 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
338 ((void *)0)
never executed: return ((void *)0) ;
0
339 ;
never executed: return ((void *)0) ;
0
340 }-
341 if (res ==
res == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
342 ((void *)0)
res == ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
343 ) {-
344 debug("%s: getaddrinfo %.100s returned no addresses",-
345 __func__, name);-
346 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
347 ((void *)0)
never executed: return ((void *)0) ;
0
348 ;
never executed: return ((void *)0) ;
0
349 }-
350 if (res->ai_next !=
res->ai_next != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
351 ((void *)0)
res->ai_next != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
352 ) {-
353 debug("%s: getaddrinfo %.100s returned multiple addresses",-
354 __func__, name);-
355 goto
never executed: goto fail;
fail;
never executed: goto fail;
0
356 }-
357 if ((
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
gaierr = getnameinfo(res->ai_addr, res->ai_addrlen,
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
358 addr, sizeof(addr),
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
359 ((void *)0)
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
360 , 0,
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
361 1
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
0
362 )) != 0
(gaierr = getn..., 0, 1 )) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
363 debug("%s: Could not format address for name %.100s: %s",-
364 __func__, name, ssh_gai_strerror(gaierr));-
365 goto
never executed: goto fail;
fail;
never executed: goto fail;
0
366 }-
367 if (strlcpy(caddr, addr, clen) >= clen
strlcpy(caddr,... clen) >= clenDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
368 error("%s: host \"%s\" addr \"%s\" too long (max %lu)",-
369 __func__, name, addr, (u_long)clen);-
370 if (clen > 0
clen > 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
371 *
never executed: *caddr = '\0';
caddr = '\0';
never executed: *caddr = '\0';
0
372 fail:
code before this statement never executed: fail:
0
373 freeaddrinfo(res);-
374 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
375 ((void *)0)
never executed: return ((void *)0) ;
0
376 ;
never executed: return ((void *)0) ;
0
377 }-
378 return
never executed: return res;
res;
never executed: return res;
0
379}-
380-
381-
382-
383-
384-
385-
386static int-
387check_follow_cname(int direct, char **namep, const char *cname)-
388{-
389 int i;-
390 struct allowed_cname *rule;-
391-
392 if (*
*cname == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
cname == '\0'
*cname == '\0'Description
TRUEnever evaluated
FALSEnever evaluated
|| options.num_permitted_cnames == 0
options.num_pe...ed_cnames == 0Description
TRUEnever evaluated
FALSEnever evaluated
||
0
393 -
394 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
395 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
396 ) && __builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
397 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
398 ) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
399 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
400 ), __s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
401 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
402 ), (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
403 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
404 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
405 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
406 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
407 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
408 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
409 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
410 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
411 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
412 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
413 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
414 ) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
415 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
416 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
417 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
418 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
419 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
420 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
421 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
422 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
423 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
424 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
425 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
426 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
427 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
428 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
429 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
430 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
431 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
432 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
433 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
434 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
435 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
436 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
437 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
438 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
439 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
440 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( *namep ))[3] - __s2[3]);
0
441 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( *namep ))[3] - __s2[3]);
0
442 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
443 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
444 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
445 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
446 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
447 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
448 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
449 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
450 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
451 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
452 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
453 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
454 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
455 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
456 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
457 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
458 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
459 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
460 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
461 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
462 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
463 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
464 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
465 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
466 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
467 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
468 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( cname ))[3] - __s2[3]);
0
469 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( cname ))[3] - __s2[3]);
0
470 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
471 *namep
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
472 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
473 cname
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
474 )))); })
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
475 == 0
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
476 return
never executed: return 0;
0;
never executed: return 0;
0
477 if (options.canonicalize_hostname == 0
options.canoni..._hostname == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
478 return
never executed: return 0;
0;
never executed: return 0;
0
479-
480-
481-
482-
483 if (!direct
!directDescription
TRUEnever evaluated
FALSEnever evaluated
&&
0
484 options.canonicalize_hostname != 2
options.canoni..._hostname != 2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
485 return
never executed: return 0;
0;
never executed: return 0;
0
486 debug3("%s: check \"%s\" CNAME \"%s\"", __func__, *namep, cname);-
487 for (i = 0; i < options.num_permitted_cnames
i < options.nu...rmitted_cnamesDescription
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
488 rule = options.permitted_cnames + i;-
489 if (match_pattern_list(*namep, rule->source_list, 1) != 1
match_pattern_..._list, 1) != 1Description
TRUEnever evaluated
FALSEnever evaluated
||
0
490 match_pattern_list(cname, rule->target_list, 1) != 1
match_pattern_..._list, 1) != 1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
491 continue;
never executed: continue;
0
492 verbose("Canonicalized DNS aliased hostname "-
493 "\"%s\" => \"%s\"", *namep, cname);-
494 free(*namep);-
495 *namep = xstrdup(cname);-
496 return
never executed: return 1;
1;
never executed: return 1;
0
497 }-
498 return
never executed: return 0;
0;
never executed: return 0;
0
499}-
500-
501-
502-
503-
504-
505-
506-
507static struct addrinfo *-
508resolve_canonicalize(char **hostp, int port)-
509{-
510 int i, direct, ndots;-
511 char *cp, *fullhost, newname[-
512 1025-
513 ];-
514 struct addrinfo *addrs;-
515-
516-
517-
518-
519-
520 if ((
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
addrs = resolve_addr(*hostp, port,
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
521 newname, sizeof(newname))) !=
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
522 ((void *)0)
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
523 ) {-
524 debug2("%s: hostname %.100s is address", __func__, *hostp);-
525 if (strcasecmp(*hostp, newname) != 0
strcasecmp(*ho... newname) != 0Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
526 debug2("%s: canonicalised address \"%s\" => \"%s\"",-
527 __func__, *hostp, newname);-
528 free(*hostp);-
529 *hostp = xstrdup(newname);-
530 }
never executed: end of block
0
531 return
never executed: return addrs;
addrs;
never executed: return addrs;
0
532 }-
533-
534-
535-
536-
537-
538-
539 if (is_addr_fast(*hostp)
is_addr_fast(*hostp)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
540 debug("%s: hostname %.100s is an unrecognised address",-
541 __func__, *hostp);-
542 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
543 ((void *)0)
never executed: return ((void *)0) ;
0
544 ;
never executed: return ((void *)0) ;
0
545 }-
546-
547 if (options.canonicalize_hostname == 0
options.canoni..._hostname == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
548 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
549 ((void *)0)
never executed: return ((void *)0) ;
0
550 ;
never executed: return ((void *)0) ;
0
551-
552-
553-
554-
555-
556 direct = option_clear_or_none(options.proxy_command)
option_clear_o...proxy_command)Description
TRUEnever evaluated
FALSEnever evaluated
&&
0
557 options.jump_host ==
options.jump_h...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
558 ((void *)0)
options.jump_h...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
559 ;-
560 if (!direct
!directDescription
TRUEnever evaluated
FALSEnever evaluated
&&
0
561 options.canonicalize_hostname != 2
options.canoni..._hostname != 2Description
TRUEnever evaluated
FALSEnever evaluated
)
0
562 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
563 ((void *)0)
never executed: return ((void *)0) ;
0
564 ;
never executed: return ((void *)0) ;
0
565-
566-
567 if ((*
(*hostp)[strle...p) - 1] == '.'Description
TRUEnever evaluated
FALSEnever evaluated
hostp)[strlen(*hostp) - 1] == '.'
(*hostp)[strle...p) - 1] == '.'Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
568 debug3("%s: name is fully qualified", __func__);-
569 fullhost = xstrdup(*hostp);-
570 if ((
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
addrs = resolve_host(fullhost, port, 0,
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
571 newname, sizeof(newname))) !=
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
572 ((void *)0)
(addrs = resol...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
573 )-
574 goto
never executed: goto found;
found;
never executed: goto found;
0
575 free(fullhost);-
576 goto
never executed: goto notfound;
notfound;
never executed: goto notfound;
0
577 }-
578-
579-
580 ndots = 0;-
581 for (cp = *hostp; *
*cp != '\0'Description
TRUEnever evaluated
FALSEnever evaluated
cp != '\0'
*cp != '\0'Description
TRUEnever evaluated
FALSEnever evaluated
; cp++) {
0
582 if (*
*cp == '.'Description
TRUEnever evaluated
FALSEnever evaluated
cp == '.'
*cp == '.'Description
TRUEnever evaluated
FALSEnever evaluated
)
0
583 ndots++;
never executed: ndots++;
0
584 }
never executed: end of block
0
585 if (ndots > options.canonicalize_max_dots
ndots > option...alize_max_dotsDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
586 debug3("%s: not canonicalizing hostname \"%s\" (max dots %d)",-
587 __func__, *hostp, options.canonicalize_max_dots);-
588 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
589 ((void *)0)
never executed: return ((void *)0) ;
0
590 ;
never executed: return ((void *)0) ;
0
591 }-
592-
593 for (i = 0; i < options.num_canonical_domains
i < options.nu...onical_domainsDescription
TRUEnever evaluated
FALSEnever evaluated
; i++) {
0
594 *newname = '\0';-
595 xasprintf(&fullhost, "%s.%s.", *hostp,-
596 options.canonical_domains[i]);-
597 debug3("%s: attempting \"%s\" => \"%s\"", __func__,-
598 *hostp, fullhost);-
599 if ((
(addrs = resol...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
addrs = resolve_host(fullhost, port, 0,
(addrs = resol...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
600 newname, sizeof(newname))) ==
(addrs = resol...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
601 ((void *)0)
(addrs = resol...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
602 ) {-
603 free(fullhost);-
604 continue;
never executed: continue;
0
605 }-
606 found:
code before this statement never executed: found:
0
607-
608 fullhost[strlen(fullhost) - 1] = '\0';-
609-
610 if (!check_follow_cname(direct, &fullhost, newname)
!check_follow_...host, newname)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
611 debug("Canonicalized hostname \"%s\" => \"%s\"",-
612 *hostp, fullhost);-
613 }
never executed: end of block
0
614 free(*hostp);-
615 *hostp = fullhost;-
616 return
never executed: return addrs;
addrs;
never executed: return addrs;
0
617 }-
618 notfound:
code before this statement never executed: notfound:
0
619 if (!options.canonicalize_fallback_local
!options.canon...fallback_localDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
620 fatal("%s: Could not resolve host \"%s\"", __progname, *hostp);
never executed: fatal("%s: Could not resolve host \"%s\"", __progname, *hostp);
0
621 debug2("%s: host %s not found in any suffix", __func__, *hostp);-
622 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
623 ((void *)0)
never executed: return ((void *)0) ;
0
624 ;
never executed: return ((void *)0) ;
0
625}-
626-
627-
628-
629-
630-
631static void-
632check_load(int r, const char *path, const char *message)-
633{-
634 switch (r) {-
635 case
never executed: case 0:
0:
never executed: case 0:
0
636 break;
never executed: break;
0
637 case
never executed: case -1:
-1:
never executed: case -1:
0
638 case
never executed: case -2:
-2:
never executed: case -2:
0
639 fatal("load %s \"%s\": %s", message, path, ssh_err(r));-
640 case
never executed: case -24:
-24:
never executed: case -24:
code before this statement never executed: case -24:
0
641-
642 if (-
643 (*
(*__errno_location ()) == 2Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 2Description
TRUEnever evaluated
FALSEnever evaluated
0
644 ==
(*__errno_location ()) == 2Description
TRUEnever evaluated
FALSEnever evaluated
0
645 2
(*__errno_location ()) == 2Description
TRUEnever evaluated
FALSEnever evaluated
0
646 )-
647 break;
never executed: break;
0
648-
649 default
never executed: default:
:
never executed: default:
code before this statement never executed: default:
0
650 error("load %s \"%s\": %s", message, path, ssh_err(r));-
651 break;
never executed: break;
0
652 }-
653}-
654-
655-
656-
657-
658-
659static void-
660process_config_files(const char *host_name, struct passwd *pw, int post_canon)-
661{-
662 char buf[-
663 4096-
664 ];-
665 int r;-
666-
667 if (config !=
config != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
668 ((void *)0)
config != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
669 ) {-
670 if (strcasecmp(config, "none") != 0
strcasecmp(con..., "none") != 0Description
TRUEnever evaluated
FALSEnever evaluated
&&
0
671 !read_config_file(config, pw, host, host_name, &options,
!read_config_f...anon ? 4 : 0))Description
TRUEnever evaluated
FALSEnever evaluated
0
672 2 | (post_canon ? 4 : 0))
!read_config_f...anon ? 4 : 0))Description
TRUEnever evaluated
FALSEnever evaluated
)
0
673 fatal("Can't open user config file %.100s: "
never executed: fatal("Can't open user config file %.100s: " "%.100s", config, strerror( (*__errno_location ()) ));
0
674 "%.100s", config, strerror(
never executed: fatal("Can't open user config file %.100s: " "%.100s", config, strerror( (*__errno_location ()) ));
0
675 (*__errno_location ())
never executed: fatal("Can't open user config file %.100s: " "%.100s", config, strerror( (*__errno_location ()) ));
0
676 ));
never executed: fatal("Can't open user config file %.100s: " "%.100s", config, strerror( (*__errno_location ()) ));
0
677 }
never executed: end of block
else {
0
678 r = snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir,-
679 ".ssh" "/config");-
680 if (r > 0
r > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(size_t)r < sizeof(buf)Description
TRUEnever evaluated
FALSEnever evaluated
size_t)r < sizeof(buf)
(size_t)r < sizeof(buf)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
681 (
never executed: (void)read_config_file(buf, pw, host, host_name, &options, 1 | 2 | (post_canon ? 4 : 0));
void)read_config_file(buf, pw, host, host_name,
never executed: (void)read_config_file(buf, pw, host, host_name, &options, 1 | 2 | (post_canon ? 4 : 0));
0
682 &options, 1 | 2 |
never executed: (void)read_config_file(buf, pw, host, host_name, &options, 1 | 2 | (post_canon ? 4 : 0));
0
683 (post_canon ? 4 : 0));
never executed: (void)read_config_file(buf, pw, host, host_name, &options, 1 | 2 | (post_canon ? 4 : 0));
0
684-
685-
686 (void)read_config_file("/var/tmp/openssh-test/etc" "/ssh_config", pw,-
687 host, host_name, &options,-
688 post_canon ? 4 : 0);-
689 }
never executed: end of block
0
690}-
691-
692-
693static void-
694set_addrinfo_port(struct addrinfo *addrs, int port)-
695{-
696 struct addrinfo *addr;-
697-
698 for (addr = addrs; addr !=
addr != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
699 ((void *)0)
addr != ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
700 ; addr = addr->ai_next) {-
701 switch (addr->ai_family) {-
702 case
never executed: case 2 :
never executed: case 2 :
0
703 2
never executed: case 2 :
0
704 :
never executed: case 2 :
0
705 ((struct sockaddr_in *)addr->ai_addr)->-
706 sin_port = -
707 (__extension__ ({ unsigned short int __v, __x = (unsigned short int) (-
708 port-
709 ); if (__builtin_constant_p (__x)
__builtin_constant_p (__x)Description
TRUEnever evaluated
FALSEnever evaluated
) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)));
never executed: __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)));
else __asm__
never executed: __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc");
("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc");
never executed: __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc");
__v; }))
0
710 ;-
711 break;
never executed: break;
0
712 case
never executed: case 10 :
never executed: case 10 :
0
713 10
never executed: case 10 :
0
714 :
never executed: case 10 :
0
715 ((struct sockaddr_in6 *)addr->ai_addr)->-
716 sin6_port = -
717 (__extension__ ({ unsigned short int __v, __x = (unsigned short int) (-
718 port-
719 ); if (__builtin_constant_p (__x)
__builtin_constant_p (__x)Description
TRUEnever evaluated
FALSEnever evaluated
) __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)));
never executed: __v = ((unsigned short int) ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)));
else __asm__
never executed: __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc");
("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc");
never executed: __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc");
__v; }))
0
720 ;-
721 break;
never executed: break;
0
722 }-
723 }
never executed: end of block
0
724}
never executed: end of block
0
725-
726-
727-
728-
729int-
730main(int ac, char **av)-
731{-
732 struct ssh *ssh = -
733 ((void *)0)-
734 ;-
735 int i, r, opt, exit_status, use_syslog, direct, timeout_ms;-
736 int was_addr, config_test = 0, opt_terminated = 0;-
737 char *p, *cp, *line, *argv0, buf[-
738 4096-
739 ], *logfile;-
740 char cname[-
741 1025-
742 ];-
743 struct stat st;-
744 struct passwd *pw;-
745 extern int BSDoptind, BSDoptreset;-
746 extern char *BSDoptarg;-
747 struct Forward fwd;-
748 struct addrinfo *addrs = -
749 ((void *)0)-
750 ;-
751 struct ssh_digest_ctx *md;-
752 u_char conn_hash[64];-
753-
754 ssh_malloc_init();-
755-
756 sanitise_stdfd();-
757-
758 __progname = ssh_get_progname(av[0]);-
759-
760-
761-
762-
763 saved_av = xcalloc(ac + 1, sizeof(*saved_av));-
764 for (i = 0; i < ac
i < acDescription
TRUEnever evaluated
FALSEnever evaluated
; i++)
0
765 saved_av[i] = xstrdup(av[i]);
never executed: saved_av[i] = xstrdup(av[i]);
0
766 saved_av[i] = -
767 ((void *)0)-
768 ;-
769 compat_init_setproctitle(ac, av);-
770 av = saved_av;-
771-
772-
773-
774-
775-
776-
777 closefrom(-
778 2 -
779 + 1);-
780-
781-
782 pw = getpwuid(getuid());-
783 if (!pw
!pwDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
784 logit("No user exists for uid %lu", (u_long)getuid());-
785 exit(255);
never executed: exit(255);
0
786 }-
787-
788 pw = pwcopy(pw);-
789-
790-
791-
792-
793-
794-
795-
796 umask(022);-
797-
798 msetlocale();-
799-
800-
801-
802-
803-
804 initialize_options(&options);-
805-
806-
807-
808-
809 if ((
(ssh = ssh_all...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
ssh = ssh_alloc_session_state()) ==
(ssh = ssh_all...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
810 ((void *)0)
(ssh = ssh_all...== ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
811 )-
812 fatal("Couldn't allocate session state");
never executed: fatal("Couldn't allocate session state");
0
813 channel_init_channels(ssh);-
814 active_state = ssh;-
815-
816-
817 host = -
818 ((void *)0)-
819 ;-
820 use_syslog = 0;-
821 logfile = -
822 ((void *)0)-
823 ;-
824 argv0 = av[0];-
825-
826 again:
code before this statement never executed: again:
0
827 while ((
(opt = BSDgeto...:XYy") ) != -1Description
TRUEnever evaluated
FALSEnever evaluated
opt = BSDgetopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx" "AB:CD:E:F:GI:J:KL:MNO:PQ:R:S:TVw:W:XYy")
(opt = BSDgeto...:XYy") ) != -1Description
TRUEnever evaluated
FALSEnever evaluated
0
828 ) != -1
(opt = BSDgeto...:XYy") ) != -1Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
829 switch (opt) {-
830 case
never executed: case '1':
'1':
never executed: case '1':
0
831 fatal("SSH protocol v.1 is no longer supported");-
832 break;
never executed: break;
0
833 case
never executed: case '2':
'2':
never executed: case '2':
0
834-
835 break;
never executed: break;
0
836 case
never executed: case '4':
'4':
never executed: case '4':
0
837 options.address_family = -
838 2-
839 ;-
840 break;
never executed: break;
0
841 case
never executed: case '6':
'6':
never executed: case '6':
0
842 options.address_family = -
843 10-
844 ;-
845 break;
never executed: break;
0
846 case
never executed: case 'n':
'n':
never executed: case 'n':
0
847 stdin_null_flag = 1;-
848 break;
never executed: break;
0
849 case
never executed: case 'f':
'f':
never executed: case 'f':
0
850 fork_after_authentication_flag = 1;-
851 stdin_null_flag = 1;-
852 break;
never executed: break;
0
853 case
never executed: case 'x':
'x':
never executed: case 'x':
0
854 options.forward_x11 = 0;-
855 break;
never executed: break;
0
856 case
never executed: case 'X':
'X':
never executed: case 'X':
0
857 options.forward_x11 = 1;-
858 break;
never executed: break;
0
859 case
never executed: case 'y':
'y':
never executed: case 'y':
0
860 use_syslog = 1;-
861 break;
never executed: break;
0
862 case
never executed: case 'E':
'E':
never executed: case 'E':
0
863 logfile = BSDoptarg;-
864 break;
never executed: break;
0
865 case
never executed: case 'G':
'G':
never executed: case 'G':
0
866 config_test = 1;-
867 break;
never executed: break;
0
868 case
never executed: case 'Y':
'Y':
never executed: case 'Y':
0
869 options.forward_x11 = 1;-
870 options.forward_x11_trusted = 1;-
871 break;
never executed: break;
0
872 case
never executed: case 'g':
'g':
never executed: case 'g':
0
873 options.fwd_opts.gateway_ports = 1;-
874 break;
never executed: break;
0
875 case
never executed: case 'O':
'O':
never executed: case 'O':
0
876 if (options.stdio_forward_host !=
options.stdio_...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
877 ((void *)0)
options.stdio_...!= ((void *)0)Description
TRUEnever evaluated
FALSEnever evaluated
0
878 )-
879 fatal("Cannot specify multiplexing "
never executed: fatal("Cannot specify multiplexing " "command with -W");
0
880 "command with -W");
never executed: fatal("Cannot specify multiplexing " "command with -W");
0
881 else if (muxclient_command != 0
muxclient_command != 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
882 fatal("Multiplexing command already specified");
never executed: fatal("Multiplexing command already specified");
0
883 if (-
884 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
885 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
886 ) && __builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
887 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
888 ) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
889 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
890 ), __s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
891 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
892 ), (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
893 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
894 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
895 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
896 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
897 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
898 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
899 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
900 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
901 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
902 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
903 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
904 ) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
905 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
906 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
907 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
908 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
909 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
910 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
911 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
912 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
913 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
914 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
915 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
916 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
917 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
918 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
919 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
920 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
921 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
922 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
923 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
924 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
925 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
926 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
927 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
928 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
929 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
930 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
931 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
932 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
933 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
934 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
935 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
936 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
937 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
938 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
939 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
940 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
941 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
942 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
943 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
944 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
945 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
946 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
947 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
948 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
949 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
950 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
951 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
952 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
953 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
954 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
955 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
956 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
957 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
958 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "check" ))[3] - __s2[3]);
0
959 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "check" ))[3] - __s2[3]);
0
960 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
961 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
962 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
963 "check"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
964 )))); })
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
965 == 0
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
966 muxclient_command = 2;
never executed: muxclient_command = 2;
0
967 else if (-
968 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
969 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
970 ) && __builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
971 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
972 ) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
973 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
974 ), __s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
975 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
976 ), (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
977 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
978 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
979 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
980 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
981 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
982 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
983 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
984 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
985 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
986 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
987 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
988 ) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
989 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
990 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
991 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
992 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
993 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
994 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
995 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
996 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
997 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
998 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
999 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1000 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1001 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1002 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1003 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1004 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1005 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1006 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1007 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1008 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1009 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1010 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1011 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1012 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1013 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1014 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
1015 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
1016 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1017 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1018 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1019 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1020 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1021 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1022 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1023 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1024 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1025 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1026 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1027 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1028 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1029 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1030 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1031 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1032 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1033 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1034 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1035 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1036 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1037 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1038 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1039 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1040 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1041 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1042 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "forward" ))[3] - __s2[3]);
0
1043 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "forward" ))[3] - __s2[3]);
0
1044 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1045 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1046 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1047 "forward"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1048 )))); })
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1049 == 0
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1050 muxclient_command = 5;
never executed: muxclient_command = 5;
0
1051 else if (-
1052 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1053 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1054 ) && __builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1055 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1056 ) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1057 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1058 ), __s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1059 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1060 ), (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1061 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1062 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1063 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1064 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1065 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1066 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1067 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1068 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1069 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1070 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1071 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1072 ) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1073 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1074 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1075 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1076 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1077 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1078 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1079 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1080 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1081 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1082 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1083 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1084 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1085 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1086 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1087 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1088 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1089 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1090 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1091 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1092 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1093 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1094 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1095 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1096 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1097 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1098 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
1099 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
1100 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1101 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1102 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1103 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1104 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1105 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1106 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1107 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1108 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1109 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1110 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1111 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1112 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1113 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1114 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1115 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1116 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1117 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1118 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1119 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1120 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1121 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1122 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1123 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1124 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1125 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1126 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "exit" ))[3] - __s2[3]);
0
1127 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "exit" ))[3] - __s2[3]);
0
1128 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1129 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1130 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1131 "exit"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1132 )))); })
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1133 == 0
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1134 muxclient_command = 3;
never executed: muxclient_command = 3;
0
1135 else if (-
1136 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1137 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1138 ) && __builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1139 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1140 ) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1141 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1142 ), __s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1143 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1144 ), (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1145 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1146 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1147 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1148 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1149 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1150 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1151 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1152 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1153 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1154 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1155 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1156 ) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1157 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1158 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1159 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1160 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1161 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1162 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1163 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1164 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1165 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1166 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1167 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1168 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1169 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1170 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1171 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1172 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1173 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1174 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1175 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1176 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1177 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1178 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1179 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1180 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1181 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1182 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
1183 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]);
0
1184 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1185 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1186 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1187 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1188 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1189 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1190 ) == 1) && (__s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1191 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1192 ), __s2_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1193 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1194 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1195 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1196 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1197 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1198 ) == 1) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1199 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1200 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1201 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1202 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1203 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1204 ); int __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1205 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1206 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1207 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1208 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1209 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1210 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "stop" ))[3] - __s2[3]);
0
1211 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "stop" ))[3] - __s2[3]);
0
1212 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1213 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1214 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1215 "stop"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1216 )))); })
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1217 == 0
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1218 muxclient_command = 6;
never executed: muxclient_command = 6;
0
1219 else if (-
1220 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1221 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1222 ) && __builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1223 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1224 ) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1225 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1226 ), __s2_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1227 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1228 ), (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1229 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1230 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1231 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1232 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1233 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1234 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1235 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1236 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1237 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1238 ,
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1239 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1240 ) : (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1241 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1242 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1243 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1244 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1245 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1246 ) == 1) && (__s1_len = __builtin_strlen (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1247 BSDoptarg
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1248 ), __s1_len < 4) ? (__builtin_constant_p (
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1249 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1250 ) && ((size_t)(const void *)((
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1251 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1252 ) + 1) - (size_t)(const void *)(
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1253 "cancel"
__extension__ ... )))); }) == 0Description
TRUEnever evaluated
FALSEnever evaluated
0
1254