OpenCoverage

cat.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/cat.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7static char const *infile;-
8-
9-
10static int input_desc;-
11-
12-
13-
14-
15-
16static char line_buf[20] =-
17 {-
18 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',-
19 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', '0',-
20 '\t', '\0'-
21 };-
22-
23-
24-
25static char *line_num_print = line_buf + 20 - 8;-
26-
27-
28static char *line_num_start = line_buf + 20 - 3;-
29-
30-
31static char *line_num_end = line_buf + 20 - 3;-
32-
33-
34static int newlines2 = 0;-
35-
36void-
37usage (int status)-
38{-
39 if (status !=
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 20 times by 1 test
Evaluated by:
  • cat
3-20
40 0
status != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 20 times by 1 test
Evaluated by:
  • cat
3-20
41 )-
42 do { fprintf (-
43 stderr-
44 , -
45 dcgettext (((void *)0), -
46 "Try '%s --help' for more information.\n"-
47 , 5)-
48 , program_name); }
executed 3 times by 1 test: end of block
Executed by:
  • cat
while (0);
3
49 else-
50 {-
51 printf (-
52 dcgettext (((void *)0), -
53 "Usage: %s [OPTION]... [FILE]...\n"-
54 , 5)-
55-
56 -
57 ,-
58 program_name);-
59 fputs_unlocked (-
60 dcgettext (((void *)0), -
61 "Concatenate FILE(s) to standard output.\n"-
62 , 5)-
63 ,-
64 stdout-
65 )-
66-
67 ;-
68-
69 emit_stdin_note ();-
70-
71 fputs_unlocked (-
72 dcgettext (((void *)0), -
73 "\n -A, --show-all equivalent to -vET\n -b, --number-nonblank number nonempty output lines, overrides -n\n -e equivalent to -vE\n -E, --show-ends display $ at end of each line\n -n, --number number all output lines\n -s, --squeeze-blank suppress repeated empty output lines\n"-
74 , 5)-
75 ,-
76 stdout-
77 )-
78-
79-
80-
81-
82-
83-
84-
85 ;-
86 fputs_unlocked (-
87 dcgettext (((void *)0), -
88 " -t equivalent to -vT\n -T, --show-tabs display TAB characters as ^I\n -u (ignored)\n -v, --show-nonprinting use ^ and M- notation, except for LFD and TAB\n"-
89 , 5)-
90 ,-
91 stdout-
92 )-
93-
94-
95-
96-
97 ;-
98 fputs_unlocked (-
99 dcgettext (((void *)0), -
100 " --help display this help and exit\n"-
101 , 5)-
102 ,-
103 stdout-
104 );-
105 fputs_unlocked (-
106 dcgettext (((void *)0), -
107 " --version output version information and exit\n"-
108 , 5)-
109 ,-
110 stdout-
111 );-
112 printf (-
113 dcgettext (((void *)0), -
114 "\nExamples:\n %s f - g Output f's contents, then standard input, then g's contents.\n %s Copy standard input to standard output.\n"-
115 , 5)-
116-
117-
118-
119-
120 -
121 ,-
122 program_name, program_name);-
123 emit_ancillary_info ("cat");-
124 }
executed 20 times by 1 test: end of block
Executed by:
  • cat
20
125 exit (status);
executed 23 times by 1 test: exit (status);
Executed by:
  • cat
23
126}-
127-
128-
129-
130static void-
131next_line_num (void)-
132{-
133 char *endp = line_num_end;-
134 do-
135 {-
136 if ((*
(*endp)++ < '9'Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
endp)++ < '9'
(*endp)++ < '9'Description
TRUEevaluated 17 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
)
0-17
137 return;
executed 17 times by 1 test: return;
Executed by:
  • cat
17
138 *endp-- = '0';-
139 }
never executed: end of block
0
140 while (endp >= line_num_start
endp >= line_num_startDescription
TRUEnever evaluated
FALSEnever evaluated
);
0
141 if (line_num_start > line_buf
line_num_start > line_bufDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
142 *--
never executed: *--line_num_start = '1';
line_num_start = '1';
never executed: *--line_num_start = '1';
0
143 else-
144 *
never executed: *line_buf = '>';
line_buf = '>';
never executed: *line_buf = '>';
0
145 if (line_num_start < line_num_print
line_num_start...line_num_printDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
146 line_num_print--;
never executed: line_num_print--;
0
147}
never executed: end of block
0
148-
149-
150-
151-
152static -
153 _Bool-
154-
155simple_cat (-
156-
157 char *buf,-
158-
159-
160-
161 size_t bufsize)-
162{-
163-
164 size_t n_read;-
165-
166-
167-
168 while (-
169 1-
170 )-
171 {-
172-
173-
174 n_read = safe_read (input_desc, buf, bufsize);-
175 if (n_read == ((size_t) -1)
n_read == ((size_t) -1)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 5767 times by 1 test
Evaluated by:
  • cat
)
4-5767
176 {-
177 error (0, -
178 (*__errno_location ())-
179 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, infile));-
180 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • cat
executed 4 times by 1 test: return 0 ;
Executed by:
  • cat
4
181 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • cat
4
182 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • cat
4
183 }-
184-
185-
186-
187 if (n_read == 0
n_read == 0Description
TRUEevaluated 2421 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 3346 times by 1 test
Evaluated by:
  • cat
)
2421-3346
188 return
executed 2421 times by 1 test: return 1 ;
Executed by:
  • cat
executed 2421 times by 1 test: return 1 ;
Executed by:
  • cat
2421
189 1
executed 2421 times by 1 test: return 1 ;
Executed by:
  • cat
2421
190 ;
executed 2421 times by 1 test: return 1 ;
Executed by:
  • cat
2421
191-
192-
193-
194 {-
195-
196 size_t n = n_read;-
197 if (full_write (
full_write ( 1 , buf, n) != nDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 3345 times by 1 test
Evaluated by:
  • cat
1-3345
198 1
full_write ( 1 , buf, n) != nDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 3345 times by 1 test
Evaluated by:
  • cat
1-3345
199 , buf, n) != n
full_write ( 1 , buf, n) != nDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 3345 times by 1 test
Evaluated by:
  • cat
)
1-3345
200 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
201 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
202 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
203 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
204 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
205 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
206 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
207 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
208 "write error"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
209 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
210 ), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
211 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
212 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
213 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
214 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
215 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
216 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
217 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
218 "write error"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
219 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
220 ), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
221 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
222 ) ? (void) 0 : __builtin_unreachable ()))));
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
223 }-
224 }
executed 3345 times by 1 test: end of block
Executed by:
  • cat
3345
225}
never executed: end of block
0
226-
227-
228-
229-
230-
231static inline void-
232write_pending (char *outbuf, char **bpout)-
233{-
234 size_t n_write = *bpout - outbuf;-
235 if (0 < n_write
0 < n_writeDescription
TRUEevaluated 13 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 11 times by 1 test
Evaluated by:
  • cat
)
11-13
236 {-
237 if (full_write (
full_write ( 1...te) != n_writeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 12 times by 1 test
Evaluated by:
  • cat
1-12
238 1
full_write ( 1...te) != n_writeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 12 times by 1 test
Evaluated by:
  • cat
1-12
239 , outbuf, n_write) != n_write
full_write ( 1...te) != n_writeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 12 times by 1 test
Evaluated by:
  • cat
)
1-12
240 ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
!!sizeof (struct { _Static_assert (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
241 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
242 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
243 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
244 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
245 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
246 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
247 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
248 "write error"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
249 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
250 ), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
251 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
252 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
253 1
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
254 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
255 (*__errno_location ())
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
256 ,
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
257 dcgettext (((void *)0),
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
258 "write error"
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
259 , 5)
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
260 ), ((
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
261 0
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
262 ) ? (void) 0 : __builtin_unreachable ()))));
executed 1 time by 1 test: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
Executed by:
  • cat
1
263 *bpout = outbuf;-
264 }
executed 12 times by 1 test: end of block
Executed by:
  • cat
12
265}
executed 23 times by 1 test: end of block
Executed by:
  • cat
23
266static -
267 _Bool-
268-
269cat (-
270-
271 char *inbuf,-
272-
273-
274 size_t insize,-
275-
276-
277 char *outbuf,-
278-
279-
280 size_t outsize,-
281-
282-
283 -
284 _Bool -
285 show_nonprinting,-
286 -
287 _Bool -
288 show_tabs,-
289 -
290 _Bool -
291 number,-
292 -
293 _Bool -
294 number_nonblank,-
295 -
296 _Bool -
297 show_ends,-
298 -
299 _Bool -
300 squeeze_blank)-
301{-
302-
303 unsigned char ch;-
304-
305-
306 char *bpin;-
307-
308-
309-
310 char *eob;-
311-
312-
313 char *bpout;-
314-
315-
316 size_t n_read;-
317-
318-
319-
320-
321-
322-
323 int newlines = newlines2;-
324-
325-
326-
327-
328 -
329 _Bool -
330 use_fionread = -
331 1-
332 ;-
333-
334-
335-
336-
337-
338 eob = inbuf;-
339 bpin = eob + 1;-
340-
341 bpout = outbuf;-
342-
343 while (-
344 1-
345 )-
346 {-
347 do-
348 {-
349-
350-
351 if (outbuf + outsize <= bpout
outbuf + outsize <= bpoutDescription
TRUEnever evaluated
FALSEevaluated 181 times by 1 test
Evaluated by:
  • cat
)
0-181
352 {-
353 char *wp = outbuf;-
354 size_t remaining_bytes;-
355 do-
356 {-
357 if (full_write (
full_write ( 1...ze) != outsizeDescription
TRUEnever evaluated
FALSEnever evaluated
0
358 1
full_write ( 1...ze) != outsizeDescription
TRUEnever evaluated
FALSEnever evaluated
0
359 , wp, outsize) != outsize
full_write ( 1...ze) != outsizeDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
360 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 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), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
361 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
362 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
363 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
364 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
365 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
366 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
367 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
368 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
369 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
370 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
371 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
372 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
373 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
374 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
375 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
376 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
377 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
378 "write error"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
379 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
380 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
381 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
382 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"write error\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "write error" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
383 wp += outsize;-
384 remaining_bytes = bpout - wp;-
385 }
never executed: end of block
0
386 while (outsize <= remaining_bytes
outsize <= remaining_bytesDescription
TRUEnever evaluated
FALSEnever evaluated
);
0
387-
388-
389-
390-
391 memmove (outbuf, wp, remaining_bytes);-
392 bpout = outbuf + remaining_bytes;-
393 }
never executed: end of block
0
394-
395-
396-
397 if (bpin > eob
bpin > eobDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 156 times by 1 test
Evaluated by:
  • cat
)
25-156
398 {-
399 -
400 _Bool -
401 input_pending = -
402 0-
403 ;-
404-
405 int n_to_read = 0;-
406-
407-
408-
409-
410-
411 if (use_fionread
use_fionreadDescription
TRUEevaluated 25 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
0-25
412 && ioctl (input_desc,
ioctl (input_d...n_to_read) < 0Description
TRUEnever evaluated
FALSEevaluated 25 times by 1 test
Evaluated by:
  • cat
0-25
413 0x541B
ioctl (input_d...n_to_read) < 0Description
TRUEnever evaluated
FALSEevaluated 25 times by 1 test
Evaluated by:
  • cat
0-25
414 , &n_to_read) < 0
ioctl (input_d...n_to_read) < 0Description
TRUEnever evaluated
FALSEevaluated 25 times by 1 test
Evaluated by:
  • cat
)
0-25
415 {-
416-
417-
418-
419-
420-
421-
422 if (-
423 (*
(*__errno_location ()) == 95Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 95Description
TRUEnever evaluated
FALSEnever evaluated
0
424 ==
(*__errno_location ()) == 95Description
TRUEnever evaluated
FALSEnever evaluated
0
425 95
(*__errno_location ()) == 95Description
TRUEnever evaluated
FALSEnever evaluated
0
426 || -
427 (*
(*__errno_location ()) == 25Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 25Description
TRUEnever evaluated
FALSEnever evaluated
0
428 ==
(*__errno_location ()) == 25Description
TRUEnever evaluated
FALSEnever evaluated
0
429 25
(*__errno_location ()) == 25Description
TRUEnever evaluated
FALSEnever evaluated
0
430 -
431 || -
432 (*
(*__errno_location ()) == 22Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 22Description
TRUEnever evaluated
FALSEnever evaluated
0
433 ==
(*__errno_location ()) == 22Description
TRUEnever evaluated
FALSEnever evaluated
0
434 22
(*__errno_location ()) == 22Description
TRUEnever evaluated
FALSEnever evaluated
0
435 || -
436 (*
(*__errno_location ()) == 19Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 19Description
TRUEnever evaluated
FALSEnever evaluated
0
437 ==
(*__errno_location ()) == 19Description
TRUEnever evaluated
FALSEnever evaluated
0
438 19
(*__errno_location ()) == 19Description
TRUEnever evaluated
FALSEnever evaluated
0
439 -
440 || -
441 (*
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEnever evaluated
0
442 ==
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEnever evaluated
0
443 38
(*__errno_location ()) == 38Description
TRUEnever evaluated
FALSEnever evaluated
0
444 )-
445 use_fionread =
never executed: use_fionread = 0 ;
0
446 0
never executed: use_fionread = 0 ;
0
447 ;
never executed: use_fionread = 0 ;
0
448 else-
449 {-
450 error (0, -
451 (*__errno_location ())-
452 , -
453 dcgettext (((void *)0), -
454 "cannot do ioctl on %s"-
455 , 5)-
456 ,-
457 quotearg_style (shell_escape_always_quoting_style, infile));-
458 newlines2 = newlines;-
459 return
never executed: return 0 ;
never executed: return 0 ;
0
460 0
never executed: return 0 ;
0
461 ;
never executed: return 0 ;
0
462 }-
463 }-
464 if (n_to_read != 0
n_to_read != 0Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 13 times by 1 test
Evaluated by:
  • cat
)
12-13
465 input_pending =
executed 12 times by 1 test: input_pending = 1 ;
Executed by:
  • cat
12
466 1
executed 12 times by 1 test: input_pending = 1 ;
Executed by:
  • cat
12
467 ;
executed 12 times by 1 test: input_pending = 1 ;
Executed by:
  • cat
12
468-
469-
470 if (!input_pending
!input_pendingDescription
TRUEevaluated 13 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 12 times by 1 test
Evaluated by:
  • cat
)
12-13
471 write_pending (outbuf, &bpout);
executed 13 times by 1 test: write_pending (outbuf, &bpout);
Executed by:
  • cat
13
472-
473-
474-
475 n_read = safe_read (input_desc, inbuf, insize);-
476 if (n_read == ((size_t) -1)
n_read == ((size_t) -1)Description
TRUEnever evaluated
FALSEevaluated 24 times by 1 test
Evaluated by:
  • cat
)
0-24
477 {-
478 error (0, -
479 (*__errno_location ())-
480 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, infile));-
481 write_pending (outbuf, &bpout);-
482 newlines2 = newlines;-
483 return
never executed: return 0 ;
never executed: return 0 ;
0
484 0
never executed: return 0 ;
0
485 ;
never executed: return 0 ;
0
486 }-
487 if (n_read == 0
n_read == 0Description
TRUEevaluated 11 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 13 times by 1 test
Evaluated by:
  • cat
)
11-13
488 {-
489 write_pending (outbuf, &bpout);-
490 newlines2 = newlines;-
491 return
executed 11 times by 1 test: return 1 ;
Executed by:
  • cat
executed 11 times by 1 test: return 1 ;
Executed by:
  • cat
11
492 1
executed 11 times by 1 test: return 1 ;
Executed by:
  • cat
11
493 ;
executed 11 times by 1 test: return 1 ;
Executed by:
  • cat
11
494 }-
495-
496-
497-
498-
499 bpin = inbuf;-
500 eob = bpin + n_read;-
501 *eob = '\n';-
502 }
executed 13 times by 1 test: end of block
Executed by:
  • cat
13
503 else-
504 {-
505-
506-
507-
508-
509-
510 if (++
++newlines > 0Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 147 times by 1 test
Evaluated by:
  • cat
newlines > 0
++newlines > 0Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 147 times by 1 test
Evaluated by:
  • cat
)
9-147
511 {-
512 if (newlines >= 2
newlines >= 2Description
TRUEnever evaluated
FALSEevaluated 9 times by 1 test
Evaluated by:
  • cat
)
0-9
513 {-
514-
515-
516-
517 newlines = 2;-
518-
519-
520-
521-
522 if (squeeze_blank
squeeze_blankDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
523 {-
524 ch = *bpin++;-
525 continue;
never executed: continue;
0
526 }-
527 }
never executed: end of block
0
528-
529-
530-
531 if (number
numberDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 4 times by 1 test
Evaluated by:
  • cat
&& !number_nonblank
!number_nonblankDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
)
0-5
532 {-
533 next_line_num ();-
534 bpout = stpcpy (bpout, line_num_print);-
535 }
executed 5 times by 1 test: end of block
Executed by:
  • cat
5
536 }
executed 9 times by 1 test: end of block
Executed by:
  • cat
9
537-
538-
539-
540 if (show_ends
show_endsDescription
TRUEevaluated 137 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 19 times by 1 test
Evaluated by:
  • cat
)
19-137
541 *
executed 137 times by 1 test: *bpout++ = '$';
Executed by:
  • cat
bpout++ = '$';
executed 137 times by 1 test: *bpout++ = '$';
Executed by:
  • cat
137
542-
543-
544-
545 *bpout++ = '\n';-
546 }
executed 156 times by 1 test: end of block
Executed by:
  • cat
156
547 ch = *bpin++;-
548 }
executed 169 times by 1 test: end of block
Executed by:
  • cat
169
549 while (ch == '\n'
ch == '\n'Description
TRUEevaluated 22 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 147 times by 1 test
Evaluated by:
  • cat
);
22-147
550-
551-
552-
553 if (newlines >= 0
newlines >= 0Description
TRUEevaluated 147 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
&& number
numberDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 135 times by 1 test
Evaluated by:
  • cat
)
0-147
554 {-
555 next_line_num ();-
556 bpout = stpcpy (bpout, line_num_print);-
557 }
executed 12 times by 1 test: end of block
Executed by:
  • cat
12
558 if (show_nonprinting
show_nonprintingDescription
TRUEevaluated 31 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 116 times by 1 test
Evaluated by:
  • cat
)
31-116
559 {-
560 while (-
561 1-
562 )-
563 {-
564 if (ch >= 32
ch >= 32Description
TRUEevaluated 531 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 114 times by 1 test
Evaluated by:
  • cat
)
114-531
565 {-
566 if (ch < 127
ch < 127Description
TRUEevaluated 531 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
)
0-531
567 *
executed 531 times by 1 test: *bpout++ = ch;
Executed by:
  • cat
bpout++ = ch;
executed 531 times by 1 test: *bpout++ = ch;
Executed by:
  • cat
531
568 else if (ch == 127
ch == 127Description
TRUEnever evaluated
FALSEnever evaluated
)
0
569 {-
570 *bpout++ = '^';-
571 *bpout++ = '?';-
572 }
never executed: end of block
0
573 else-
574 {-
575 *bpout++ = 'M';-
576 *bpout++ = '-';-
577 if (ch >= 128 + 32
ch >= 128 + 32Description
TRUEnever evaluated
FALSEnever evaluated
)
0
578 {-
579 if (ch < 128 + 127
ch < 128 + 127Description
TRUEnever evaluated
FALSEnever evaluated
)
0
580 *
never executed: *bpout++ = ch - 128;
bpout++ = ch - 128;
never executed: *bpout++ = ch - 128;
0
581 else-
582 {-
583 *bpout++ = '^';-
584 *bpout++ = '?';-
585 }
never executed: end of block
0
586 }-
587 else-
588 {-
589 *bpout++ = '^';-
590 *bpout++ = ch - 128 + 64;-
591 }
never executed: end of block
0
592 }-
593 }-
594 else if (ch == '\t'
ch == '\t'Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 113 times by 1 test
Evaluated by:
  • cat
&& !show_tabs
!show_tabsDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • cat
)
0-113
595 *
never executed: *bpout++ = '\t';
bpout++ = '\t';
never executed: *bpout++ = '\t';
0
596 else if (ch == '\n'
ch == '\n'Description
TRUEevaluated 31 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 83 times by 1 test
Evaluated by:
  • cat
)
31-83
597 {-
598 newlines = -1;-
599 break;
executed 31 times by 1 test: break;
Executed by:
  • cat
31
600 }-
601 else-
602 {-
603 *bpout++ = '^';-
604 *bpout++ = ch + 64;-
605 }
executed 83 times by 1 test: end of block
Executed by:
  • cat
83
606-
607 ch = *bpin++;-
608 }
executed 614 times by 1 test: end of block
Executed by:
  • cat
614
609 }
executed 31 times by 1 test: end of block
Executed by:
  • cat
31
610 else-
611 {-
612-
613 while (-
614 1-
615 )-
616 {-
617 if (ch == '\t'
ch == '\t'Description
TRUEevaluated 132 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2962 times by 1 test
Evaluated by:
  • cat
&& show_tabs
show_tabsDescription
TRUEnever evaluated
FALSEevaluated 132 times by 1 test
Evaluated by:
  • cat
)
0-2962
618 {-
619 *bpout++ = '^';-
620 *bpout++ = ch + 64;-
621 }
never executed: end of block
0
622 else if (ch != '\n'
ch != '\n'Description
TRUEevaluated 2978 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 116 times by 1 test
Evaluated by:
  • cat
)
116-2978
623 *
executed 2978 times by 1 test: *bpout++ = ch;
Executed by:
  • cat
bpout++ = ch;
executed 2978 times by 1 test: *bpout++ = ch;
Executed by:
  • cat
2978
624 else-
625 {-
626 newlines = -1;-
627 break;
executed 116 times by 1 test: break;
Executed by:
  • cat
116
628 }-
629-
630 ch = *bpin++;-
631 }
executed 2978 times by 1 test: end of block
Executed by:
  • cat
2978
632 }
executed 116 times by 1 test: end of block
Executed by:
  • cat
116
633 }-
634}
never executed: end of block
0
635-
636int-
637main (int argc, char **argv)-
638{-
639-
640 size_t outsize;-
641-
642-
643 size_t insize;-
644-
645 size_t page_size = getpagesize ();-
646-
647-
648 char *inbuf;-
649-
650-
651 char *outbuf;-
652-
653 -
654 _Bool -
655 ok = -
656 1-
657 ;-
658 int c;-
659-
660-
661 int argind;-
662-
663-
664 dev_t out_dev;-
665-
666-
667 ino_t out_ino;-
668-
669-
670 -
671 _Bool -
672 out_isreg;-
673-
674-
675 -
676 _Bool -
677 have_read_stdin = -
678 0-
679 ;-
680-
681 struct stat stat_buf;-
682-
683-
684 -
685 _Bool -
686 number = -
687 0-
688 ;-
689 -
690 _Bool -
691 number_nonblank = -
692 0-
693 ;-
694 -
695 _Bool -
696 squeeze_blank = -
697 0-
698 ;-
699 -
700 _Bool -
701 show_ends = -
702 0-
703 ;-
704 -
705 _Bool -
706 show_nonprinting = -
707 0-
708 ;-
709 -
710 _Bool -
711 show_tabs = -
712 0-
713 ;-
714 int file_open_mode = -
715 00-
716 ;-
717-
718 static struct option const long_options[] =-
719 {-
720 {"number-nonblank", -
721 0-
722 , -
723 ((void *)0)-
724 , 'b'},-
725 {"number", -
726 0-
727 , -
728 ((void *)0)-
729 , 'n'},-
730 {"squeeze-blank", -
731 0-
732 , -
733 ((void *)0)-
734 , 's'},-
735 {"show-nonprinting", -
736 0-
737 , -
738 ((void *)0)-
739 , 'v'},-
740 {"show-ends", -
741 0-
742 , -
743 ((void *)0)-
744 , 'E'},-
745 {"show-tabs", -
746 0-
747 , -
748 ((void *)0)-
749 , 'T'},-
750 {"show-all", -
751 0-
752 , -
753 ((void *)0)-
754 , 'A'},-
755 {"help", -
756 0-
757 , -
758 ((void *)0)-
759 , GETOPT_HELP_CHAR},-
760 {"version", -
761 0-
762 , -
763 ((void *)0)-
764 , GETOPT_VERSION_CHAR},-
765 {-
766 ((void *)0)-
767 , 0, -
768 ((void *)0)-
769 , 0}-
770 };-
771-
772 ;-
773 set_program_name (argv[0]);-
774 setlocale (-
775 6-
776 , "");-
777 bindtextdomain ("coreutils", "/usr/local/share/locale");-
778 textdomain ("coreutils");-
779-
780-
781-
782-
783-
784 atexit (close_stdout);-
785-
786-
787-
788 while ((
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
c = getopt_long (argc, argv, "benstuvAET", long_options,
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
58-1908
789 ((void *)0)
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
58-1908
790 ))
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
58-1908
791 != -1
(c = getopt_lo... *)0) )) != -1Description
TRUEevaluated 58 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
)
58-1908
792 {-
793 switch (c)-
794 {-
795 case
executed 2 times by 1 test: case 'b':
Executed by:
  • cat
'b':
executed 2 times by 1 test: case 'b':
Executed by:
  • cat
2
796 number = -
797 1-
798 ;-
799 number_nonblank = -
800 1-
801 ;-
802 break;
executed 2 times by 1 test: break;
Executed by:
  • cat
2
803-
804 case
executed 1 time by 1 test: case 'e':
Executed by:
  • cat
'e':
executed 1 time by 1 test: case 'e':
Executed by:
  • cat
1
805 show_ends = -
806 1-
807 ;-
808 show_nonprinting = -
809 1-
810 ;-
811 break;
executed 1 time by 1 test: break;
Executed by:
  • cat
1
812-
813 case
executed 7 times by 1 test: case 'n':
Executed by:
  • cat
'n':
executed 7 times by 1 test: case 'n':
Executed by:
  • cat
7
814 number = -
815 1-
816 ;-
817 break;
executed 7 times by 1 test: break;
Executed by:
  • cat
7
818-
819 case
executed 2 times by 1 test: case 's':
Executed by:
  • cat
's':
executed 2 times by 1 test: case 's':
Executed by:
  • cat
2
820 squeeze_blank = -
821 1-
822 ;-
823 break;
executed 2 times by 1 test: break;
Executed by:
  • cat
2
824-
825 case
executed 1 time by 1 test: case 't':
Executed by:
  • cat
't':
executed 1 time by 1 test: case 't':
Executed by:
  • cat
1
826 show_tabs = -
827 1-
828 ;-
829 show_nonprinting = -
830 1-
831 ;-
832 break;
executed 1 time by 1 test: break;
Executed by:
  • cat
1
833-
834 case
executed 1 time by 1 test: case 'u':
Executed by:
  • cat
'u':
executed 1 time by 1 test: case 'u':
Executed by:
  • cat
1
835-
836 break;
executed 1 time by 1 test: break;
Executed by:
  • cat
1
837-
838 case
executed 3 times by 1 test: case 'v':
Executed by:
  • cat
'v':
executed 3 times by 1 test: case 'v':
Executed by:
  • cat
3
839 show_nonprinting = -
840 1-
841 ;-
842 break;
executed 3 times by 1 test: break;
Executed by:
  • cat
3
843-
844 case
executed 7 times by 1 test: case 'A':
Executed by:
  • cat
'A':
executed 7 times by 1 test: case 'A':
Executed by:
  • cat
7
845 show_nonprinting = -
846 1-
847 ;-
848 show_ends = -
849 1-
850 ;-
851 show_tabs = -
852 1-
853 ;-
854 break;
executed 7 times by 1 test: break;
Executed by:
  • cat
7
855-
856 case
executed 3 times by 1 test: case 'E':
Executed by:
  • cat
'E':
executed 3 times by 1 test: case 'E':
Executed by:
  • cat
3
857 show_ends = -
858 1-
859 ;-
860 break;
executed 3 times by 1 test: break;
Executed by:
  • cat
3
861-
862 case
executed 2 times by 1 test: case 'T':
Executed by:
  • cat
'T':
executed 2 times by 1 test: case 'T':
Executed by:
  • cat
2
863 show_tabs = -
864 1-
865 ;-
866 break;
executed 2 times by 1 test: break;
Executed by:
  • cat
2
867-
868 case
executed 20 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • cat
GETOPT_HELP_CHAR:
executed 20 times by 1 test: case GETOPT_HELP_CHAR:
Executed by:
  • cat
usage (
20
869 0-
870 ); break;
never executed: break;
;
0
871-
872 case
executed 6 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • cat
GETOPT_VERSION_CHAR:
executed 6 times by 1 test: case GETOPT_VERSION_CHAR:
Executed by:
  • cat
version_etc (
6
873 stdout-
874 , "cat", "GNU coreutils", Version, ("Torbjorn Granlund"), ("Richard M. Stallman"), (char *) -
875 ((void *)0)-
876 ); exit (
executed 6 times by 1 test: exit ( 0 );
Executed by:
  • cat
6
877 0
executed 6 times by 1 test: exit ( 0 );
Executed by:
  • cat
6
878 );
executed 6 times by 1 test: exit ( 0 );
Executed by:
  • cat
break;
never executed: break;
;
0-6
879-
880 default
executed 3 times by 1 test: default:
Executed by:
  • cat
:
executed 3 times by 1 test: default:
Executed by:
  • cat
3
881 usage (-
882 1-
883 );-
884 }
never executed: end of block
0
885 }-
886-
887-
888-
889 if (fstat (
fstat ( 1 , &stat_buf) < 0Description
TRUEnever evaluated
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
0-1908
890 1
fstat ( 1 , &stat_buf) < 0Description
TRUEnever evaluated
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
0-1908
891 , &stat_buf) < 0
fstat ( 1 , &stat_buf) < 0Description
TRUEnever evaluated
FALSEevaluated 1908 times by 1 test
Evaluated by:
  • cat
)
0-1908
892 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 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), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
893 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
894 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
895 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
896 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
897 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
898 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
899 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
900 "standard output"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
901 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
902 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
903 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
904 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
905 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
906 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
907 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
908 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
909 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
910 "standard output"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
911 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
912 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
913 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
914 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard output\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard output" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
915-
916 outsize = io_blksize (stat_buf);-
917 out_dev = stat_buf.st_dev;-
918 out_ino = stat_buf.st_ino;-
919 out_isreg = -
920 ((((-
921 stat_buf.st_mode-
922 )) & 0170000) == (0100000)) -
923 != 0;-
924-
925 if (! (number
numberDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1903 times by 1 test
Evaluated by:
  • cat
|| show_ends
show_endsDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1897 times by 1 test
Evaluated by:
  • cat
|| squeeze_blank
squeeze_blankDescription
TRUEnever evaluated
FALSEevaluated 1897 times by 1 test
Evaluated by:
  • cat
))
0-1903
926 {-
927 file_open_mode |= -
928 0-
929 ;-
930 xset_binary_mode (-
931 1-
932 , -
933 0-
934 );-
935 }
executed 1897 times by 1 test: end of block
Executed by:
  • cat
1897
936-
937-
938-
939-
940-
941 infile = "-";-
942 argind = optind;-
943-
944 do-
945 {-
946 if (argind < argc
argind < argcDescription
TRUEevaluated 2231 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
)
210-2231
947 infile = argv[argind];
executed 2231 times by 1 test: infile = argv[argind];
Executed by:
  • cat
2231
948-
949 if ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
950 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
951 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
952 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
953 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
954 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
955 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
956 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
957 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
958 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
959 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
960 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
961 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
962 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
963 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
964 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
965 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
966 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
967 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
968 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
969 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
970 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
971 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
972 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
973 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
974 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
975 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
976 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
977 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
978 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
979 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
980 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
981 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
982 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
983 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
984 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
985 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
986 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
987 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
988 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
989 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
990 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
991 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
992 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
993 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
994 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
995 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
996 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( infile ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
997 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( infile ))[3] - __s2[3]);
0-2230
998 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( infile ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
999 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1000 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1001 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1002 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1003 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1004 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1005 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1006 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1007 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1008 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1009 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1010 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1011 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1012 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1013 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1014 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1015 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1016 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1017 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1018 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1019 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1020 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 2441 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2441
1021 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1022 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 211 times by 1 test
Evaluated by:
  • cat
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
1023 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1024 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
1025 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-2230
1026 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
0-2230
1027 infile
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1028 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1029 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1030 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
211-2230
1031 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 211 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2230 times by 1 test
Evaluated by:
  • cat
)
211-2230
1032 {-
1033 have_read_stdin = -
1034 1-
1035 ;-
1036 input_desc = -
1037 0-
1038 ;-
1039 if (file_open_mode &
file_open_mode & 0Description
TRUEnever evaluated
FALSEevaluated 211 times by 1 test
Evaluated by:
  • cat
0-211
1040 0
file_open_mode & 0Description
TRUEnever evaluated
FALSEevaluated 211 times by 1 test
Evaluated by:
  • cat
0-211
1041 )-
1042 xset_binary_mode (
never executed: xset_binary_mode ( 0 , 0 );
0
1043 0
never executed: xset_binary_mode ( 0 , 0 );
0
1044 ,
never executed: xset_binary_mode ( 0 , 0 );
0
1045 0
never executed: xset_binary_mode ( 0 , 0 );
0
1046 );
never executed: xset_binary_mode ( 0 , 0 );
0
1047 }
executed 211 times by 1 test: end of block
Executed by:
  • cat
211
1048 else-
1049 {-
1050 input_desc = open (infile, file_open_mode);-
1051 if (input_desc < 0
input_desc < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2228 times by 1 test
Evaluated by:
  • cat
)
2-2228
1052 {-
1053 error (0, -
1054 (*__errno_location ())-
1055 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, infile));-
1056 ok = -
1057 0-
1058 ;-
1059 continue;
executed 2 times by 1 test: continue;
Executed by:
  • cat
2
1060 }-
1061 }
executed 2228 times by 1 test: end of block
Executed by:
  • cat
2228
1062-
1063 if (fstat (input_desc, &stat_buf) < 0
fstat (input_d...&stat_buf) < 0Description
TRUEnever evaluated
FALSEevaluated 2439 times by 1 test
Evaluated by:
  • cat
)
0-2439
1064 {-
1065 error (0, -
1066 (*__errno_location ())-
1067 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, infile));-
1068 ok = -
1069 0-
1070 ;-
1071 goto
never executed: goto contin;
contin;
never executed: goto contin;
0
1072 }-
1073 insize = io_blksize (stat_buf);-
1074-
1075 fdadvise (input_desc, 0, 0, FADVISE_SEQUENTIAL);-
1076-
1077-
1078-
1079-
1080-
1081 if (out_isreg
out_isregDescription
TRUEevaluated 1171 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1268 times by 1 test
Evaluated by:
  • cat
1171-1268
1082 && stat_buf.st_dev == out_dev
stat_buf.st_dev == out_devDescription
TRUEevaluated 1167 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 4 times by 1 test
Evaluated by:
  • cat
&& stat_buf.st_ino == out_ino
stat_buf.st_ino == out_inoDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1165 times by 1 test
Evaluated by:
  • cat
2-1167
1083 && lseek (input_desc, 0,
lseek (input_d...at_buf.st_sizeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 1 time by 1 test
Evaluated by:
  • cat
1
1084 1
lseek (input_d...at_buf.st_sizeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 1 time by 1 test
Evaluated by:
  • cat
1
1085 ) < stat_buf.st_size
lseek (input_d...at_buf.st_sizeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 1 time by 1 test
Evaluated by:
  • cat
)
1
1086 {-
1087 error (0, 0, -
1088 dcgettext (((void *)0), -
1089 "%s: input file is output file"-
1090 , 5)-
1091 , quotearg_n_style_colon (0, shell_escape_quoting_style, infile));-
1092 ok = -
1093 0-
1094 ;-
1095 goto
executed 1 time by 1 test: goto contin;
Executed by:
  • cat
contin;
executed 1 time by 1 test: goto contin;
Executed by:
  • cat
1
1096 }-
1097-
1098-
1099-
1100-
1101 if (! (number
numberDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2433 times by 1 test
Evaluated by:
  • cat
|| show_ends
show_endsDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2427 times by 1 test
Evaluated by:
  • cat
|| show_nonprinting
show_nonprintingDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • cat
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
1-2433
1102 || show_tabs
show_tabsDescription
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
|| squeeze_blank
squeeze_blankDescription
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
))
0-2426
1103 {-
1104 insize = -
1105 (((
(( insize )>( outsize ))Description
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
0-2426
1106 insize
(( insize )>( outsize ))Description
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
0-2426
1107 )>(
(( insize )>( outsize ))Description
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
0-2426
1108 outsize
(( insize )>( outsize ))Description
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
0-2426
1109 ))
(( insize )>( outsize ))Description
TRUEnever evaluated
FALSEevaluated 2426 times by 1 test
Evaluated by:
  • cat
?(
0-2426
1110 insize-
1111 ):(-
1112 outsize-
1113 ))-
1114 ;-
1115 inbuf = xmalloc (insize + page_size - 1);-
1116-
1117 ok &= simple_cat (ptr_align (inbuf, page_size), insize);-
1118 }
executed 2425 times by 1 test: end of block
Executed by:
  • cat
2425
1119 else-
1120 {-
1121 inbuf = xmalloc (insize + 1 + page_size - 1);-
1122 outbuf = xmalloc (outsize - 1 + insize * 4 + 20-
1123 + page_size - 1);-
1124-
1125 ok &= cat (ptr_align (inbuf, page_size), insize,-
1126 ptr_align (outbuf, page_size), outsize, show_nonprinting,-
1127 show_tabs, number, number_nonblank, show_ends,-
1128 squeeze_blank);-
1129-
1130 free (outbuf);-
1131 }
executed 11 times by 1 test: end of block
Executed by:
  • cat
11
1132-
1133 free (inbuf);-
1134-
1135 contin:
code before this statement executed 2436 times by 1 test: contin:
Executed by:
  • cat
2436
1136 if (!(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1137 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1138 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1139 ) && __builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1140 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1141 ) && (__s1_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1142 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1143 ), __s2_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1144 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1145 ), (!((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1146 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1147 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1148 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1149 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1150 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1151 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1152 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1153 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1154 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1155 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1156 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1157 ) : (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1158 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1159 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1160 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1161 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1162 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1163 ) == 1) && (__s1_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1164 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1165 ), __s1_len < 4) ? (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1166 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1167 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1168 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1169 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1170 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1171 ) == 1) ? __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1172 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1173 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1174 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1175 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1176 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1177 ); int __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1178 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1179 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1180 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1181 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1182 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1183 ))[2] - __s2[2]); if (__s1_len > 2
__s1_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( infile ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1184 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( infile ))[3] - __s2[3]);
0-2227
1185 ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( infile ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1186 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1187 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1188 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1189 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1190 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1191 ) == 1) && (__s2_len = __builtin_strlen (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1192 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1193 ), __s2_len < 4) ? (__builtin_constant_p (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1194 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1195 ) && ((size_t)(const void *)((
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1196 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1197 ) + 1) - (size_t)(const void *)(
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1198 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1199 ) == 1) ? __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1200 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1201 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1202 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1203 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1204 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1205 ); int __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1206 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1207 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 2437 times by 1 test
Evaluated by:
  • cat
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 210 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 2227 times by 1 test
Evaluated by:
  • cat
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2437
1208 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1209 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1210 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1211 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1212 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-2227
1213 ))[3] - __s2[3]);
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-2227
1214 infile
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1215 ,
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1216 "-"
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1217 )))); })
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
210-2227
1218 == 0)
!( __extension...)))); }) == 0)Description
TRUEevaluated 2227 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
&& close (input_desc) < 0
close (input_desc) < 0Description
TRUEnever evaluated
FALSEevaluated 2227 times by 1 test
Evaluated by:
  • cat
)
0-2227
1219 {-
1220 error (0, -
1221 (*__errno_location ())-
1222 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, infile));-
1223 ok = -
1224 0-
1225 ;-
1226 }
never executed: end of block
0
1227 }
executed 2437 times by 1 test: end of block
Executed by:
  • cat
2437
1228 while (++
++argind < argcDescription
TRUEevaluated 533 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1906 times by 1 test
Evaluated by:
  • cat
argind < argc
++argind < argcDescription
TRUEevaluated 533 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1906 times by 1 test
Evaluated by:
  • cat
);
533-1906
1229-
1230 if (have_read_stdin
have_read_stdinDescription
TRUEevaluated 210 times by 1 test
Evaluated by:
  • cat
FALSEevaluated 1696 times by 1 test
Evaluated by:
  • cat
&& close (
close ( 0 ) < 0Description
TRUEnever evaluated
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-1696
1231 0
close ( 0 ) < 0Description
TRUEnever evaluated
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
0-210
1232 ) < 0
close ( 0 ) < 0Description
TRUEnever evaluated
FALSEevaluated 210 times by 1 test
Evaluated by:
  • cat
)
0-210
1233 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 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), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1234 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1235 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1236 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1237 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1238 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1239 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1240 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1241 "closing standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1242 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1243 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1244 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1245 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1246 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1247 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1248 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1249 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1250 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1251 "closing standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1252 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1253 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1254 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1255 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"closing standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "closing standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1256-
1257 return
executed 1906 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • cat
ok ?
executed 1906 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • cat
1906
1258 0
executed 1906 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • cat
1906
1259 :
executed 1906 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • cat
1906
1260 1
executed 1906 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • cat
1906
1261 ;
executed 1906 times by 1 test: return ok ? 0 : 1 ;
Executed by:
  • cat
1906
1262}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2