OpenCoverage

chown.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/chown.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3static char *reference_file;-
4-
5-
6-
7enum-
8{-
9 DEREFERENCE_OPTION = 0x7f + 1,-
10 FROM_OPTION,-
11 NO_PRESERVE_ROOT,-
12 PRESERVE_ROOT,-
13 REFERENCE_FILE_OPTION-
14};-
15-
16static struct option const long_options[] =-
17{-
18 {"recursive", -
19 0-
20 , -
21 ((void *)0)-
22 , 'R'},-
23 {"changes", -
24 0-
25 , -
26 ((void *)0)-
27 , 'c'},-
28 {"dereference", -
29 0-
30 , -
31 ((void *)0)-
32 , DEREFERENCE_OPTION},-
33 {"from", -
34 1-
35 , -
36 ((void *)0)-
37 , FROM_OPTION},-
38 {"no-dereference", -
39 0-
40 , -
41 ((void *)0)-
42 , 'h'},-
43 {"no-preserve-root", -
44 0-
45 , -
46 ((void *)0)-
47 , NO_PRESERVE_ROOT},-
48 {"preserve-root", -
49 0-
50 , -
51 ((void *)0)-
52 , PRESERVE_ROOT},-
53 {"quiet", -
54 0-
55 , -
56 ((void *)0)-
57 , 'f'},-
58 {"silent", -
59 0-
60 , -
61 ((void *)0)-
62 , 'f'},-
63 {"reference", -
64 1-
65 , -
66 ((void *)0)-
67 , REFERENCE_FILE_OPTION},-
68 {"verbose", -
69 0-
70 , -
71 ((void *)0)-
72 , 'v'},-
73 {"help", -
74 0-
75 , -
76 ((void *)0)-
77 , GETOPT_HELP_CHAR},-
78 {"version", -
79 0-
80 , -
81 ((void *)0)-
82 , GETOPT_VERSION_CHAR},-
83 {-
84 ((void *)0)-
85 , 0, -
86 ((void *)0)-
87 , 0}-
88};-
89-
90void-
91usage (int status)-
92{-
93 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 21 times by 1 test
Evaluated by:
  • chown
3-21
94 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 21 times by 1 test
Evaluated by:
  • chown
3-21
95 )-
96 do { fprintf (-
97 stderr-
98 , -
99 dcgettext (((void *)0), -
100 "Try '%s --help' for more information.\n"-
101 , 5)-
102 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • chown
while (0);
3
103 else-
104 {-
105 printf (-
106 dcgettext (((void *)0), -
107 "Usage: %s [OPTION]... [OWNER][:[GROUP]] FILE...\n or: %s [OPTION]... --reference=RFILE FILE...\n"-
108 , 5)-
109-
110-
111 -
112 ,-
113 program_name, program_name);-
114 fputs_unlocked (-
115 dcgettext (((void *)0), -
116 "Change the owner and/or group of each FILE to OWNER and/or GROUP.\nWith --reference, change the owner and group of each FILE to those of RFILE.\n\n"-
117 , 5)-
118 ,-
119 stdout-
120 )-
121-
122-
123-
124 ;-
125 fputs_unlocked (-
126 dcgettext (((void *)0), -
127 " -c, --changes like verbose but report only when a change is made\n -f, --silent, --quiet suppress most error messages\n -v, --verbose output a diagnostic for every file processed\n"-
128 , 5)-
129 ,-
130 stdout-
131 )-
132-
133-
134-
135 ;-
136 fputs_unlocked (-
137 dcgettext (((void *)0), -
138 " --dereference affect the referent of each symbolic link (this is\n the default), rather than the symbolic link itself\n -h, --no-dereference affect symbolic links instead of any referenced file\n"-
139 , 5)-
140 ,-
141 stdout-
142 )-
143-
144-
145-
146 ;-
147 fputs_unlocked (-
148 dcgettext (((void *)0), -
149 " (useful only on systems that can change the\n ownership of a symlink)\n"-
150 , 5)-
151 ,-
152 stdout-
153 )-
154-
155-
156 ;-
157 fputs_unlocked (-
158 dcgettext (((void *)0), -
159 " --from=CURRENT_OWNER:CURRENT_GROUP\n change the owner and/or group of each file only if\n its current owner and/or group match those specified\n here. Either may be omitted, in which case a match\n is not required for the omitted attribute\n"-
160 , 5)-
161 ,-
162 stdout-
163 )-
164-
165-
166-
167-
168-
169 ;-
170 fputs_unlocked (-
171 dcgettext (((void *)0), -
172 " --no-preserve-root do not treat '/' specially (the default)\n --preserve-root fail to operate recursively on '/'\n"-
173 , 5)-
174 ,-
175 stdout-
176 )-
177-
178-
179 ;-
180 fputs_unlocked (-
181 dcgettext (((void *)0), -
182 " --reference=RFILE use RFILE's owner and group rather than\n specifying OWNER:GROUP values\n"-
183 , 5)-
184 ,-
185 stdout-
186 )-
187-
188-
189 ;-
190 fputs_unlocked (-
191 dcgettext (((void *)0), -
192 " -R, --recursive operate on files and directories recursively\n"-
193 , 5)-
194 ,-
195 stdout-
196 )-
197-
198 ;-
199 fputs_unlocked (-
200 dcgettext (((void *)0), -
201 "\nThe following options modify how a hierarchy is traversed when the -R\noption is also specified. If more than one is specified, only the final\none takes effect.\n\n -H if a command line argument is a symbolic link\n to a directory, traverse it\n -L traverse every symbolic link to a directory\n encountered\n -P do not traverse any symbolic links (default)\n\n"-
202 , 5)-
203 ,-
204 stdout-
205 )-
206 ;-
207 fputs_unlocked (-
208 dcgettext (((void *)0), -
209 " --help display this help and exit\n"-
210 , 5)-
211 ,-
212 stdout-
213 );-
214 fputs_unlocked (-
215 dcgettext (((void *)0), -
216 " --version output version information and exit\n"-
217 , 5)-
218 ,-
219 stdout-
220 );-
221 fputs_unlocked (-
222 dcgettext (((void *)0), -
223 "\nOwner is unchanged if missing. Group is unchanged if missing, but changed\nto login group if implied by a ':' following a symbolic OWNER.\nOWNER and GROUP may be numeric as well as symbolic.\n"-
224 , 5)-
225 ,-
226 stdout-
227 )-
228-
229-
230-
231-
232 ;-
233 printf (-
234 dcgettext (((void *)0), -
235 "\nExamples:\n %s root /u Change the owner of /u to \"root\".\n %s root:staff /u Likewise, but also change its group to \"staff\".\n %s -hR root /u Change the owner of /u and subfiles to \"root\".\n"-
236 , 5)-
237-
238-
239-
240-
241-
242 -
243 ,-
244 program_name, program_name, program_name);-
245 emit_ancillary_info ("chown");-
246 }
executed 21 times by 1 test: end of block
Executed by:
  • chown
21
247 exit (status);
executed 24 times by 1 test: exit (status);
Executed by:
  • chown
24
248}-
249-
250int-
251main (int argc, char **argv)-
252{-
253 -
254 _Bool -
255 preserve_root = -
256 0-
257 ;-
258-
259 uid_t uid = -1;-
260 gid_t gid = -1;-
261-
262-
263-
264 uid_t required_uid = -1;-
265 gid_t required_gid = -1;-
266-
267-
268 int bit_flags = 0x0010;-
269-
270-
271-
272 int dereference = -1;-
273-
274 struct Chown_option chopt;-
275 -
276 _Bool -
277 ok;-
278 int optc;-
279-
280 ;-
281 set_program_name (argv[0]);-
282 setlocale (-
283 6-
284 , "");-
285 bindtextdomain ("coreutils", "/usr/local/share/locale");-
286 textdomain ("coreutils");-
287-
288 atexit (close_stdout);-
289-
290 chopt_init (&chopt);-
291-
292 while ((
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
optc = getopt_long (argc, argv, "HLPRcfhv", long_options,
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
29-69
293 ((void *)0)
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
29-69
294 ))
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
29-69
295 != -1
(optc = getopt... *)0) )) != -1Description
TRUEevaluated 69 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
)
29-69
296 {-
297 switch (optc)-
298 {-
299 case
executed 2 times by 1 test: case 'H':
Executed by:
  • chown
'H':
executed 2 times by 1 test: case 'H':
Executed by:
  • chown
2
300 bit_flags = 0x0001 | 0x0010;-
301 break;
executed 2 times by 1 test: break;
Executed by:
  • chown
2
302-
303 case
executed 2 times by 1 test: case 'L':
Executed by:
  • chown
'L':
executed 2 times by 1 test: case 'L':
Executed by:
  • chown
2
304 bit_flags = 0x0002;-
305 break;
executed 2 times by 1 test: break;
Executed by:
  • chown
2
306-
307 case
executed 1 time by 1 test: case 'P':
Executed by:
  • chown
'P':
executed 1 time by 1 test: case 'P':
Executed by:
  • chown
1
308 bit_flags = 0x0010;-
309 break;
executed 1 time by 1 test: break;
Executed by:
  • chown
1
310-
311 case
executed 4 times by 1 test: case 'h':
Executed by:
  • chown
'h':
executed 4 times by 1 test: case 'h':
Executed by:
  • chown
4
312 dereference = 0;-
313 break;
executed 4 times by 1 test: break;
Executed by:
  • chown
4
314-
315 case
executed 2 times by 1 test: case DEREFERENCE_OPTION:
Executed by:
  • chown
DEREFERENCE_OPTION:
executed 2 times by 1 test: case DEREFERENCE_OPTION:
Executed by:
  • chown
2
316-
317 dereference = 1;-
318 break;
executed 2 times by 1 test: break;
Executed by:
  • chown
2
319-
320 case
executed 1 time by 1 test: case NO_PRESERVE_ROOT:
Executed by:
  • chown
NO_PRESERVE_ROOT:
executed 1 time by 1 test: case NO_PRESERVE_ROOT:
Executed by:
  • chown
1
321 preserve_root = -
322 0-
323 ;-
324 break;
executed 1 time by 1 test: break;
Executed by:
  • chown
1
325-
326 case
executed 4 times by 1 test: case PRESERVE_ROOT:
Executed by:
  • chown
PRESERVE_ROOT:
executed 4 times by 1 test: case PRESERVE_ROOT:
Executed by:
  • chown
4
327 preserve_root = -
328 1-
329 ;-
330 break;
executed 4 times by 1 test: break;
Executed by:
  • chown
4
331-
332 case
executed 1 time by 1 test: case REFERENCE_FILE_OPTION:
Executed by:
  • chown
REFERENCE_FILE_OPTION:
executed 1 time by 1 test: case REFERENCE_FILE_OPTION:
Executed by:
  • chown
1
333 reference_file = optarg;-
334 break;
executed 1 time by 1 test: break;
Executed by:
  • chown
1
335-
336 case
executed 6 times by 1 test: case FROM_OPTION:
Executed by:
  • chown
FROM_OPTION:
executed 6 times by 1 test: case FROM_OPTION:
Executed by:
  • chown
6
337 {-
338 const char *e = parse_user_spec (optarg,-
339 &required_uid, &required_gid,-
340 -
341 ((void *)0)-
342 , -
343 ((void *)0)-
344 );-
345 if (e
eDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • chown
FALSEevaluated 5 times by 1 test
Evaluated by:
  • chown
)
1-5
346 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
347 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
348 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
349 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
350 , 0, "%s: %s", e, quote (optarg)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
351 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
352 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
353 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
354 , 0, "%s: %s", e, quote (optarg)), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
355 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
356 ) ? (void) 0 : __builtin_unreachable ()))));
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (optarg)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (optarg)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
1
357 break;
executed 5 times by 1 test: break;
Executed by:
  • chown
5
358 }-
359-
360 case
executed 5 times by 1 test: case 'R':
Executed by:
  • chown
'R':
executed 5 times by 1 test: case 'R':
Executed by:
  • chown
5
361 chopt.recurse = -
362 1-
363 ;-
364 break;
executed 5 times by 1 test: break;
Executed by:
  • chown
5
365-
366 case
executed 2 times by 1 test: case 'c':
Executed by:
  • chown
'c':
executed 2 times by 1 test: case 'c':
Executed by:
  • chown
2
367 chopt.verbosity = V_changes_only;-
368 break;
executed 2 times by 1 test: break;
Executed by:
  • chown
2
369-
370 case
executed 4 times by 1 test: case 'f':
Executed by:
  • chown
'f':
executed 4 times by 1 test: case 'f':
Executed by:
  • chown
4
371 chopt.force_silent = -
372 1-
373 ;-
374 break;
executed 4 times by 1 test: break;
Executed by:
  • chown
4
375-
376 case
executed 2 times by 1 test: case 'v':
Executed by:
  • chown
'v':
executed 2 times by 1 test: case 'v':
Executed by:
  • chown
2
377 chopt.verbosity = V_high;-
378 break;
executed 2 times by 1 test: break;
Executed by:
  • chown
2
379-
380 case
executed 21 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • chown
GETOPT_HELP_CHAR:
executed 21 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • chown
usage (
21
381 0-
382 ); break;
never executed: break;
;
0
383 case
executed 9 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • chown
GETOPT_VERSION_CHAR:
executed 9 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • chown
version_etc (
9
384 stdout-
385 , "chown", "GNU coreutils", Version, ("David MacKenzie"), ("Jim Meyering"), (char *) -
386 ((void *)0)-
387 ); exit (
executed 9 times by 1 test: exit ( 0 );
Executed by:
  • chown
9
388 0
executed 9 times by 1 test: exit ( 0 );
Executed by:
  • chown
9
389 );
executed 9 times by 1 test: exit ( 0 );
Executed by:
  • chown
break;
never executed: break;
;
0-9
390 default
executed 3 times by 1 test: default:
Executed by:
  • chown
:
executed 3 times by 1 test: default:
Executed by:
  • chown
3
391 usage (-
392 1-
393 );-
394 }
never executed: end of block
0
395 }-
396-
397 if (chopt.recurse
chopt.recurseDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 26 times by 1 test
Evaluated by:
  • chown
)
3-26
398 {-
399 if (bit_flags == 0x0010
bit_flags == 0x0010Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • chown
FALSEevaluated 2 times by 1 test
Evaluated by:
  • chown
)
1-2
400 {-
401 if (dereference == 1
dereference == 1Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • chown
)
0-1
402 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
403 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
404 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
405 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
406 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
407 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
408 "-R --dereference requires either -H or -L"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
409 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
410 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
411 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
412 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
413 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
414 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
415 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
416 "-R --dereference requires either -H or -L"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
417 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
418 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
419 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
420 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
421 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"-R --dereference requires either -H or -L\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "-R --dereference requires either -H or -L" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
422 dereference = 0;-
423 }
executed 1 time by 1 test: end of block
Executed by:
  • chown
1
424 }
executed 3 times by 1 test: end of block
Executed by:
  • chown
3
425 else-
426 {-
427 bit_flags = 0x0010;-
428 }
executed 26 times by 1 test: end of block
Executed by:
  • chown
26
429 chopt.affect_symlink_referent = (dereference != 0);-
430-
431 if (argc - optind < (reference_file ? 1 : 2)
argc - optind ..._file ? 1 : 2)Description
TRUEnever evaluated
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
)
0-29
432 {-
433 if (argc <= optind
argc <= optindDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
434 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
435 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
436 "missing operand"
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
437 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
438 );
never executed: error (0, 0, dcgettext (((void *)0), "missing operand" , 5) );
0
439 else-
440 error (0, 0,
never executed: error (0, 0, dcgettext (((void *)0), "missing operand after %s" , 5) , quote (argv[argc - 1]));
0
441 dcgettext (((void *)0),
never executed: error (0, 0, dcgettext (((void *)0), "missing operand after %s" , 5) , quote (argv[argc - 1]));
0
442 "missing operand after %s"
never executed: error (0, 0, dcgettext (((void *)0), "missing operand after %s" , 5) , quote (argv[argc - 1]));
0
443 , 5)
never executed: error (0, 0, dcgettext (((void *)0), "missing operand after %s" , 5) , quote (argv[argc - 1]));
0
444 , quote (argv[argc - 1]));
never executed: error (0, 0, dcgettext (((void *)0), "missing operand after %s" , 5) , quote (argv[argc - 1]));
0
445 usage (-
446 1-
447 );-
448 }
never executed: end of block
0
449-
450 if (reference_file
reference_fileDescription
TRUEnever evaluated
FALSEevaluated 29 times by 1 test
Evaluated by:
  • chown
)
0-29
451 {-
452 struct stat ref_stats;-
453 if (stat (reference_file, &ref_stats)
stat (referenc...e, &ref_stats)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
454 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
455 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
456 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
457 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
458 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
459 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
460 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
461 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
462 "failed to get attributes of %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
463 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
464 , quotearg_style (shell_escape_always_quoting_style, reference_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
465 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
466 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
467 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
468 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
469 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
470 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
471 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
472 "failed to get attributes of %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
473 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
474 , quotearg_style (shell_escape_always_quoting_style, reference_file)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
475 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
476 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
477 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, reference_file)), assume (false))" ")... : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, reference_file)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
478-
479 uid = ref_stats.st_uid;-
480 gid = ref_stats.st_gid;-
481 chopt.user_name = uid_to_name (ref_stats.st_uid);-
482 chopt.group_name = gid_to_name (ref_stats.st_gid);-
483 }
never executed: end of block
0
484 else-
485 {-
486 const char *e = parse_user_spec (argv[optind], &uid, &gid,-
487 &chopt.user_name, &chopt.group_name);-
488 if (e
eDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 27 times by 1 test
Evaluated by:
  • chown
)
2-27
489 ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
!!sizeof (struct { _Static_assert (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
490 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
491 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
492 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
493 , 0, "%s: %s", e, quote (argv[optind])), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
494 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
495 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
496 1
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
497 , 0, "%s: %s", e, quote (argv[optind])), ((
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
498 0
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
499 ) ? (void) 0 : __builtin_unreachable ()))));
executed 2 times by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, \"%s: %s\", e, quote (argv[optind])), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, "%s: %s", e, quote (argv[optind])), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • chown
2
500-
501-
502-
503-
504 if (!chopt.user_name
!chopt.user_nameDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 15 times by 1 test
Evaluated by:
  • chown
&& chopt.group_name
chopt.group_nameDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 3 times by 1 test
Evaluated by:
  • chown
)
3-15
505 chopt.user_name = bad_cast ("");
executed 9 times by 1 test: chopt.user_name = bad_cast ("");
Executed by:
  • chown
9
506-
507 optind++;-
508 }
executed 27 times by 1 test: end of block
Executed by:
  • chown
27
509-
510 if (chopt.recurse
chopt.recurseDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • chown
FALSEevaluated 24 times by 1 test
Evaluated by:
  • chown
&& preserve_root
preserve_rootDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • chown
FALSEnever evaluated
)
0-24
511 {-
512 static struct dev_ino dev_ino_buf;-
513 chopt.root_dev_ino = get_root_dev_ino (&dev_ino_buf);-
514 if (chopt.root_dev_ino ==
chopt.root_dev...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • chown
0-3
515 ((void *)0)
chopt.root_dev...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • chown
0-3
516 )-
517 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
518 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
519 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
520 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
521 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
522 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
523 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
524 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
525 "failed to get attributes of %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
526 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
527 , quotearg_style (shell_escape_always_quoting_style, "/")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
528 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
529 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
530 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
531 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
532 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
533 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
534 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
535 "failed to get attributes of %s"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
536 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
537 , quotearg_style (shell_escape_always_quoting_style, "/")), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
538 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
539 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
540 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"failed to get attributes of %s\", 5), quotearg_style (shell_escape_always_quoting_style, \"/\")), assume (false))" ")"); int _... ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "failed to get attributes of %s" , 5) , quotearg_style (shell_escape_always_quoting_style, "/")), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
541 }
executed 3 times by 1 test: end of block
Executed by:
  • chown
3
542-
543 bit_flags |= 0x0400;-
544 ok = chown_files (argv + optind, bit_flags,-
545 uid, gid,-
546 required_uid, required_gid, &chopt);-
547-
548 chopt_free (&chopt);-
549-
550 return
executed 27 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • chown
ok ?
executed 27 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • chown
27
551 0
executed 27 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • chown
27
552 :
executed 27 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • chown
27
553 1
executed 27 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • chown
27
554 ;
executed 27 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • chown
27
555}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2