Line | Source | Count |
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 | | - |
28 | extern char *__progname; | - |
29 | | - |
30 | | - |
31 | | - |
32 | static char **saved_av; | - |
33 | | - |
34 | | - |
35 | | - |
36 | int debug_flag = 0; | - |
37 | | - |
38 | | - |
39 | int tty_flag = 0; | - |
40 | | - |
41 | | - |
42 | int no_shell_flag = 0; | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | int stdin_null_flag = 0; | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | int need_controlpersist_detach = 0; | - |
55 | | - |
56 | | - |
57 | int ostdin_null_flag, ono_shell_flag, otty_flag, orequest_tty; | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | int fork_after_authentication_flag = 0; | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | Options options; | - |
71 | | - |
72 | | - |
73 | char *config = | - |
74 | ((void *)0) | - |
75 | ; | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | char *host; | - |
83 | | - |
84 | | - |
85 | static char thishost[ | - |
86 | 1025 | - |
87 | ], shorthost[ | - |
88 | 1025 | - |
89 | ], portstr[ | - |
90 | 32 | - |
91 | ]; | - |
92 | static char uidstr[32], *host_arg, *conn_hash_hex; | - |
93 | | - |
94 | | - |
95 | struct sockaddr_storage hostaddr; | - |
96 | | - |
97 | | - |
98 | Sensitive sensitive_data; | - |
99 | | - |
100 | | - |
101 | struct sshbuf *command; | - |
102 | | - |
103 | | - |
104 | int subsystem_flag = 0; | - |
105 | | - |
106 | | - |
107 | static int remote_forward_confirms_received = 0; | - |
108 | | - |
109 | | - |
110 | extern int muxserver_sock; | - |
111 | extern u_int muxclient_command; | - |
112 | | - |
113 | | - |
114 | | - |
115 | static void | - |
116 | usage(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 | | - |
132 | static int ssh_session2(struct ssh *, struct passwd *); | - |
133 | static void load_public_identity_files(struct passwd *); | - |
134 | static void main_sigchld_handler(int); | - |
135 | | - |
136 | | - |
137 | static void | - |
138 | tilde_expand_paths(char **paths, u_int num_paths) | - |
139 | { | - |
140 | u_int i; | - |
141 | char *cp; | - |
142 | | - |
143 | for (i = 0; i < num_pathsTRUE | never evaluated | FALSE | never 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 | | - |
156 | static struct addrinfo * | - |
157 | resolve_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 <= 0TRUE | never evaluated | FALSE | never 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 == -1TRUE | never evaluated | FALSE | never evaluated |
? | 0 |
171 | | - |
172 | 0 | - |
173 | : options.address_family; | - |
174 | hints.ai_socktype = | - |
175 | SOCK_STREAM | - |
176 | ; | - |
177 | if (cname != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
178 | ((void *)0)TRUE | never evaluated | FALSE | never 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 ((TRUE | never evaluated | FALSE | never evaluated |
gaierr = getaddrinfo(name, strport, &hints, &res)) != 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
184 | if (logerrTRUE | never evaluated | FALSE | never evaluated |
|| (gaierr != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
185 | -2TRUE | never evaluated | FALSE | never evaluated |
| 0 |
186 | && gaierr != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
187 | -5TRUE | never evaluated | FALSE | never 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 != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
197 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
198 | && res->ai_canonname != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
199 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
200 | ) { | - |
201 | if (strlcpy(cname, res->ai_canonname, clen) >= clenTRUE | never evaluated | FALSE | never 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 > 0TRUE | never evaluated | FALSE | never 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 | | - |
212 | static int | - |
213 | is_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 | (TRUE | never evaluated | FALSE | never evaluated |
__extension__ (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | '%'TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | )TRUE | never evaluated | FALSE | never evaluated |
&& !__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | )TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | '%'TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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'TRUE | never evaluated | FALSE | never evaluated |
? (char *) __rawmemchr (TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never 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 | , TRUE | never evaluated | FALSE | never 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 | '%'TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never 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 | , TRUE | never evaluated | FALSE | never 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 | '%'TRUE | never evaluated | FALSE | never 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 | ))) TRUE | never evaluated | FALSE | never 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 | != TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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 | (TRUE | never evaluated | FALSE | never evaluated |
__extension__ (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | ':'TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | )TRUE | never evaluated | FALSE | never evaluated |
&& !__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | )TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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 | ':'TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never 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'TRUE | never evaluated | FALSE | never evaluated |
? (char *) __rawmemchr (TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never 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 | , TRUE | never evaluated | FALSE | never 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 | ':'TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never 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 | , TRUE | never evaluated | FALSE | never 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 | ':'TRUE | never evaluated | FALSE | never 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 | ))) TRUE | never evaluated | FALSE | never 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 | != TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never 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 | nameTRUE | never evaluated | FALSE | never 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 | , TRUE | never evaluated | FALSE | never 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."TRUE | never evaluated | FALSE | never 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 | ) TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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 | | - |
262 | static int | - |
263 | is_addr(const char *name) | - |
264 | { | - |
265 | char strport[ | - |
266 | 32 | - |
267 | ]; | - |
268 | struct addrinfo hints, *res; | - |
269 | | - |
270 | if (is_addr_fast(name)TRUE | never evaluated | FALSE | never 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 == -1TRUE | never evaluated | FALSE | never 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) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
288 | return never executed: return 0; 0;never executed: return 0; | 0 |
289 | if (res == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
290 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
291 | || res->ai_next != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
292 | ((void *)0)TRUE | never evaluated | FALSE | never 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 | | - |
307 | static struct addrinfo * | - |
308 | resolve_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 <= 0TRUE | never evaluated | FALSE | never 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 == -1TRUE | never evaluated | FALSE | never 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 ((TRUE | never evaluated | FALSE | never evaluated |
gaierr = getaddrinfo(name, strport, &hints, &res)) != 0TRUE | never evaluated | FALSE | never 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 == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
342 | ((void *)0)TRUE | never evaluated | FALSE | never 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 != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
351 | ((void *)0)TRUE | never evaluated | FALSE | never 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 ((TRUE | never evaluated | FALSE | never evaluated |
gaierr = getnameinfo(res->ai_addr, res->ai_addrlen,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
358 | addr, sizeof(addr), TRUE | never evaluated | FALSE | never evaluated |
| 0 |
359 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
360 | , 0, TRUE | never evaluated | FALSE | never evaluated |
| 0 |
361 | 1TRUE | never evaluated | FALSE | never evaluated |
| 0 |
362 | )) != 0TRUE | never evaluated | FALSE | never 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) >= clenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
368 | error("%s: host \"%s\" addr \"%s\" too long (max %lu)", | - |
369 | __func__, name, addr, (u_long)clen); | - |
370 | if (clen > 0TRUE | never evaluated | FALSE | never 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 | | - |
386 | static int | - |
387 | check_follow_cname(int direct, char **namep, const char *cname) | - |
388 | { | - |
389 | int i; | - |
390 | struct allowed_cname *rule; | - |
391 | | - |
392 | if (*TRUE | never evaluated | FALSE | never evaluated |
cname == '\0'TRUE | never evaluated | FALSE | never evaluated |
|| options.num_permitted_cnames == 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
393 | | - |
394 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
395 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
396 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
397 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
398 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
399 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
400 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
401 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
402 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
403 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
404 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
405 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
406 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
407 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
408 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
409 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
410 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
411 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
412 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
413 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
414 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
415 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
416 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
417 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
418 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
419 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
420 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
421 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
422 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
423 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
424 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
425 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
426 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
427 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
428 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
429 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
430 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
431 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
432 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
433 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
434 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
435 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
436 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
437 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
438 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
439 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
440 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( *namep ))[3] - __s2[3]); | 0 |
441 | *namepTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( *namep ))[3] - __s2[3]); | 0 |
442 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
443 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
444 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
445 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
446 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
447 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
448 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
449 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
450 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
451 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
452 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
453 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
454 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
455 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
456 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
457 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
458 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
459 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
460 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
461 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
462 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
463 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
464 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
465 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
466 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
467 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
468 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( cname ))[3] - __s2[3]); | 0 |
469 | cnameTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( cname ))[3] - __s2[3]); | 0 |
470 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
471 | *namepTRUE | never evaluated | FALSE | never evaluated |
| 0 |
472 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
473 | cnameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
474 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
475 | == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
476 | return never executed: return 0; 0;never executed: return 0; | 0 |
477 | if (options.canonicalize_hostname == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
478 | return never executed: return 0; 0;never executed: return 0; | 0 |
479 | | - |
480 | | - |
481 | | - |
482 | | - |
483 | if (!directTRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
484 | options.canonicalize_hostname != 2TRUE | never evaluated | FALSE | never 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_cnamesTRUE | never evaluated | FALSE | never evaluated |
; i++) { | 0 |
488 | rule = options.permitted_cnames + i; | - |
489 | if (match_pattern_list(*namep, rule->source_list, 1) != 1TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
490 | match_pattern_list(cname, rule->target_list, 1) != 1TRUE | never evaluated | FALSE | never 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 | | - |
507 | static struct addrinfo * | - |
508 | resolve_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 ((TRUE | never evaluated | FALSE | never evaluated |
addrs = resolve_addr(*hostp, port,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
521 | newname, sizeof(newname))) != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
522 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
523 | ) { | - |
524 | debug2("%s: hostname %.100s is address", __func__, *hostp); | - |
525 | if (strcasecmp(*hostp, newname) != 0TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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 == 0TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
557 | options.jump_host == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
558 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
559 | ; | - |
560 | if (!directTRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
561 | options.canonicalize_hostname != 2TRUE | never evaluated | FALSE | never 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 ((*TRUE | never evaluated | FALSE | never evaluated |
hostp)[strlen(*hostp) - 1] == '.'TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
568 | debug3("%s: name is fully qualified", __func__); | - |
569 | fullhost = xstrdup(*hostp); | - |
570 | if ((TRUE | never evaluated | FALSE | never evaluated |
addrs = resolve_host(fullhost, port, 0,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
571 | newname, sizeof(newname))) != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
572 | ((void *)0)TRUE | never evaluated | FALSE | never 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; *TRUE | never evaluated | FALSE | never evaluated |
cp != '\0'TRUE | never evaluated | FALSE | never evaluated |
; cp++) { | 0 |
582 | if (*TRUE | never evaluated | FALSE | never evaluated |
cp == '.'TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
583 | ndots++; never executed: ndots++; | 0 |
584 | } never executed: end of block | 0 |
585 | if (ndots > options.canonicalize_max_dotsTRUE | never evaluated | FALSE | never 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_domainsTRUE | never evaluated | FALSE | never 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 ((TRUE | never evaluated | FALSE | never evaluated |
addrs = resolve_host(fullhost, port, 0,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
600 | newname, sizeof(newname))) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
601 | ((void *)0)TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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_localTRUE | never evaluated | FALSE | never 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 | | - |
631 | static void | - |
632 | check_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 | (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
644 | == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
645 | 2TRUE | never evaluated | FALSE | never 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 | | - |
659 | static void | - |
660 | process_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 != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
668 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
669 | ) { | - |
670 | if (strcasecmp(config, "none") != 0TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
671 | !read_config_file(config, pw, host, host_name, &options,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
672 | 2 | (post_canon ? 4 : 0))TRUE | never evaluated | FALSE | never 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 > 0TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
size_t)r < sizeof(buf)TRUE | never evaluated | FALSE | never 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 | | - |
693 | static void | - |
694 | set_addrinfo_port(struct addrinfo *addrs, int port) | - |
695 | { | - |
696 | struct addrinfo *addr; | - |
697 | | - |
698 | for (addr = addrs; addr != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
699 | ((void *)0)TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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)TRUE | never evaluated | FALSE | never 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 | | - |
729 | int | - |
730 | main(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 < acTRUE | never evaluated | FALSE | never 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 (!pwTRUE | never evaluated | FALSE | never 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 ((TRUE | never evaluated | FALSE | never evaluated |
ssh = ssh_alloc_session_state()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
810 | ((void *)0)TRUE | never evaluated | FALSE | never 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 ((TRUE | never evaluated | FALSE | never 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")TRUE | never evaluated | FALSE | never evaluated |
| 0 |
828 | ) != -1TRUE | never evaluated | FALSE | never 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 != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
877 | ((void *)0)TRUE | never evaluated | FALSE | never 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 != 0TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
885 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
886 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
887 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
888 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
889 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
890 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
891 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
892 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
893 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
894 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
895 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
896 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
897 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
898 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
899 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
900 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
901 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
902 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
903 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
904 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
905 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
906 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
907 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
908 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
909 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
910 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
911 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
912 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
913 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
914 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
915 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
916 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
917 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
918 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
919 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
920 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
921 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
922 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
923 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
924 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
925 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
926 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
927 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
928 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
929 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
930 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
931 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
932 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
933 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
934 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
935 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
936 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
937 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
938 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
939 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
940 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
941 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
942 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
943 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
944 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
945 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
946 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
947 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
948 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
949 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
950 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
951 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
952 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
953 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
954 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
955 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
956 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
957 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
958 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "check" ))[3] - __s2[3]); | 0 |
959 | "check"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "check" ))[3] - __s2[3]); | 0 |
960 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
961 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
962 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
963 | "check"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
964 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
965 | == 0TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
969 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
970 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
971 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
972 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
973 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
974 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
975 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
976 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
977 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
978 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
979 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
980 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
981 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
982 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
983 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
984 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
985 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
986 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
987 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
988 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
989 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
990 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
991 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
992 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
993 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
994 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
995 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
996 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
997 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
998 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
999 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1000 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1001 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1002 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1003 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1004 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1005 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1006 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1007 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1008 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1009 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1010 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1011 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1012 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1013 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1014 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
1015 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
1016 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1017 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1018 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1019 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1020 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1021 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1022 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1023 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1024 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1025 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1026 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1027 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1028 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1029 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1030 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1031 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1032 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1033 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1034 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1035 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1036 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1037 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1038 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1039 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1040 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1041 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1042 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "forward" ))[3] - __s2[3]); | 0 |
1043 | "forward"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "forward" ))[3] - __s2[3]); | 0 |
1044 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1045 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1046 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1047 | "forward"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1048 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1049 | == 0TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1053 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1054 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1055 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1056 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1057 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1058 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1059 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1060 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1061 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1062 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1063 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1064 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1065 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1066 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1067 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1068 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1069 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1070 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1071 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1072 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1073 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1074 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1075 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1076 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1077 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1078 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1079 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1080 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1081 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1082 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1083 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1084 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1085 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1086 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1087 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1088 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1089 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1090 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1091 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1092 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1093 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1094 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1095 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1096 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1097 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1098 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
1099 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
1100 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1101 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1102 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1103 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1104 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1105 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1106 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1107 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1108 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1109 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1110 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1111 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1112 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1113 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1114 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1115 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1116 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1117 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1118 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1119 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1120 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1121 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1122 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1123 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1124 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1125 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1126 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "exit" ))[3] - __s2[3]); | 0 |
1127 | "exit"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "exit" ))[3] - __s2[3]); | 0 |
1128 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1129 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1130 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1131 | "exit"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1132 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1133 | == 0TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1137 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1138 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1139 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1140 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1141 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1142 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1143 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1144 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1145 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1146 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1147 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1148 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1149 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1150 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1151 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1152 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1153 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1154 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1155 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1156 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1157 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1158 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1159 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1160 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1161 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1162 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1163 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1164 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1165 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1166 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1167 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1168 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1169 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1170 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1171 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1172 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1173 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1174 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1175 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1176 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1177 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1178 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1179 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1180 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1181 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1182 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
1183 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( BSDoptarg ))[3] - __s2[3]); | 0 |
1184 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1185 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1186 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1187 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1188 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1189 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1190 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1191 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1192 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1193 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1194 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1195 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1196 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1197 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1198 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1199 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1200 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1201 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1202 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1203 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1204 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1205 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1206 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1207 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1208 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1209 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1210 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "stop" ))[3] - __s2[3]); | 0 |
1211 | "stop"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "stop" ))[3] - __s2[3]); | 0 |
1212 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1213 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1214 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1215 | "stop"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1216 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1217 | == 0TRUE | never evaluated | FALSE | never 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 (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1221 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1222 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1223 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1224 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1225 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1226 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1227 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1228 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1229 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1230 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1231 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1232 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1233 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1234 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1235 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1236 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1237 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1238 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1239 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1240 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1241 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1242 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1243 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1244 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1245 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1246 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1247 | BSDoptargTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1248 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1249 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1250 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1251 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1252 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1253 | "cancel"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1254 | |