Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | extern volatile sig_atomic_t interrupted; | - |
12 | extern int showprogress; | - |
13 | struct sftp_conn { | - |
14 | int fd_in; | - |
15 | int fd_out; | - |
16 | u_int transfer_buflen; | - |
17 | u_int num_requests; | - |
18 | u_int version; | - |
19 | u_int msg_id; | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | u_int exts; | - |
26 | u_int64_t limit_kbps; | - |
27 | struct bwlimit bwlimit_in, bwlimit_out; | - |
28 | }; | - |
29 | | - |
30 | static u_char * | - |
31 | get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, | - |
32 | const char *errfmt, ...) __attribute__((format(printf, 4, 5))); | - |
33 | | - |
34 | | - |
35 | static int | - |
36 | sftpio(void *_bwlimit, size_t amount) | - |
37 | { | - |
38 | struct bwlimit *bwlimit = (struct bwlimit *)_bwlimit; | - |
39 | | - |
40 | bandwidth_limit(bwlimit, amount); | - |
41 | return never executed: return 0; 0;never executed: return 0; | 0 |
42 | } | - |
43 | | - |
44 | static void | - |
45 | send_msg(struct sftp_conn *conn, struct sshbuf *m) | - |
46 | { | - |
47 | u_char mlen[4]; | - |
48 | struct iovec iov[2]; | - |
49 | | - |
50 | if (sshbuf_len(m) > (256 * 1024)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
51 | fatal("Outbound message too long %zu", sshbuf_len(m)); never executed: fatal("Outbound message too long %zu", sshbuf_len(m)); | 0 |
52 | | - |
53 | | - |
54 | put_u32(mlen, sshbuf_len(m)); | - |
55 | iov[0].iov_base = mlen; | - |
56 | iov[0].iov_len = sizeof(mlen); | - |
57 | iov[1].iov_base = (u_char *)sshbuf_ptr(m); | - |
58 | iov[1].iov_len = sshbuf_len(m); | - |
59 | | - |
60 | if (atomiciov6(writev, conn->fd_out, iov, 2,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
61 | conn->limit_kbps > 0 ? sftpio : TRUE | never evaluated | FALSE | never evaluated |
| 0 |
62 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
63 | , &conn->bwlimit_out) !=TRUE | never evaluated | FALSE | never evaluated |
| 0 |
64 | sshbuf_len(m) + sizeof(mlen)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
65 | fatal("Couldn't send packet: %s", strerror( never executed: fatal("Couldn't send packet: %s", strerror( (*__errno_location ()) )); | 0 |
66 | (*__errno_location ()) never executed: fatal("Couldn't send packet: %s", strerror( (*__errno_location ()) )); | 0 |
67 | )); never executed: fatal("Couldn't send packet: %s", strerror( (*__errno_location ()) )); | 0 |
68 | | - |
69 | sshbuf_reset(m); | - |
70 | } never executed: end of block | 0 |
71 | | - |
72 | static void | - |
73 | get_msg_extended(struct sftp_conn *conn, struct sshbuf *m, int initial) | - |
74 | { | - |
75 | u_int msg_len; | - |
76 | u_char *p; | - |
77 | int r; | - |
78 | | - |
79 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_reserve(m, 4, &p)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
80 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
81 | if (atomicio6(read, conn->fd_in, p, 4,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
82 | conn->limit_kbps > 0 ? sftpio : TRUE | never evaluated | FALSE | never evaluated |
| 0 |
83 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
84 | , &conn->bwlimit_in) != 4TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
85 | if ( | - |
86 | (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
87 | == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
88 | 32TRUE | never evaluated | FALSE | never evaluated |
| 0 |
89 | || | - |
90 | (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
91 | == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
92 | 104TRUE | never evaluated | FALSE | never evaluated |
| 0 |
93 | ) | - |
94 | fatal("Connection closed"); never executed: fatal("Connection closed"); | 0 |
95 | else | - |
96 | fatal("Couldn't read packet: %s", strerror( never executed: fatal("Couldn't read packet: %s", strerror( (*__errno_location ()) )); | 0 |
97 | (*__errno_location ()) never executed: fatal("Couldn't read packet: %s", strerror( (*__errno_location ()) )); | 0 |
98 | )); never executed: fatal("Couldn't read packet: %s", strerror( (*__errno_location ()) )); | 0 |
99 | } | - |
100 | | - |
101 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(m, &msg_len)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
102 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
103 | if (msg_len > (256 * 1024)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
104 | do_log2(initial ? SYSLOG_LEVEL_ERROR : SYSLOG_LEVEL_FATAL, | - |
105 | "Received message too long %u", msg_len); | - |
106 | fatal("Ensure the remote shell produces no output " | - |
107 | "for non-interactive sessions."); | - |
108 | } never executed: end of block | 0 |
109 | | - |
110 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_reserve(m, msg_len, &p)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
111 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
112 | if (atomicio6(read, conn->fd_in, p, msg_len,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
113 | conn->limit_kbps > 0 ? sftpio : TRUE | never evaluated | FALSE | never evaluated |
| 0 |
114 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
115 | , &conn->bwlimit_in)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
116 | != msg_lenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
117 | if ( | - |
118 | (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
119 | == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
120 | 32TRUE | never evaluated | FALSE | never evaluated |
| 0 |
121 | ) | - |
122 | fatal("Connection closed"); never executed: fatal("Connection closed"); | 0 |
123 | else | - |
124 | fatal("Read packet: %s", strerror( never executed: fatal("Read packet: %s", strerror( (*__errno_location ()) )); | 0 |
125 | (*__errno_location ()) never executed: fatal("Read packet: %s", strerror( (*__errno_location ()) )); | 0 |
126 | )); never executed: fatal("Read packet: %s", strerror( (*__errno_location ()) )); | 0 |
127 | } | - |
128 | } never executed: end of block | 0 |
129 | | - |
130 | static void | - |
131 | get_msg(struct sftp_conn *conn, struct sshbuf *m) | - |
132 | { | - |
133 | get_msg_extended(conn, m, 0); | - |
134 | } never executed: end of block | 0 |
135 | | - |
136 | static void | - |
137 | send_string_request(struct sftp_conn *conn, u_int id, u_int code, const char *s, | - |
138 | u_int len) | - |
139 | { | - |
140 | struct sshbuf *msg; | - |
141 | int r; | - |
142 | | - |
143 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
144 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
145 | ) | - |
146 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
147 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_u8(msg, code)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
148 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_u32(msg, id)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
149 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_string(msg, s, len)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
150 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
151 | send_msg(conn, msg); | - |
152 | debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); | - |
153 | sshbuf_free(msg); | - |
154 | } never executed: end of block | 0 |
155 | | - |
156 | static void | - |
157 | send_string_attrs_request(struct sftp_conn *conn, u_int id, u_int code, | - |
158 | const void *s, u_int len, Attrib *a) | - |
159 | { | - |
160 | struct sshbuf *msg; | - |
161 | int r; | - |
162 | | - |
163 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
164 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
165 | ) | - |
166 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
167 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_u8(msg, code)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
168 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_u32(msg, id)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
169 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_string(msg, s, len)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
170 | (TRUE | never evaluated | FALSE | never evaluated |
r = encode_attrib(msg, a)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
171 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
172 | send_msg(conn, msg); | - |
173 | debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); | - |
174 | sshbuf_free(msg); | - |
175 | } never executed: end of block | 0 |
176 | | - |
177 | static u_int | - |
178 | get_status(struct sftp_conn *conn, u_int expected_id) | - |
179 | { | - |
180 | struct sshbuf *msg; | - |
181 | u_char type; | - |
182 | u_int id, status; | - |
183 | int r; | - |
184 | | - |
185 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
186 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
187 | ) | - |
188 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
189 | get_msg(conn, msg); | - |
190 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u8(msg, &type)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
191 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &id)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
192 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
193 | | - |
194 | if (id != expected_idTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
195 | fatal("ID mismatch (%u != %u)", id, expected_id); never executed: fatal("ID mismatch (%u != %u)", id, expected_id); | 0 |
196 | if (type != 101TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
197 | fatal("Expected SSH2_FXP_STATUS(%u) packet, got %u", never executed: fatal("Expected SSH2_FXP_STATUS(%u) packet, got %u", 101, type); | 0 |
198 | 101, type); never executed: fatal("Expected SSH2_FXP_STATUS(%u) packet, got %u", 101, type); | 0 |
199 | | - |
200 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &status)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
201 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
202 | sshbuf_free(msg); | - |
203 | | - |
204 | debug3("SSH2_FXP_STATUS %u", status); | - |
205 | | - |
206 | return never executed: return status; status;never executed: return status; | 0 |
207 | } | - |
208 | | - |
209 | static u_char * | - |
210 | get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, | - |
211 | const char *errfmt, ...) | - |
212 | { | - |
213 | struct sshbuf *msg; | - |
214 | u_int id, status; | - |
215 | u_char type; | - |
216 | u_char *handle; | - |
217 | char errmsg[256]; | - |
218 | va_list args; | - |
219 | int r; | - |
220 | | - |
221 | | - |
222 | __builtin_va_start( | - |
223 | args | - |
224 | , | - |
225 | errfmt | - |
226 | ) | - |
227 | ; | - |
228 | if (errfmt != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
229 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
230 | ) | - |
231 | vsnprintf(errmsg, sizeof(errmsg), errfmt, args); never executed: vsnprintf(errmsg, sizeof(errmsg), errfmt, args); | 0 |
232 | | - |
233 | __builtin_va_end( | - |
234 | args | - |
235 | ) | - |
236 | ; | - |
237 | | - |
238 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
239 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
240 | ) | - |
241 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
242 | get_msg(conn, msg); | - |
243 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u8(msg, &type)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
244 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &id)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
245 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
246 | | - |
247 | if (id != expected_idTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
248 | fatal("%s: ID mismatch (%u != %u)", never executed: fatal("%s: ID mismatch (%u != %u)", errfmt == ((void *)0) ? __func__ : errmsg, id, expected_id); | 0 |
249 | errfmt == never executed: fatal("%s: ID mismatch (%u != %u)", errfmt == ((void *)0) ? __func__ : errmsg, id, expected_id); | 0 |
250 | ((void *)0) never executed: fatal("%s: ID mismatch (%u != %u)", errfmt == ((void *)0) ? __func__ : errmsg, id, expected_id); | 0 |
251 | ? __func__ : errmsg, id, expected_id); never executed: fatal("%s: ID mismatch (%u != %u)", errfmt == ((void *)0) ? __func__ : errmsg, id, expected_id); | 0 |
252 | if (type == 101TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
253 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &status)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
254 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
255 | if (errfmt != TRUE | never evaluated | FALSE | never evaluated |
| 0 |
256 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
257 | ) | - |
258 | error("%s: %s", errmsg, fx2txt(status)); never executed: error("%s: %s", errmsg, fx2txt(status)); | 0 |
259 | sshbuf_free(msg); | - |
260 | return never executed: return( ((void *)0) ); (never executed: return( ((void *)0) ); | 0 |
261 | ((void *)0) never executed: return( ((void *)0) ); | 0 |
262 | ); never executed: return( ((void *)0) ); | 0 |
263 | } else if (type != 102TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
264 | fatal("%s: Expected SSH2_FXP_HANDLE(%u) packet, got %u", never executed: fatal("%s: Expected SSH2_FXP_HANDLE(%u) packet, got %u", errfmt == ((void *)0) ? __func__ : errmsg, 102, type); | 0 |
265 | errfmt == never executed: fatal("%s: Expected SSH2_FXP_HANDLE(%u) packet, got %u", errfmt == ((void *)0) ? __func__ : errmsg, 102, type); | 0 |
266 | ((void *)0) never executed: fatal("%s: Expected SSH2_FXP_HANDLE(%u) packet, got %u", errfmt == ((void *)0) ? __func__ : errmsg, 102, type); | 0 |
267 | ? __func__ : errmsg, 102, type); never executed: fatal("%s: Expected SSH2_FXP_HANDLE(%u) packet, got %u", errfmt == ((void *)0) ? __func__ : errmsg, 102, type); | 0 |
268 | | - |
269 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_string(msg, &handle, len)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
270 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
271 | sshbuf_free(msg); | - |
272 | | - |
273 | return never executed: return handle; handle;never executed: return handle; | 0 |
274 | } | - |
275 | | - |
276 | static Attrib * | - |
277 | get_decode_stat(struct sftp_conn *conn, u_int expected_id, int quiet) | - |
278 | { | - |
279 | struct sshbuf *msg; | - |
280 | u_int id; | - |
281 | u_char type; | - |
282 | int r; | - |
283 | static Attrib a; | - |
284 | | - |
285 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
286 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
287 | ) | - |
288 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
289 | get_msg(conn, msg); | - |
290 | | - |
291 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u8(msg, &type)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
292 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &id)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
293 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
294 | | - |
295 | debug3("Received stat reply T:%u I:%u", type, id); | - |
296 | if (id != expected_idTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
297 | fatal("ID mismatch (%u != %u)", id, expected_id); never executed: fatal("ID mismatch (%u != %u)", id, expected_id); | 0 |
298 | if (type == 101TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
299 | u_int status; | - |
300 | | - |
301 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &status)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
302 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
303 | if (quietTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
304 | debug("Couldn't stat remote file: %s", fx2txt(status)); never executed: debug("Couldn't stat remote file: %s", fx2txt(status)); | 0 |
305 | else | - |
306 | error("Couldn't stat remote file: %s", fx2txt(status)); never executed: error("Couldn't stat remote file: %s", fx2txt(status)); | 0 |
307 | sshbuf_free(msg); | - |
308 | return never executed: return( ((void *)0) ); (never executed: return( ((void *)0) ); | 0 |
309 | ((void *)0) never executed: return( ((void *)0) ); | 0 |
310 | ); never executed: return( ((void *)0) ); | 0 |
311 | } else if (type != 105TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
312 | fatal("Expected SSH2_FXP_ATTRS(%u) packet, got %u", | - |
313 | 105, type); | - |
314 | } never executed: end of block | 0 |
315 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = decode_attrib(msg, &a)) != 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
316 | error("%s: couldn't decode attrib: %s", __func__, ssh_err(r)); | - |
317 | sshbuf_free(msg); | - |
318 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
319 | ((void *)0) never executed: return ((void *)0) ; | 0 |
320 | ; never executed: return ((void *)0) ; | 0 |
321 | } | - |
322 | sshbuf_free(msg); | - |
323 | | - |
324 | return never executed: return &a; &a;never executed: return &a; | 0 |
325 | } | - |
326 | | - |
327 | static int | - |
328 | get_decode_statvfs(struct sftp_conn *conn, struct sftp_statvfs *st, | - |
329 | u_int expected_id, int quiet) | - |
330 | { | - |
331 | struct sshbuf *msg; | - |
332 | u_char type; | - |
333 | u_int id; | - |
334 | u_int64_t flag; | - |
335 | int r; | - |
336 | | - |
337 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
338 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
339 | ) | - |
340 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
341 | get_msg(conn, msg); | - |
342 | | - |
343 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u8(msg, &type)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
344 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &id)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
345 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
346 | | - |
347 | debug3("Received statvfs reply T:%u I:%u", type, id); | - |
348 | if (id != expected_idTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
349 | fatal("ID mismatch (%u != %u)", id, expected_id); never executed: fatal("ID mismatch (%u != %u)", id, expected_id); | 0 |
350 | if (type == 101TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
351 | u_int status; | - |
352 | | - |
353 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &status)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
354 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
355 | if (quietTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
356 | debug("Couldn't statvfs: %s", fx2txt(status)); never executed: debug("Couldn't statvfs: %s", fx2txt(status)); | 0 |
357 | else | - |
358 | error("Couldn't statvfs: %s", fx2txt(status)); never executed: error("Couldn't statvfs: %s", fx2txt(status)); | 0 |
359 | sshbuf_free(msg); | - |
360 | return never executed: return -1; -1;never executed: return -1; | 0 |
361 | } else if (type != 201TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
362 | fatal("Expected SSH2_FXP_EXTENDED_REPLY(%u) packet, got %u", | - |
363 | 201, type); | - |
364 | } never executed: end of block | 0 |
365 | | - |
366 | memset(st, 0, sizeof(*st)); | - |
367 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_bsize)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
368 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_frsize)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
369 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_blocks)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
370 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_bfree)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
371 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_bavail)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
372 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_files)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
373 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_ffree)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
374 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_favail)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
375 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_fsid)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
376 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &flag)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
377 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u64(msg, &st->f_namemax)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
378 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
379 | | - |
380 | st->f_flag = (TRUE | never evaluated | FALSE | never evaluated |
flag & 0x00000001)TRUE | never evaluated | FALSE | never evaluated |
? | 0 |
381 | ST_RDONLY | - |
382 | : 0; | - |
383 | st->f_flag |= (TRUE | never evaluated | FALSE | never evaluated |
flag & 0x00000002)TRUE | never evaluated | FALSE | never evaluated |
? | 0 |
384 | ST_NOSUID | - |
385 | : 0; | - |
386 | | - |
387 | sshbuf_free(msg); | - |
388 | | - |
389 | return never executed: return 0; 0;never executed: return 0; | 0 |
390 | } | - |
391 | | - |
392 | struct sftp_conn * | - |
393 | do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, | - |
394 | u_int64_t limit_kbps) | - |
395 | { | - |
396 | u_char type; | - |
397 | struct sshbuf *msg; | - |
398 | struct sftp_conn *ret; | - |
399 | int r; | - |
400 | | - |
401 | ret = xcalloc(1, sizeof(*ret)); | - |
402 | ret->msg_id = 1; | - |
403 | ret->fd_in = fd_in; | - |
404 | ret->fd_out = fd_out; | - |
405 | ret->transfer_buflen = transfer_buflen; | - |
406 | ret->num_requests = num_requests; | - |
407 | ret->exts = 0; | - |
408 | ret->limit_kbps = 0; | - |
409 | | - |
410 | if ((TRUE | never evaluated | FALSE | never evaluated |
msg = sshbuf_new()) == TRUE | never evaluated | FALSE | never evaluated |
| 0 |
411 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
412 | ) | - |
413 | fatal("%s: sshbuf_new failed", __func__); never executed: fatal("%s: sshbuf_new failed", __func__); | 0 |
414 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_u8(msg, 1)) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
415 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_put_u32(msg, 3)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
416 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
417 | send_msg(ret, msg); | - |
418 | | - |
419 | sshbuf_reset(msg); | - |
420 | | - |
421 | get_msg_extended(ret, msg, 1); | - |
422 | | - |
423 | | - |
424 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u8(msg, &type)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
425 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
426 | if (type != 2TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
427 | error("Invalid packet back from SSH2_FXP_INIT (type %u)", | - |
428 | type); | - |
429 | sshbuf_free(msg); | - |
430 | free(ret); | - |
431 | return never executed: return( ((void *)0) ); (never executed: return( ((void *)0) ); | 0 |
432 | ((void *)0) never executed: return( ((void *)0) ); | 0 |
433 | ); never executed: return( ((void *)0) ); | 0 |
434 | } | - |
435 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_u32(msg, &ret->version)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
436 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
437 | | - |
438 | debug2("Remote version: %u", ret->version); | - |
439 | | - |
440 | | - |
441 | while (sshbuf_len(msg) > 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
442 | char *name; | - |
443 | u_char *value; | - |
444 | size_t vlen; | - |
445 | int known = 0; | - |
446 | | - |
447 | if ((TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_cstring(msg, &name, TRUE | never evaluated | FALSE | never evaluated |
| 0 |
448 | ((void *)0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
449 | )) != 0TRUE | never evaluated | FALSE | never evaluated |
|| | 0 |
450 | (TRUE | never evaluated | FALSE | never evaluated |
r = sshbuf_get_string(msg, &value, &vlen)) != 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
451 | fatal("%s: buffer error: %s", __func__, ssh_err(r)); never executed: fatal("%s: buffer error: %s", __func__, ssh_err(r)); | 0 |
452 | if ( | - |
453 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
454 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
455 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
456 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
457 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
458 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
459 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
460 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
461 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
462 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
463 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
464 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
465 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
466 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
467 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
468 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
469 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
470 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
471 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
472 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
473 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
474 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
475 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
476 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
477 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
478 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
479 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
480 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
481 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
482 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
483 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
484 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
485 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
486 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
487 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
488 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
489 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
490 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
491 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
492 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
493 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
494 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
495 | ))[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 |
496 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
497 | ))[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 |
498 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
499 | ))[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 *) ( name ))[3] - __s2[3]); | 0 |
500 | nameTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]); | 0 |
501 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
502 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
503 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
504 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
505 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
506 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
507 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
508 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
509 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
510 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
511 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
512 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
513 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
514 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
515 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
516 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
517 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
518 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
519 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
520 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
521 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
522 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
523 | ))[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 |
524 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
525 | ))[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 |
526 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
527 | ))[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 *) ( "posix-rename@openssh.com" ))[3] - __s2[3]); | 0 |
528 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "posix-rename@openssh.com" ))[3] - __s2[3]); | 0 |
529 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
530 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
531 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
532 | "posix-rename@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
533 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
534 | == 0TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
535 | | - |
536 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
537 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
538 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
539 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
540 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
541 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
542 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
543 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
544 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
545 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
546 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
547 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
548 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
549 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
550 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
551 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
552 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
553 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
554 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
555 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
556 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
557 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
558 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
559 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
560 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
561 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
562 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
563 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
564 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
565 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
566 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
567 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
568 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
569 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
570 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
571 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
572 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
573 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
574 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
575 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
576 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
577 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
578 | ))[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 |
579 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
580 | ))[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 |
581 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
582 | ))[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 *) ( (char *)value ))[3] - __s2[3]); | 0 |
583 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( (char *)value ))[3] - __s2[3]); | 0 |
584 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
585 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
586 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
587 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
588 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
589 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
590 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
591 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
592 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
593 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
594 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
595 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
596 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
597 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
598 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
599 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
600 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
601 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
602 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
603 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
604 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
605 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
606 | ))[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 |
607 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
608 | ))[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 |
609 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
610 | ))[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 *) ( "1" ))[3] - __s2[3]); | 0 |
611 | "1"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "1" ))[3] - __s2[3]); | 0 |
612 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
613 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
614 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
615 | "1"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
616 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
617 | == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
618 | ret->exts |= 0x00000001; | - |
619 | known = 1; | - |
620 | } never executed: end of block else if ( | 0 |
621 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
622 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
623 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
624 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
625 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
626 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
627 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
628 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
629 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
630 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
631 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
632 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
633 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
634 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
635 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
636 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
637 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
638 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
639 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
640 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
641 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
642 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
643 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
644 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
645 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
646 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
647 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
648 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
649 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
650 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
651 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
652 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
653 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
654 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
655 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
656 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
657 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
658 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
659 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
660 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
661 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
662 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
663 | ))[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 |
664 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
665 | ))[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 |
666 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
667 | ))[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 *) ( name ))[3] - __s2[3]); | 0 |
668 | nameTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]); | 0 |
669 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
670 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
671 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
672 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
673 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
674 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
675 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
676 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
677 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
678 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
679 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
680 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
681 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
682 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
683 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
684 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
685 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
686 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
687 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
688 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
689 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
690 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
691 | ))[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 |
692 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
693 | ))[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 |
694 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
695 | ))[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 *) ( "statvfs@openssh.com" ))[3] - __s2[3]); | 0 |
696 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "statvfs@openssh.com" ))[3] - __s2[3]); | 0 |
697 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
698 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
699 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
700 | "statvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
701 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
702 | == 0TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
703 | | - |
704 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
705 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
706 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
707 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
708 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
709 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
710 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
711 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
712 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
713 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
714 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
715 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
716 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
717 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
718 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
719 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
720 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
721 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
722 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
723 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
724 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
725 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
726 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
727 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
728 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
729 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
730 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
731 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
732 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
733 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
734 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
735 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
736 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
737 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
738 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
739 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
740 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
741 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
742 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
743 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
744 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
745 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
746 | ))[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 |
747 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
748 | ))[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 |
749 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
750 | ))[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 *) ( (char *)value ))[3] - __s2[3]); | 0 |
751 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( (char *)value ))[3] - __s2[3]); | 0 |
752 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
753 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
754 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
755 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
756 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
757 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
758 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
759 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
760 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
761 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
762 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
763 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
764 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
765 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
766 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
767 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
768 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
769 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
770 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
771 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
772 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
773 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
774 | ))[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 |
775 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
776 | ))[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 |
777 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
778 | ))[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 *) ( "2" ))[3] - __s2[3]); | 0 |
779 | "2"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "2" ))[3] - __s2[3]); | 0 |
780 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
781 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
782 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
783 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
784 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
785 | == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
786 | ret->exts |= 0x00000002; | - |
787 | known = 1; | - |
788 | } never executed: end of block else if ( | 0 |
789 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
790 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
791 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
792 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
793 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
794 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
795 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
796 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
797 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
798 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
799 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
800 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
801 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
802 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
803 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
804 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
805 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
806 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
807 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
808 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
809 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
810 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
811 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
812 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
813 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
814 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
815 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
816 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
817 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
818 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
819 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
820 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
821 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
822 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
823 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
824 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
825 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
826 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
827 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
828 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
829 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
830 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
831 | ))[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 |
832 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
833 | ))[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 |
834 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
835 | ))[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 *) ( name ))[3] - __s2[3]); | 0 |
836 | nameTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]); | 0 |
837 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
838 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
839 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
840 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
841 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
842 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
843 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
844 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
845 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
846 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
847 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
848 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
849 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
850 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
851 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
852 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
853 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
854 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
855 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
856 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
857 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
858 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
859 | ))[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 |
860 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
861 | ))[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 |
862 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
863 | ))[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 *) ( "fstatvfs@openssh.com" ))[3] - __s2[3]); | 0 |
864 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "fstatvfs@openssh.com" ))[3] - __s2[3]); | 0 |
865 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
866 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
867 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
868 | "fstatvfs@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
869 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
870 | == 0TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
871 | | - |
872 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
873 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
874 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
875 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
876 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
877 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
878 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
879 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
880 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
881 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
882 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
883 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
884 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
885 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
886 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
887 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
888 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
889 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
890 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
891 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
892 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
893 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
894 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
895 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
896 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
897 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
898 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
899 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
900 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
901 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
902 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
903 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
904 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
905 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
906 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
907 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
908 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
909 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
910 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
911 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
912 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
913 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
914 | ))[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 |
915 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
916 | ))[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 |
917 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
918 | ))[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 *) ( (char *)value ))[3] - __s2[3]); | 0 |
919 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( (char *)value ))[3] - __s2[3]); | 0 |
920 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
921 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
922 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
923 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
924 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
925 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
926 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
927 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
928 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
929 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
930 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
931 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
932 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
933 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
934 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
935 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
936 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
937 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
938 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
939 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
940 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
941 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
942 | ))[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 |
943 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
944 | ))[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 |
945 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
946 | ))[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 *) ( "2" ))[3] - __s2[3]); | 0 |
947 | "2"TRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "2" ))[3] - __s2[3]); | 0 |
948 | ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
949 | (char *)valueTRUE | never evaluated | FALSE | never evaluated |
| 0 |
950 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
951 | "2"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
952 | )))); }) TRUE | never evaluated | FALSE | never evaluated |
| 0 |
953 | == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
954 | ret->exts |= 0x00000004; | - |
955 | known = 1; | - |
956 | } never executed: end of block else if ( | 0 |
957 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
958 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
959 | ) && __builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
960 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
961 | ) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
962 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
963 | ), __s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
964 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
965 | ), (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
966 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
967 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
968 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
969 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
970 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
971 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
972 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
973 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
974 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
975 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
976 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
977 | ) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
978 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
979 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
980 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
981 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
982 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
983 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
984 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
985 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
986 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
987 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
988 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
989 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
990 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
991 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
992 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
993 | , TRUE | never evaluated | FALSE | never evaluated |
| 0 |
994 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
995 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
996 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
997 | ); int __result = (((const unsigned char *) (const char *) (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
998 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
999 | ))[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 |
1000 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1001 | ))[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 |
1002 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1003 | ))[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 *) ( name ))[3] - __s2[3]); | 0 |
1004 | nameTRUE | never evaluated | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( name ))[3] - __s2[3]); | 0 |
1005 | ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1006 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1007 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1008 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1009 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1010 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1011 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1012 | "hardlink@openssh.com"TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1013 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1014 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1015 | ) && ((size_t)(const void *)((TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1016 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1017 | ) + 1) - (size_t)(const void *)(TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1018 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1019 | ) == 1) ? __builtin_strcmp (TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1020 | nameTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1021 | , |