OpenCoverage

md5sum.c #2

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/md5sum.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9static -
10 _Bool -
11 have_read_stdin;-
12-
13-
14static size_t min_digest_line_length;-
15-
16-
17static size_t digest_hex_bytes;-
18-
19-
20-
21static -
22 _Bool -
23 status_only = -
24 0-
25 ;-
26-
27-
28-
29static -
30 _Bool -
31 warn = -
32 0-
33 ;-
34-
35-
36static -
37 _Bool -
38 ignore_missing = -
39 0-
40 ;-
41-
42-
43static -
44 _Bool -
45 quiet = -
46 0-
47 ;-
48-
49-
50-
51static -
52 _Bool -
53 strict = -
54 0-
55 ;-
56-
57-
58static int bsd_reversed = -1;-
59enum-
60{-
61 IGNORE_MISSING_OPTION = 0x7f + 1,-
62 STATUS_OPTION,-
63 QUIET_OPTION,-
64 STRICT_OPTION,-
65 TAG_OPTION-
66};-
67-
68static struct option const long_options[] =-
69{-
70-
71-
72-
73 { "binary", -
74 0-
75 , -
76 ((void *)0)-
77 , 'b' },-
78 { "check", -
79 0-
80 , -
81 ((void *)0)-
82 , 'c' },-
83 { "ignore-missing", -
84 0-
85 , -
86 ((void *)0)-
87 , IGNORE_MISSING_OPTION},-
88 { "quiet", -
89 0-
90 , -
91 ((void *)0)-
92 , QUIET_OPTION },-
93 { "status", -
94 0-
95 , -
96 ((void *)0)-
97 , STATUS_OPTION },-
98 { "text", -
99 0-
100 , -
101 ((void *)0)-
102 , 't' },-
103 { "warn", -
104 0-
105 , -
106 ((void *)0)-
107 , 'w' },-
108 { "strict", -
109 0-
110 , -
111 ((void *)0)-
112 , STRICT_OPTION },-
113 { "tag", -
114 0-
115 , -
116 ((void *)0)-
117 , TAG_OPTION },-
118 { "help", -
119 0-
120 , -
121 ((void *)0)-
122 , GETOPT_HELP_CHAR },-
123 { "version", -
124 0-
125 , -
126 ((void *)0)-
127 , GETOPT_VERSION_CHAR },-
128 { -
129 ((void *)0)-
130 , 0, -
131 ((void *)0)-
132 , 0 }-
133};-
134-
135void-
136usage (int status)-
137{-
138 if (status !=
status != 0Description
TRUEevaluated 24 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 112 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
24-112
139 0
status != 0Description
TRUEevaluated 24 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 112 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
24-112
140 )-
141 do { fprintf (-
142 stderr-
143 , -
144 dcgettext (((void *)0), -
145 "Try '%s --help' for more information.\n"-
146 , 5)-
147 , program_name); }
executed 24 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
while (0);
24
148 else-
149 {-
150 printf (-
151 dcgettext (((void *)0), -
152 "Usage: %s [OPTION]... [FILE]...\nPrint or check %s (%d-bit) checksums.\n"-
153 , 5)-
154-
155-
156 -
157 ,-
158 program_name,-
159 "MD5",-
160 128);-
161-
162 emit_stdin_note ();-
163 if (-
164 0-
165 )-
166 fputs_unlocked (
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
167 dcgettext (((void *)0),
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
168 "\n -b, --binary read in binary mode (default unless reading tty stdin)\n"
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
169 , 5)
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
170 ,
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
171 stdout
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
172 )
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
173-
174-
175 ;
dead code: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode (default unless reading tty stdin)\n" , 5) , stdout ) ;
-
176 else-
177 fputs_unlocked (
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
178 dcgettext (((void *)0),
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
179 "\n -b, --binary read in binary mode\n"
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
180 , 5)
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
181 ,
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
182 stdout
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
183 )
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
184112
185112
186 ;
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), "\n -b, --binary read in binary mode\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
187-
188 printf (-
189 dcgettext (((void *)0), -
190 " -c, --check read %s sums from the FILEs and check them\n"-
191 , 5)-
192 -
193 ,-
194 "MD5");-
195-
196-
197-
198-
199-
200-
201 fputs_unlocked (-
202 dcgettext (((void *)0), -
203 " --tag create a BSD-style checksum\n"-
204 , 5)-
205 ,-
206 stdout-
207 )-
208-
209 ;-
210 if (-
211 0-
212 )-
213 fputs_unlocked (
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
214 dcgettext (((void *)0),
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
215 " -t, --text read in text mode (default if reading tty stdin)\n"
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
216 , 5)
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
217 ,
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
218 stdout
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
219 )
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
220-
221 ;
dead code: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default if reading tty stdin)\n" , 5) , stdout ) ;
-
222 else-
223 fputs_unlocked (
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
224 dcgettext (((void *)0),
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
225 " -t, --text read in text mode (default)\n"
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
226 , 5)
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
227 ,
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
228 stdout
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
229 )
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
230112
231 ;
executed 112 times by 7 tests: fputs_unlocked ( dcgettext (((void *)0), " -t, --text read in text mode (default)\n" , 5) , stdout ) ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
232 fputs_unlocked (-
233 dcgettext (((void *)0), -
234 "\nThe following five options are useful only when verifying checksums:\n --ignore-missing don't fail or report status for missing files\n --quiet don't print OK for each successfully verified file\n --status don't output anything, status code shows success\n --strict exit non-zero for improperly formatted checksum lines\n -w, --warn warn about improperly formatted checksum lines\n\n"-
235 , 5)-
236 ,-
237 stdout-
238 )-
239 ;-
240 fputs_unlocked (-
241 dcgettext (((void *)0), -
242 " --help display this help and exit\n"-
243 , 5)-
244 ,-
245 stdout-
246 );-
247 fputs_unlocked (-
248 dcgettext (((void *)0), -
249 " --version output version information and exit\n"-
250 , 5)-
251 ,-
252 stdout-
253 );-
254 printf (-
255 dcgettext (((void *)0), -
256 "\nThe sums are computed as described in %s. When checking, the input\nshould be a former output of this program. The default mode is to print a\nline with checksum, a space, a character indicating input mode ('*' for binary,\n' ' for text or where binary is insignificant), and name for each FILE.\n"-
257 , 5)-
258-
259-
260-
261-
262 -
263 ,-
264 "RFC 1321");-
265 emit_ancillary_info ("md5sum");-
266 }
executed 112 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
112
267-
268 exit (status);
executed 136 times by 7 tests: exit (status);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
136
269}-
270static char *-
271filename_unescape (char *s, size_t s_len)-
272{-
273 char *dst = s;-
274-
275 for (size_t i = 0; i < s_len
i < s_lenDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
; i++)
3-8
276 {-
277 switch (s[i])-
278 {-
279 case
executed 3 times by 1 test: case '\\':
Executed by:
  • md5sum
'\\':
executed 3 times by 1 test: case '\\':
Executed by:
  • md5sum
3
280 if (i == s_len - 1
i == s_len - 1Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
)
0-3
281 {-
282-
283 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
284 ((void *)0)
never executed: return ((void *)0) ;
0
285 ;
never executed: return ((void *)0) ;
0
286 }-
287 ++i;-
288 switch (s[i])-
289 {-
290 case
executed 1 time by 1 test: case 'n':
Executed by:
  • md5sum
'n':
executed 1 time by 1 test: case 'n':
Executed by:
  • md5sum
1
291 *dst++ = '\n';-
292 break;
executed 1 time by 1 test: break;
Executed by:
  • md5sum
1
293 case
executed 2 times by 1 test: case '\\':
Executed by:
  • md5sum
'\\':
executed 2 times by 1 test: case '\\':
Executed by:
  • md5sum
2
294 *dst++ = '\\';-
295 break;
executed 2 times by 1 test: break;
Executed by:
  • md5sum
2
296 default
never executed: default:
:
never executed: default:
0
297-
298 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
299 ((void *)0)
never executed: return ((void *)0) ;
0
300 ;
never executed: return ((void *)0) ;
0
301 }-
302 break;
executed 3 times by 1 test: break;
Executed by:
  • md5sum
3
303-
304 case
never executed: case '\0':
'\0':
never executed: case '\0':
0
305-
306 return
never executed: return ((void *)0) ;
never executed: return ((void *)0) ;
0
307 ((void *)0)
never executed: return ((void *)0) ;
0
308 ;
never executed: return ((void *)0) ;
0
309-
310 default
executed 5 times by 1 test: default:
Executed by:
  • md5sum
:
executed 5 times by 1 test: default:
Executed by:
  • md5sum
5
311 *dst++ = s[i];-
312 break;
executed 5 times by 1 test: break;
Executed by:
  • md5sum
5
313 }-
314 }-
315 if (dst < s + s_len
dst < s + s_lenDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
)
0-3
316 *
executed 3 times by 1 test: *dst = '\0';
Executed by:
  • md5sum
dst = '\0';
executed 3 times by 1 test: *dst = '\0';
Executed by:
  • md5sum
3
317-
318 return
executed 3 times by 1 test: return s;
Executed by:
  • md5sum
s;
executed 3 times by 1 test: return s;
Executed by:
  • md5sum
3
319}-
320-
321-
322-
323static -
324 _Bool -
325 __attribute__ ((__pure__))-
326hex_digits (unsigned char const *s)-
327{-
328 for (unsigned int i = 0; i < digest_hex_bytes
i < digest_hex_bytesDescription
TRUEevaluated 3682 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 78 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
; i++)
78-3682
329 {-
330 if (!
! ((*__ctype_b...nt) _ISxdigit)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 3680 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
2-3680
331 ((*__ctype_b_loc ())[(int) ((
! ((*__ctype_b...nt) _ISxdigit)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 3680 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
2-3680
332 *s
! ((*__ctype_b...nt) _ISxdigit)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 3680 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
2-3680
333 ))] & (unsigned short int) _ISxdigit)
! ((*__ctype_b...nt) _ISxdigit)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 3680 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
2-3680
334 )-
335 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
336 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
337 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
338 ++s;-
339 }
executed 3680 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
3680
340 return
executed 78 times by 3 tests: return *s == '\0';
Executed by:
  • b2sum
  • md5sum
  • sha1sum
*s == '\0';
executed 78 times by 3 tests: return *s == '\0';
Executed by:
  • b2sum
  • md5sum
  • sha1sum
78
341}-
342-
343-
344-
345-
346-
347static -
348 _Bool-
349-
350bsd_split_3 (char *s, size_t s_len, unsigned char **hex_digest,-
351 char **file_name, -
352 _Bool -
353 escaped_filename)-
354{-
355 size_t i;-
356-
357 if (s_len == 0
s_len == 0Description
TRUEevaluated 4 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
4-37
358 return
executed 4 times by 3 tests: return 0 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
executed 4 times by 3 tests: return 0 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
4
359 0
executed 4 times by 3 tests: return 0 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
4
360 ;
executed 4 times by 3 tests: return 0 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
4
361-
362-
363 i = s_len - 1;-
364 while (i
iDescription
TRUEevaluated 2310 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
&& s[i] != ')'
s[i] != ')'Description
TRUEevaluated 2273 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-2310
365 i--;
executed 2273 times by 3 tests: i--;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
2273
366-
367 if (s[i] != ')'
s[i] != ')'Description
TRUEnever evaluated
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-37
368 return
never executed: return 0 ;
never executed: return 0 ;
0
369 0
never executed: return 0 ;
0
370 ;
never executed: return 0 ;
0
371-
372 *file_name = s;-
373-
374 if (escaped_filename
escaped_filenameDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 34 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
&& filename_unescape (s, i) ==
filename_unesc...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
0-34
375 ((void *)0)
filename_unesc...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
0-3
376 )-
377 return
never executed: return 0 ;
never executed: return 0 ;
0
378 0
never executed: return 0 ;
0
379 ;
never executed: return 0 ;
0
380-
381 s[i++] = '\0';-
382-
383 while (((
(s[i]) == ' 'Description
TRUEevaluated 23 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
s[i]) == ' '
(s[i]) == ' 'Description
TRUEevaluated 23 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
|| (
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
s[i]) == '\t'
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
))
0-37
384 i++;
executed 23 times by 3 tests: i++;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
23
385-
386 if (s[i] != '='
s[i] != '='Description
TRUEnever evaluated
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-37
387 return
never executed: return 0 ;
never executed: return 0 ;
0
388 0
never executed: return 0 ;
0
389 ;
never executed: return 0 ;
0
390-
391 i++;-
392-
393 while (((
(s[i]) == ' 'Description
TRUEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
s[i]) == ' '
(s[i]) == ' 'Description
TRUEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
|| (
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
s[i]) == '\t'
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 37 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
))
0-37
394 i++;
executed 37 times by 3 tests: i++;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
37
395-
396 *hex_digest = (unsigned char *) &s[i];-
397-
398 return
executed 37 times by 3 tests: return hex_digits (*hex_digest);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
hex_digits (*hex_digest);
executed 37 times by 3 tests: return hex_digits (*hex_digest);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
37
399}-
400-
401-
402-
403-
404-
405static -
406 _Bool-
407-
408split_3 (char *s, size_t s_len,-
409 unsigned char **hex_digest, int *binary, char **file_name)-
410{-
411 -
412 _Bool -
413 escaped_filename = -
414 0-
415 ;-
416 size_t algo_name_len;-
417-
418 size_t i = 0;-
419 while (((
(s[i]) == ' 'Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
s[i]) == ' '
(s[i]) == ' 'Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
|| (
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
s[i]) == '\t'
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
))
0-95
420 ++
never executed: ++i;
i;
never executed: ++i;
0
421-
422 if (s[i] == '\\'
s[i] == '\\'Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 92 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
3-92
423 {-
424 ++i;-
425 escaped_filename = -
426 1-
427 ;-
428 }
executed 3 times by 1 test: end of block
Executed by:
  • md5sum
3
429-
430-
431-
432 algo_name_len = strlen ("MD5");-
433 if ((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
434 (__extension__ (__builtin_constant_p (
__builtin_cons...lgo_name_len )Description
TRUEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
435 algo_name_len
__builtin_cons...lgo_name_len )Description
TRUEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
436 )
__builtin_cons...lgo_name_len )Description
TRUEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
&& ((__builtin_constant_p (
__builtin_constant_p ( s + i )Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
437 s + i
__builtin_constant_p ( s + i )Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
438 )
__builtin_constant_p ( s + i )Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
&& strlen (
strlen ( s + i...go_name_len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
439 s + i
strlen ( s + i...go_name_len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
440 ) < ((size_t) (
strlen ( s + i...go_name_len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
441 algo_name_len
strlen ( s + i...go_name_len ))Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
442 ))
strlen ( s + i...go_name_len ))Description
TRUEnever evaluated
FALSEnever evaluated
) || (__builtin_constant_p (
__builtin_constant_p ( "MD5" )Description
TRUEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
443 "MD5"
__builtin_constant_p ( "MD5" )Description
TRUEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
444 )
__builtin_constant_p ( "MD5" )Description
TRUEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
&& strlen (
strlen ( "MD5"...go_name_len ))Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
445 "MD5"
strlen ( "MD5"...go_name_len ))Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
446 ) < ((size_t) (
strlen ( "MD5"...go_name_len ))Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
447 algo_name_len
strlen ( "MD5"...go_name_len ))Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
448 ))
strlen ( "MD5"...go_name_len ))Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-95
449 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
450 ) && __builtin_constant_p (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
451 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
452 ) && (__s1_len = __builtin_strlen (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
453 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
454 ), __s2_len = __builtin_strlen (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
455 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
456 ), (!((size_t)(const void *)((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
457 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
458 ) + 1) - (size_t)(const void *)(
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
459 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
460 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
461 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
462 ) + 1) - (size_t)(const void *)(
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
463 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
464 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
465 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
466 ,
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
467 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
468 ) : (__builtin_constant_p (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
469 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
470 ) && ((size_t)(const void *)((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
471 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
472 ) + 1) - (size_t)(const void *)(
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
473 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
474 ) == 1) && (__s1_len = __builtin_strlen (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
475 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
476 ), __s1_len < 4) ? (__builtin_constant_p (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
477 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
478 ) && ((size_t)(const void *)((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
479 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
480 ) + 1) - (size_t)(const void *)(
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
481 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
482 ) == 1) ? __builtin_strcmp (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
483 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
484 ,
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
485 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
486 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
487 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
488 ); int __result = (((const unsigned char *) (const char *) (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
489 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
490 ))[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..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
491 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
492 ))[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..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
493 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
494 ))[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 *) ( s + i ))[3] - __s2[3]);
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
495 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __result = (((const unsigned char *) (const char *) ( s + i ))[3] - __s2[3]);
0-51
496 ))[3] - __s2[3]);
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __result = (((const unsigned char *) (const char *) ( s + i ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
497 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
498 ) && ((size_t)(const void *)((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
499 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
500 ) + 1) - (size_t)(const void *)(
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
501 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
502 ) == 1) && (__s2_len = __builtin_strlen (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
503 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
504 ), __s2_len < 4) ? (__builtin_constant_p (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
505 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
506 ) && ((size_t)(const void *)((
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
507 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
508 ) + 1) - (size_t)(const void *)(
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
509 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
510 ) == 1) ? __builtin_strcmp (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
511 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
512 ,
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
513 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
514 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
515 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
516 ); int __result = (((const unsigned char *) (const char *) (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
517 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
518 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
519 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
520 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
521 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
522 ))[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 *) ( "MD5" ))[3] - __s2[3]);
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
523 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __result = (((const unsigned char *) (const char *) ( "MD5" ))[3] - __s2[3]);
0-51
524 ))[3] - __s2[3]);
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __result = (((const unsigned char *) (const char *) ( "MD5" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-51
525 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
526 ,
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
527 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
528 )))); }) : strncmp (
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
529 s + i
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
530 ,
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
531 "MD5"
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
532 ,
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
533 algo_name_len
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
534 )))
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
44-51
535 == 0)
( (__extension..._len ))) == 0)Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 51 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
44-51
536 {-
537 i += algo_name_len;-
538 if (s[i] == ' '
s[i] == ' 'Description
TRUEevaluated 20 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 23 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
20-23
539 ++
executed 20 times by 3 tests: ++i;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
i;
executed 20 times by 3 tests: ++i;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
20
540 if (s[i] == '('
s[i] == '('Description
TRUEevaluated 41 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 2 times by 1 test
Evaluated by:
  • b2sum
)
2-41
541 {-
542 ++i;-
543 *binary = 0;-
544 return
executed 41 times by 3 tests: return bsd_split_3 (s + i, s_len - i, hex_digest, file_name, escaped_filename);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
bsd_split_3 (s + i, s_len - i,
executed 41 times by 3 tests: return bsd_split_3 (s + i, s_len - i, hex_digest, file_name, escaped_filename);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
545 hex_digest, file_name, escaped_filename);
executed 41 times by 3 tests: return bsd_split_3 (s + i, s_len - i, hex_digest, file_name, escaped_filename);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
546 }-
547 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • b2sum
executed 2 times by 1 test: return 0 ;
Executed by:
  • b2sum
2
548 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • b2sum
2
549 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • b2sum
2
550 }-
551-
552-
553-
554-
555-
556 if (s_len - i < min_digest_line_length + (s[i] == '\\')
s_len - i < mi...(s[i] == '\\')Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 47 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
4-47
557 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • md5sum
executed 4 times by 1 test: return 0 ;
Executed by:
  • md5sum
4
558 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • md5sum
4
559 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • md5sum
4
560-
561 *hex_digest = (unsigned char *) &s[i];-
562 i += digest_hex_bytes;-
563 if (!((
(s[i]) == ' 'Description
TRUEevaluated 43 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
s[i]) == ' '
(s[i]) == ' 'Description
TRUEevaluated 43 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
|| (
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
s[i]) == '\t'
(s[i]) == '\t'Description
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
))
0-43
564 return
executed 4 times by 2 tests: return 0 ;
Executed by:
  • md5sum
  • sha1sum
executed 4 times by 2 tests: return 0 ;
Executed by:
  • md5sum
  • sha1sum
4
565 0
executed 4 times by 2 tests: return 0 ;
Executed by:
  • md5sum
  • sha1sum
4
566 ;
executed 4 times by 2 tests: return 0 ;
Executed by:
  • md5sum
  • sha1sum
4
567-
568 s[i++] = '\0';-
569-
570 if (! hex_digits (*hex_digest)
! hex_digits (*hex_digest)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 41 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
)
2-41
571 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
572 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
573 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
574-
575-
576 if ((
(s_len - i == 1)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
s_len - i == 1)
(s_len - i == 1)Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
|| (s[i] != ' '
s[i] != ' 'Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 34 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
&& s[i] != '*'
s[i] != '*'Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
))
2-38
577 {-
578-
579-
580-
581-
582-
583-
584 if (bsd_reversed == 0
bsd_reversed == 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
)
2-3
585 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
586 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
587 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
588 bsd_reversed = 1;-
589 }
executed 3 times by 1 test: end of block
Executed by:
  • md5sum
3
590 else if (bsd_reversed != 1
bsd_reversed != 1Description
TRUEevaluated 34 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
)
2-34
591 {-
592 bsd_reversed = 0;-
593 *binary = (s[i++] == '*');-
594 }
executed 34 times by 2 tests: end of block
Executed by:
  • b2sum
  • md5sum
34
595-
596-
597-
598 *file_name = &s[i];-
599-
600 if (escaped_filename
escaped_filenameDescription
TRUEnever evaluated
FALSEevaluated 39 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
)
0-39
601 return
never executed: return filename_unescape (&s[i], s_len - i) != ((void *)0) ;
filename_unescape (&s[i], s_len - i) !=
never executed: return filename_unescape (&s[i], s_len - i) != ((void *)0) ;
0
602 ((void *)0)
never executed: return filename_unescape (&s[i], s_len - i) != ((void *)0) ;
0
603 ;
never executed: return filename_unescape (&s[i], s_len - i) != ((void *)0) ;
0
604-
605 return
executed 39 times by 2 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
executed 39 times by 2 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
39
606 1
executed 39 times by 2 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
39
607 ;
executed 39 times by 2 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
39
608}-
609-
610-
611-
612static void-
613print_filename (char const *file, -
614 _Bool -
615 escape)-
616{-
617 if (! escape
! escapeDescription
TRUEevaluated 1865 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
)
10-1865
618 {-
619 fputs_unlocked (file,-
620 stdout-
621 );-
622 return;
executed 1865 times by 7 tests: return;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1865
623 }-
624-
625 while (*
*fileDescription
TRUEevaluated 45 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
file
*fileDescription
TRUEevaluated 45 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
)
10-45
626 {-
627 switch (*file)-
628 {-
629 case
executed 6 times by 2 tests: case '\n':
Executed by:
  • md5sum
  • sha1sum
'\n':
executed 6 times by 2 tests: case '\n':
Executed by:
  • md5sum
  • sha1sum
6
630 fputs_unlocked ("\\n",-
631 stdout-
632 );-
633 break;
executed 6 times by 2 tests: break;
Executed by:
  • md5sum
  • sha1sum
6
634-
635 case
executed 6 times by 2 tests: case '\\':
Executed by:
  • md5sum
  • sha1sum
'\\':
executed 6 times by 2 tests: case '\\':
Executed by:
  • md5sum
  • sha1sum
6
636 fputs_unlocked ("\\\\",-
637 stdout-
638 );-
639 break;
executed 6 times by 2 tests: break;
Executed by:
  • md5sum
  • sha1sum
6
640-
641 default
executed 33 times by 2 tests: default:
Executed by:
  • md5sum
  • sha1sum
:
executed 33 times by 2 tests: default:
Executed by:
  • md5sum
  • sha1sum
33
642 putchar_unlocked (*file);-
643 break;
executed 33 times by 2 tests: break;
Executed by:
  • md5sum
  • sha1sum
33
644 }-
645 file++;-
646 }
executed 45 times by 2 tests: end of block
Executed by:
  • md5sum
  • sha1sum
45
647}
executed 10 times by 2 tests: end of block
Executed by:
  • md5sum
  • sha1sum
10
648static -
649 _Bool-
650-
651digest_file (const char *filename, int *binary, unsigned char *bin_result,-
652 -
653 _Bool -
654 *missing)-
655{-
656 FILE *fp;-
657 int err;-
658 -
659 _Bool -
660 is_stdin = (-
661 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
662 filename-
663 ) && __builtin_constant_p (-
664 "-"-
665 ) && (__s1_len = __builtin_strlen (-
666 filename-
667 ), __s2_len = __builtin_strlen (-
668 "-"-
669 ), (!((size_t)(const void *)((-
670 filename-
671 ) + 1) - (size_t)(const void *)(-
672 filename-
673 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
674 "-"-
675 ) + 1) - (size_t)(const void *)(-
676 "-"-
677 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
678 filename-
679 , -
680 "-"-
681 ) : (__builtin_constant_p (-
682 filename-
683 ) && ((size_t)(const void *)((-
684 filename-
685 ) + 1) - (size_t)(const void *)(-
686 filename-
687 ) == 1) && (__s1_len = __builtin_strlen (-
688 filename-
689 ), __s1_len < 4) ? (__builtin_constant_p (-
690 "-"-
691 ) && ((size_t)(const void *)((-
692 "-"-
693 ) + 1) - (size_t)(const void *)(-
694 "-"-
695 ) == 1) ? __builtin_strcmp (-
696 filename-
697 , -
698 "-"-
699 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
700 "-"-
701 ); int __result = (((const unsigned char *) (const char *) (-
702 filename-
703 ))[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 *) (
0
704 filename-
705 ))[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 *) (
0
706 filename-
707 ))[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 *) ( filename ))[3] - __s2[3]);
0
708 filename
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
0
709 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
710 "-"-
711 ) && ((size_t)(const void *)((-
712 "-"-
713 ) + 1) - (size_t)(const void *)(-
714 "-"-
715 ) == 1) && (__s2_len = __builtin_strlen (-
716 "-"-
717 ), __s2_len < 4) ? (__builtin_constant_p (-
718 filename-
719 ) && ((size_t)(const void *)((-
720 filename-
721 ) + 1) - (size_t)(const void *)(-
722 filename-
723 ) == 1) ? __builtin_strcmp (-
724 filename-
725 , -
726 "-"-
727 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
728 filename-
729 ); int __result = (((const unsigned char *) (const char *) (-
730 "-"-
731 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 1886 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 13 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 1873 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
) { __result = (((const unsigned char *) (const char *) (
0-1886
732 "-"-
733 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 13 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0-13
734 "-"-
735 ))[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]);
0
736 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
737 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
executed 13 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
__result; }))) : __builtin_strcmp (
0-13
738 filename-
739 , -
740 "-"-
741 )))); }) -
742 == 0);-
743-
744 *missing = -
745 0-
746 ;-
747-
748 if (is_stdin
is_stdinDescription
TRUEevaluated 13 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 1873 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
13-1873
749 {-
750 have_read_stdin = -
751 1-
752 ;-
753 fp = -
754 stdin-
755 ;-
756 if (-
757 0 -
758 && *
dead code: *binary
binary
dead code: *binary
)
-
759 {
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
760 if (*binary < 0)
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
761 *binary = ! isatty (
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
762 0
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
763 );
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
764 if (*binary)
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
765 xset_binary_mode (
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
766 0
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
767 ,
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
768 0
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
769 );
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
770 }
dead code: { if (*binary < 0) *binary = ! isatty ( 0 ); if (*binary) xset_binary_mode ( 0 , 0 ); }
-
771 }
executed 13 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
13
772 else-
773 {-
774 fp = fopen_safer (filename, (-
775 0 -
776 && *binary ? "rb" : "r"));-
777 if (fp ==
fp == ((void *)0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 1867 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
6-1867
778 ((void *)0)
fp == ((void *)0)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 1867 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
6-1867
779 )-
780 {-
781 if (ignore_missing
ignore_missingDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
&&
2-4
782 (*
(*__errno_location ()) == 2Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
__errno_location ())
(*__errno_location ()) == 2Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
0-4
783 ==
(*__errno_location ()) == 2Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
0-4
784 2
(*__errno_location ()) == 2Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
0-4
785 )-
786 {-
787 *missing = -
788 1-
789 ;-
790 return
executed 4 times by 1 test: return 1 ;
Executed by:
  • md5sum
executed 4 times by 1 test: return 1 ;
Executed by:
  • md5sum
4
791 1
executed 4 times by 1 test: return 1 ;
Executed by:
  • md5sum
4
792 ;
executed 4 times by 1 test: return 1 ;
Executed by:
  • md5sum
4
793 }-
794 error (0, -
795 (*__errno_location ())-
796 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename));-
797 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
798 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
799 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • md5sum
2
800 }-
801 }
executed 1867 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1867
802-
803 fadvise (fp, FADVISE_SEQUENTIAL);-
804-
805-
806-
807-
808 err = md5_stream (fp, bin_result);-
809-
810 if (err
errDescription
TRUEnever evaluated
FALSEevaluated 1880 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
0-1880
811 {-
812 error (0, -
813 (*__errno_location ())-
814 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename));-
815 if (fp !=
fp != stdinDescription
TRUEnever evaluated
FALSEnever evaluated
0
816 stdin
fp != stdinDescription
TRUEnever evaluated
FALSEnever evaluated
0
817 )-
818 -
819 rpl_fclose
never executed: rpl_fclose (fp);
0
820 (fp);
never executed: rpl_fclose (fp);
0
821 return
never executed: return 0 ;
never executed: return 0 ;
0
822 0
never executed: return 0 ;
0
823 ;
never executed: return 0 ;
0
824 }-
825-
826 if (!is_stdin
!is_stdinDescription
TRUEevaluated 1867 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 13 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&&
13-1867
827 rpl_fclose
rpl_fclose (fp) != 0Description
TRUEnever evaluated
FALSEevaluated 1867 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1867
828 (fp) != 0
rpl_fclose (fp) != 0Description
TRUEnever evaluated
FALSEevaluated 1867 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
0-1867
829 {-
830 error (0, -
831 (*__errno_location ())-
832 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, filename));-
833 return
never executed: return 0 ;
never executed: return 0 ;
0
834 0
never executed: return 0 ;
0
835 ;
never executed: return 0 ;
0
836 }-
837-
838 return
executed 1880 times by 7 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
executed 1880 times by 7 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1880
839 1
executed 1880 times by 7 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1880
840 ;
executed 1880 times by 7 tests: return 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1880
841}-
842-
843static -
844 _Bool-
845-
846digest_check (const char *checkfile_name)-
847{-
848 FILE *checkfile_stream;-
849 uintmax_t n_misformatted_lines = 0;-
850 uintmax_t n_improperly_formatted_lines = 0;-
851 uintmax_t n_mismatched_checksums = 0;-
852 uintmax_t n_open_or_read_failures = 0;-
853 -
854 _Bool -
855 properly_formatted_lines = -
856 0-
857 ;-
858 -
859 _Bool -
860 matched_checksums = -
861 0-
862 ;-
863 unsigned char bin_buffer_unaligned[(128 / 8) + 4];-
864-
865 unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, 4);-
866 uintmax_t line_number;-
867 char *line;-
868 size_t line_chars_allocated;-
869 -
870 _Bool -
871 is_stdin = (-
872 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (-
873 checkfile_name-
874 ) && __builtin_constant_p (-
875 "-"-
876 ) && (__s1_len = __builtin_strlen (-
877 checkfile_name-
878 ), __s2_len = __builtin_strlen (-
879 "-"-
880 ), (!((size_t)(const void *)((-
881 checkfile_name-
882 ) + 1) - (size_t)(const void *)(-
883 checkfile_name-
884 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((-
885 "-"-
886 ) + 1) - (size_t)(const void *)(-
887 "-"-
888 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (-
889 checkfile_name-
890 , -
891 "-"-
892 ) : (__builtin_constant_p (-
893 checkfile_name-
894 ) && ((size_t)(const void *)((-
895 checkfile_name-
896 ) + 1) - (size_t)(const void *)(-
897 checkfile_name-
898 ) == 1) && (__s1_len = __builtin_strlen (-
899 checkfile_name-
900 ), __s1_len < 4) ? (__builtin_constant_p (-
901 "-"-
902 ) && ((size_t)(const void *)((-
903 "-"-
904 ) + 1) - (size_t)(const void *)(-
905 "-"-
906 ) == 1) ? __builtin_strcmp (-
907 checkfile_name-
908 , -
909 "-"-
910 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
911 "-"-
912 ); int __result = (((const unsigned char *) (const char *) (-
913 checkfile_name-
914 ))[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 *) (
0
915 checkfile_name-
916 ))[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 *) (
0
917 checkfile_name-
918 ))[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 *) ( checkfile_name ))[3] - __s2[3]);
0
919 checkfile_name
never executed: __result = (((const unsigned char *) (const char *) ( checkfile_name ))[3] - __s2[3]);
0
920 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( checkfile_name ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
0
921 "-"-
922 ) && ((size_t)(const void *)((-
923 "-"-
924 ) + 1) - (size_t)(const void *)(-
925 "-"-
926 ) == 1) && (__s2_len = __builtin_strlen (-
927 "-"-
928 ), __s2_len < 4) ? (__builtin_constant_p (-
929 checkfile_name-
930 ) && ((size_t)(const void *)((-
931 checkfile_name-
932 ) + 1) - (size_t)(const void *)(-
933 checkfile_name-
934 ) == 1) ? __builtin_strcmp (-
935 checkfile_name-
936 , -
937 "-"-
938 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (-
939 checkfile_name-
940 ); int __result = (((const unsigned char *) (const char *) (-
941 "-"-
942 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 41 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
) { __result = (((const unsigned char *) (const char *) (
0-41
943 "-"-
944 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
0-1
945 "-"-
946 ))[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]);
0
947 "-"
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
948 ))[3] - __s2[3]);
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
executed 1 time by 1 test: end of block
Executed by:
  • md5sum
__result; }))) : __builtin_strcmp (
0-1
949 checkfile_name-
950 , -
951 "-"-
952 )))); }) -
953 == 0);-
954-
955 if (is_stdin
is_stdinDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
1-40
956 {-
957 have_read_stdin = -
958 1-
959 ;-
960 checkfile_name = -
961 dcgettext (((void *)0), -
962 "standard input"-
963 , 5)-
964 ;-
965 checkfile_stream = -
966 stdin-
967 ;-
968 }
executed 1 time by 1 test: end of block
Executed by:
  • md5sum
1
969 else-
970 {-
971 checkfile_stream = fopen_safer (checkfile_name, "r");-
972 if (checkfile_stream ==
checkfile_stre...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-40
973 ((void *)0)
checkfile_stre...== ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-40
974 )-
975 {-
976 error (0, -
977 (*__errno_location ())-
978 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));-
979 return
never executed: return 0 ;
never executed: return 0 ;
0
980 0
never executed: return 0 ;
0
981 ;
never executed: return 0 ;
0
982 }-
983 }
executed 40 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
40
984-
985 line_number = 0;-
986 line = -
987 ((void *)0)-
988 ;-
989 line_chars_allocated = 0;-
990 do-
991 {-
992 char *filename ;-
993 int binary;-
994 unsigned char *hex_digest ;-
995 ssize_t line_length;-
996-
997 ++line_number;-
998 if (line_number == 0
line_number == 0Description
TRUEnever evaluated
FALSEevaluated 134 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-134
999 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
!!sizeof (struct { _Static_assert (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1000 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1001 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; })) ? ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1002 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1003 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1004 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1005 "%s: too many checksum lines"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1006 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1007 , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1008 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1009 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1010 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1011 , 0,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1012 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1013 "%s: too many checksum lines"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1014 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1015 , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1016 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1017 ) ? (void) 0 : __builtin_unreachable ()))))
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1018 ;
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, 0, dcgettext (((void *)0), \"%s: too many checksum lines\", 5), quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), assume (false))" ")"); int _gl_dummy; }...)), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , 0, dcgettext (((void *)0), "%s: too many checksum lines" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name)), (( 0 ) ? (void) 0 : __builtin_unreachable ())))) ;
0
1019-
1020 line_length = getline (&line, &line_chars_allocated, checkfile_stream);-
1021 if (line_length <= 0
line_length <= 0Description
TRUEevaluated 39 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
39-95
1022 break;
executed 39 times by 3 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
39
1023-
1024-
1025 if (line[0] == '#'
line[0] == '#'Description
TRUEnever evaluated
FALSEevaluated 95 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-95
1026 continue;
never executed: continue;
0
1027-
1028-
1029 if (line[line_length - 1] == '\n'
line[line_length - 1] == '\n'Description
TRUEevaluated 93 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
)
2-93
1030 line[--line_length] = '\0';
executed 93 times by 3 tests: line[--line_length] = '\0';
Executed by:
  • b2sum
  • md5sum
  • sha1sum
93
1031-
1032 if (! (split_3 (line, line_length, &hex_digest, &binary, &filename)
split_3 (line,...ry, &filename)Description
TRUEevaluated 76 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 19 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
19-76
1033 && ! (is_stdin
is_stdinDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 74 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
&& (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-74
1034 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1035 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1036 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1037 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1038 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1039 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1040 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1041 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1042 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1043 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1044 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1045 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1046 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1047 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1048 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1049 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1050 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1051 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1052 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1053 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1054 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1055 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1056 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1057 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1058 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1059 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1060 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1061 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1062 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1063 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1064 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1065 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1066 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1067 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1068 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1069 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1070 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1071 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1072 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1073 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1074 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1075 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1076 ))[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
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1077 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1078 ))[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
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1079 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1080 ))[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 *) ( filename ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1081 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
0-2
1082 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
never executed: __result = (((const unsigned char *) (const char *) ( filename ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1083 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1084 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1085 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1086 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1087 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1088 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1089 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1090 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1091 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1092 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1093 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1094 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1095 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1096 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1097 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1098 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1099 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1100 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1101 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1102 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1103 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1104 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1105 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1106 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1107 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1108 ))[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
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1109 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-2
1110 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1111 filename
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1112 ,
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1113 "-"
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1114 )))); })
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
0-2
1115 == 0)
( __extension_...)))); }) == 0)Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
)))
0-2
1116 {-
1117 ++n_misformatted_lines;-
1118-
1119 if (warn
warnDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 18 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
1-18
1120 {-
1121 error (0, 0,-
1122 -
1123 dcgettext (((void *)0), -
1124 "%s: %" -
1125 "l" "u" -
1126 ": improperly formatted %s checksum line"-
1127 , 5)-
1128 -
1129 ,-
1130 quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name), line_number,-
1131 "MD5");-
1132 }
executed 1 time by 1 test: end of block
Executed by:
  • md5sum
1
1133-
1134 ++n_improperly_formatted_lines;-
1135 }
executed 19 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
19
1136 else-
1137 {-
1138 static const char bin2hex[] = { '0', '1', '2', '3',-
1139 '4', '5', '6', '7',-
1140 '8', '9', 'a', 'b',-
1141 'c', 'd', 'e', 'f' };-
1142 -
1143 _Bool -
1144 ok;-
1145 -
1146 _Bool -
1147 missing;-
1148-
1149-
1150 -
1151 _Bool -
1152 needs_escape = ! status_only
! status_onlyDescription
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
&&
5-71
1153 (
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '\n' )Description
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1154 '\n'
__builtin_constant_p ( '\n' )Description
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1155 )
__builtin_constant_p ( '\n' )Description
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_con...p ( filename )Description
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1156 filename
!__builtin_con...p ( filename )Description
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1157 )
!__builtin_con...p ( filename )Description
TRUEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
&& (
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1158 '\n'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1159 ) == '\0'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 71 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
? (char *) __rawmemchr (
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-71
1160 filename
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1161 ,
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1162 '\n'
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1163 ) : __builtin_strchr (
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1164 filename
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1165 ,
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1166 '\n'
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1167 )))
(__extension__...ame , '\n' )))Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 70 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
1-70
1168 ;-
1169-
1170 properly_formatted_lines = -
1171 1-
1172 ;-
1173-
1174 ok = digest_file (filename, &binary, bin_buffer, &missing);-
1175-
1176 if (!ok
!okDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 74 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
2-74
1177 {-
1178 ++n_open_or_read_failures;-
1179 if (!status_only
!status_onlyDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
FALSEnever evaluated
)
0-2
1180 {-
1181 if (needs_escape
needs_escapeDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
)
0-2
1182 putchar_unlocked ('\\');
never executed: putchar_unlocked ('\\');
0
1183 print_filename (filename, needs_escape);-
1184 printf (": %s\n", -
1185 dcgettext (((void *)0), -
1186 "FAILED open or read"-
1187 , 5)-
1188 );-
1189 }
executed 2 times by 1 test: end of block
Executed by:
  • md5sum
2
1190 }
executed 2 times by 1 test: end of block
Executed by:
  • md5sum
2
1191 else if (ignore_missing
ignore_missingDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 66 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
&& missing
missingDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
)
4-66
1192 {-
1193-
1194 ;-
1195 }
executed 4 times by 1 test: end of block
Executed by:
  • md5sum
4
1196 else-
1197 {-
1198 size_t digest_bin_bytes = digest_hex_bytes / 2;-
1199 size_t cnt;-
1200-
1201-
1202-
1203 for (cnt = 0; cnt < digest_bin_bytes
cnt < digest_bin_bytesDescription
TRUEevaluated 1554 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 60 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
; ++cnt)
60-1554
1204 {-
1205 if (-
1206 (
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
__extension__ ({ int __res; if (sizeof (
sizeof ( hex_d...2 * cnt] ) > 1Description
TRUEnever evaluated
FALSEevaluated 1554 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1554
1207 hex_digest[2 * cnt]
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
sizeof ( hex_d...2 * cnt] ) > 1Description
TRUEnever evaluated
FALSEevaluated 1554 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1554
1208 ) > 1
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
sizeof ( hex_d...2 * cnt] ) > 1Description
TRUEnever evaluated
FALSEevaluated 1554 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
) { if (__builtin_constant_p (
__builtin_cons...est[2 * cnt] )Description
TRUEnever evaluated
FALSEnever evaluated
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1554
1209 hex_digest[2 * cnt]
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
__builtin_cons...est[2 * cnt] )Description
TRUEnever evaluated
FALSEnever evaluated
0-1544
1210 )
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
__builtin_cons...est[2 * cnt] )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1211 hex_digest[2 * cnt]
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
10-1544
1212 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_tolower_loc ())[__c]; }
never executed: end of block
else __res = tolower (
never executed: __res = tolower ( hex_digest[2 * cnt] );
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1213 hex_digest[2 * cnt]
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __res = tolower ( hex_digest[2 * cnt] );
0-1544
1214 );
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __res = tolower ( hex_digest[2 * cnt] );
} else __res = (*__ctype_tolower_loc ())[(int) (
executed 1554 times by 3 tests: __res = (*__ctype_tolower_loc ())[(int) ( hex_digest[2 * cnt] )];
Executed by:
  • b2sum
  • md5sum
  • sha1sum
0-1554
1215 hex_digest[2 * cnt]
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
executed 1554 times by 3 tests: __res = (*__ctype_tolower_loc ())[(int) ( hex_digest[2 * cnt] )];
Executed by:
  • b2sum
  • md5sum
  • sha1sum
10-1554
1216 )]; __res; }))
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
10-1554
1217
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
10-1544
1218 != bin2hex[bin_buffer[cnt] >> 4]
(__extension__...fer[cnt] >> 4]Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
10-1544
1219 || (
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1220 (__extension__ ({ int __res; if (sizeof (
sizeof ( hex_d...cnt + 1] ) > 1Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1221 hex_digest[2 * cnt + 1]
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
sizeof ( hex_d...cnt + 1] ) > 1Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1222 ) > 1) { if (__builtin_constant_p (
__builtin_cons...2 * cnt + 1] )Description
TRUEnever evaluated
FALSEnever evaluated
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1223 hex_digest[2 * cnt + 1]
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
__builtin_cons...2 * cnt + 1] )Description
TRUEnever evaluated
FALSEnever evaluated
0-1544
1224 )
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
__builtin_cons...2 * cnt + 1] )Description
TRUEnever evaluated
FALSEnever evaluated
) { int __c = (
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1225 hex_digest[2 * cnt + 1]
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1226 ); __res = __c < -128
__c < -128Description
TRUEnever evaluated
FALSEnever evaluated
|| __c > 255
__c > 255Description
TRUEnever evaluated
FALSEnever evaluated
? __c : (*__ctype_tolower_loc ())[__c]; }
never executed: end of block
else __res = tolower (
never executed: __res = tolower ( hex_digest[2 * cnt + 1] );
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1227 hex_digest[2 * cnt + 1]
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __res = tolower ( hex_digest[2 * cnt + 1] );
0-1544
1228 );
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
never executed: __res = tolower ( hex_digest[2 * cnt + 1] );
} else __res = (*__ctype_tolower_loc ())[(int) (
executed 1544 times by 3 tests: __res = (*__ctype_tolower_loc ())[(int) ( hex_digest[2 * cnt + 1] )];
Executed by:
  • b2sum
  • md5sum
  • sha1sum
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1229 hex_digest[2 * cnt + 1]
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
executed 1544 times by 3 tests: __res = (*__ctype_tolower_loc ())[(int) ( hex_digest[2 * cnt + 1] )];
Executed by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1230 )];
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
executed 1544 times by 3 tests: __res = (*__ctype_tolower_loc ())[(int) ( hex_digest[2 * cnt + 1] )];
Executed by:
  • b2sum
  • md5sum
  • sha1sum
__res; }))
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1231
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-1544
1232 != (bin2hex[bin_buffer[cnt] & 0xf]))
( (__extension...[cnt] & 0xf]))Description
TRUEnever evaluated
FALSEevaluated 1544 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-1544
1233 break;
executed 10 times by 2 tests: break;
Executed by:
  • md5sum
  • sha1sum
10
1234 }
executed 1544 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
1544
1235 if (cnt != digest_bin_bytes
cnt != digest_bin_bytesDescription
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 60 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
10-60
1236 ++
executed 10 times by 2 tests: ++n_mismatched_checksums;
Executed by:
  • md5sum
  • sha1sum
n_mismatched_checksums;
executed 10 times by 2 tests: ++n_mismatched_checksums;
Executed by:
  • md5sum
  • sha1sum
10
1237 else-
1238 matched_checksums =
executed 60 times by 3 tests: matched_checksums = 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
60
1239 1
executed 60 times by 3 tests: matched_checksums = 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
60
1240 ;
executed 60 times by 3 tests: matched_checksums = 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
60
1241-
1242 if (!status_only
!status_onlyDescription
TRUEevaluated 65 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
)
5-65
1243 {-
1244 if (cnt != digest_bin_bytes
cnt != digest_bin_bytesDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 60 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
|| ! quiet
! quietDescription
TRUEevaluated 58 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
)
2-60
1245 {-
1246 if (needs_escape
needs_escapeDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 62 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
1-62
1247 putchar_unlocked ('\\');
executed 1 time by 1 test: putchar_unlocked ('\\');
Executed by:
  • md5sum
1
1248 print_filename (filename, needs_escape);-
1249 }
executed 63 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
63
1250-
1251 if (cnt != digest_bin_bytes
cnt != digest_bin_bytesDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 60 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
5-60
1252 printf (": %s\n",
executed 5 times by 1 test: printf (": %s\n", dcgettext (((void *)0), "FAILED" , 5) );
Executed by:
  • md5sum
5
1253 dcgettext (((void *)0),
executed 5 times by 1 test: printf (": %s\n", dcgettext (((void *)0), "FAILED" , 5) );
Executed by:
  • md5sum
5
1254 "FAILED"
executed 5 times by 1 test: printf (": %s\n", dcgettext (((void *)0), "FAILED" , 5) );
Executed by:
  • md5sum
5
1255 , 5)
executed 5 times by 1 test: printf (": %s\n", dcgettext (((void *)0), "FAILED" , 5) );
Executed by:
  • md5sum
5
1256 );
executed 5 times by 1 test: printf (": %s\n", dcgettext (((void *)0), "FAILED" , 5) );
Executed by:
  • md5sum
5
1257 else if (!quiet
!quietDescription
TRUEevaluated 58 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 2 times by 1 test
Evaluated by:
  • md5sum
)
2-58
1258 printf (": %s\n",
executed 58 times by 3 tests: printf (": %s\n", dcgettext (((void *)0), "OK" , 5) );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
58
1259 dcgettext (((void *)0),
executed 58 times by 3 tests: printf (": %s\n", dcgettext (((void *)0), "OK" , 5) );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
58
1260 "OK"
executed 58 times by 3 tests: printf (": %s\n", dcgettext (((void *)0), "OK" , 5) );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
58
1261 , 5)
executed 58 times by 3 tests: printf (": %s\n", dcgettext (((void *)0), "OK" , 5) );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
58
1262 );
executed 58 times by 3 tests: printf (": %s\n", dcgettext (((void *)0), "OK" , 5) );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
58
1263 }
executed 65 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
65
1264 }
executed 70 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
70
1265 }-
1266 }-
1267 while (!feof_unlocked (checkfile_stream)
!feof_unlocked...ckfile_stream)Description
TRUEevaluated 93 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 2 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
&& !ferror_unlocked (checkfile_stream)
!ferror_unlock...ckfile_stream)Description
TRUEevaluated 93 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEnever evaluated
);
0-93
1268-
1269 free (line);-
1270-
1271 if (ferror_unlocked (checkfile_stream)
ferror_unlocke...ckfile_stream)Description
TRUEnever evaluated
FALSEevaluated 41 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-41
1272 {-
1273 error (0, 0, -
1274 dcgettext (((void *)0), -
1275 "%s: read error"-
1276 , 5)-
1277 , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));-
1278 return
never executed: return 0 ;
never executed: return 0 ;
0
1279 0
never executed: return 0 ;
0
1280 ;
never executed: return 0 ;
0
1281 }-
1282-
1283 if (!is_stdin
!is_stdinDescription
TRUEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
&&
1-40
1284 rpl_fclose
rpl_fclose (ch...e_stream) != 0Description
TRUEnever evaluated
FALSEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
0-40
1285 (checkfile_stream) != 0
rpl_fclose (ch...e_stream) != 0Description
TRUEnever evaluated
FALSEevaluated 40 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
0-40
1286 {-
1287 error (0, -
1288 (*__errno_location ())-
1289 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));-
1290 return
never executed: return 0 ;
never executed: return 0 ;
0
1291 0
never executed: return 0 ;
0
1292 ;
never executed: return 0 ;
0
1293 }-
1294-
1295 if (! properly_formatted_lines
! properly_formatted_linesDescription
TRUEevaluated 8 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 33 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
8-33
1296 {-
1297-
1298 error (0, 0, -
1299 dcgettext (((void *)0), -
1300 "%s: no properly formatted %s checksum lines found"-
1301 , 5)-
1302 ,-
1303 quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name), "MD5");-
1304 }
executed 8 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
8
1305 else-
1306 {-
1307 if (!status_only
!status_onlyDescription
TRUEevaluated 28 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
)
5-28
1308 {-
1309 if (n_misformatted_lines != 0
n_misformatted_lines != 0Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 22 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
6-22
1310 error (0, 0,
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1311 (
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1312 dcngettext (((void *)0),
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1313 "WARNING: %"
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1314 "l" "u"
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1315 " line is improperly formatted"
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1316 ,
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1317 "WARNING: %"
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1318 "l" "u"
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1319 " lines are improperly formatted"
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1320 ,
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1321 select_plural (n_misformatted_lines)
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1322 , 5)
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
13236
13246
1325
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1326 ),
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1327 n_misformatted_lines);
executed 6 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " line is improperly formatted" , "WARNING: %" "l" "u" " lines are improperly formatted" , select_plural (n_misformatted_lines) , 5) ), n_misformatted_lines);
Executed by:
  • md5sum
6
1328-
1329 if (n_open_or_read_failures != 0
n_open_or_read_failures != 0Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 27 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
1-27
1330 error (0, 0,
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1331 (
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1332 dcngettext (((void *)0),
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1333 "WARNING: %"
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1334 "l" "u"
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1335 " listed file could not be read"
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1336 ,
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1337 "WARNING: %"
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1338 "l" "u"
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1339 " listed files could not be read"
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1340 ,
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1341 select_plural (n_open_or_read_failures)
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1342 , 5)
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
13431
13441
1345
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1346 ),
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1347 n_open_or_read_failures);
executed 1 time by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " listed file could not be read" , "WARNING: %" "l" "u" " listed files could not be read" , select_plural (n_open_or_read_failures) , 5) ), n_open_or_read_failures);
Executed by:
  • md5sum
1
1348-
1349 if (n_mismatched_checksums != 0
n_mismatched_checksums != 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 25 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
)
3-25
1350 error (0, 0,
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1351 (
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1352 dcngettext (((void *)0),
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1353 "WARNING: %"
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1354 "l" "u"
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1355 " computed checksum did NOT match"
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1356 ,
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1357 "WARNING: %"
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1358 "l" "u"
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1359 " computed checksums did NOT match"
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1360 ,
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1361 select_plural (n_mismatched_checksums)
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1362 , 5)
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
13633
13643
1365
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1366 ),
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1367 n_mismatched_checksums);
executed 3 times by 1 test: error (0, 0, ( dcngettext (((void *)0), "WARNING: %" "l" "u" " computed checksum did NOT match" , "WARNING: %" "l" "u" " computed checksums did NOT match" , select_plural (n_mismatched_checksums) , 5) ), n_mismatched_checksums);
Executed by:
  • md5sum
3
1368-
1369 if (ignore_missing
ignore_missingDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 23 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
&& ! matched_checksums
! matched_checksumsDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
)
1-23
1370 error (0, 0,
executed 1 time by 1 test: error (0, 0, dcgettext (((void *)0), "%s: no file was verified" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
Executed by:
  • md5sum
1
1371 dcgettext (((void *)0),
executed 1 time by 1 test: error (0, 0, dcgettext (((void *)0), "%s: no file was verified" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
Executed by:
  • md5sum
1
1372 "%s: no file was verified"
executed 1 time by 1 test: error (0, 0, dcgettext (((void *)0), "%s: no file was verified" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
Executed by:
  • md5sum
1
1373 , 5)
executed 1 time by 1 test: error (0, 0, dcgettext (((void *)0), "%s: no file was verified" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
Executed by:
  • md5sum
1
1374 ,
executed 1 time by 1 test: error (0, 0, dcgettext (((void *)0), "%s: no file was verified" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
Executed by:
  • md5sum
1
1375 quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
executed 1 time by 1 test: error (0, 0, dcgettext (((void *)0), "%s: no file was verified" , 5) , quotearg_n_style_colon (0, shell_escape_quoting_style, checkfile_name));
Executed by:
  • md5sum
1
1376 }
executed 28 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
28
1377 }
executed 33 times by 3 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
33
1378-
1379 return
executed 41 times by 3 tests: return (properly_formatted_lines && matched_checksums && n_mismatched_checksums == 0 && n_open_or_read_failures == 0 && (!strict || n_improperly_formatted_lines == 0));
Executed by:
  • b2sum
  • md5sum
  • sha1sum
(properly_formatted_lines
executed 41 times by 3 tests: return (properly_formatted_lines && matched_checksums && n_mismatched_checksums == 0 && n_open_or_read_failures == 0 && (!strict || n_improperly_formatted_lines == 0));
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
1380 && matched_checksums
executed 41 times by 3 tests: return (properly_formatted_lines && matched_checksums && n_mismatched_checksums == 0 && n_open_or_read_failures == 0 && (!strict || n_improperly_formatted_lines == 0));
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
1381 && n_mismatched_checksums == 0
executed 41 times by 3 tests: return (properly_formatted_lines && matched_checksums && n_mismatched_checksums == 0 && n_open_or_read_failures == 0 && (!strict || n_improperly_formatted_lines == 0));
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
1382 && n_open_or_read_failures == 0
executed 41 times by 3 tests: return (properly_formatted_lines && matched_checksums && n_mismatched_checksums == 0 && n_open_or_read_failures == 0 && (!strict || n_improperly_formatted_lines == 0));
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
1383 && (!strict || n_improperly_formatted_lines == 0));
executed 41 times by 3 tests: return (properly_formatted_lines && matched_checksums && n_mismatched_checksums == 0 && n_open_or_read_failures == 0 && (!strict || n_improperly_formatted_lines == 0));
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
1384}-
1385-
1386int-
1387main (int argc, char **argv)-
1388{-
1389 unsigned char bin_buffer_unaligned[(128 / 8) + 4];-
1390-
1391 unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, 4);-
1392 -
1393 _Bool -
1394 do_check = -
1395 0-
1396 ;-
1397 int opt;-
1398 -
1399 _Bool -
1400 ok = -
1401 1-
1402 ;-
1403 int binary = -1;-
1404 -
1405 _Bool -
1406 prefix_tag = -
1407 0-
1408 ;-
1409-
1410-
1411 ;-
1412 set_program_name (argv[0]);-
1413 setlocale (-
1414 6-
1415 , "");-
1416 bindtextdomain ("coreutils", "/usr/local/share/locale");-
1417 textdomain ("coreutils");-
1418-
1419 atexit (close_stdout);-
1420-
1421-
1422-
1423 setvbuf (-
1424 stdout-
1425 , -
1426 ((void *)0)-
1427 , -
1428 1-
1429 , 0);-
1430-
1431-
1432-
1433-
1434-
1435 const char* short_opts = "bctw";-
1436-
1437-
1438 while ((
(opt = getopt_... *)0) )) != -1Description
TRUEevaluated 634 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 357 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
opt = getopt_long (argc, argv, short_opts, long_options,
(opt = getopt_... *)0) )) != -1Description
TRUEevaluated 634 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 357 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
357-634
1439 ((void *)0)
(opt = getopt_... *)0) )) != -1Description
TRUEevaluated 634 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 357 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
357-634
1440 )) != -1
(opt = getopt_... *)0) )) != -1Description
TRUEevaluated 634 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 357 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
357-634
1441 switch (opt)-
1442 {-
1443 case
executed 14 times by 7 tests: case 'b':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
'b':
executed 14 times by 7 tests: case 'b':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
14
1444 binary = 1;-
1445 break;
executed 14 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
14
1446 case
executed 56 times by 7 tests: case 'c':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
'c':
executed 56 times by 7 tests: case 'c':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
56
1447 do_check = -
1448 1-
1449 ;-
1450 break;
executed 56 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
56
1451 case
executed 12 times by 7 tests: case STATUS_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
STATUS_OPTION:
executed 12 times by 7 tests: case STATUS_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
12
1452 status_only = -
1453 1-
1454 ;-
1455 warn = -
1456 0-
1457 ;-
1458 quiet = -
1459 0-
1460 ;-
1461 break;
executed 12 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
12
1462 case
executed 283 times by 7 tests: case 't':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
't':
executed 283 times by 7 tests: case 't':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
283
1463 binary = 0;-
1464 break;
executed 283 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
283
1465 case
executed 15 times by 7 tests: case 'w':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
'w':
executed 15 times by 7 tests: case 'w':
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
15
1466 status_only = -
1467 0-
1468 ;-
1469 warn = -
1470 1-
1471 ;-
1472 quiet = -
1473 0-
1474 ;-
1475 break;
executed 15 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
15
1476 case
executed 13 times by 7 tests: case IGNORE_MISSING_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
IGNORE_MISSING_OPTION:
executed 13 times by 7 tests: case IGNORE_MISSING_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
13
1477 ignore_missing = -
1478 1-
1479 ;-
1480 break;
executed 13 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
13
1481 case
executed 10 times by 7 tests: case QUIET_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
QUIET_OPTION:
executed 10 times by 7 tests: case QUIET_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
10
1482 status_only = -
1483 0-
1484 ;-
1485 warn = -
1486 0-
1487 ;-
1488 quiet = -
1489 1-
1490 ;-
1491 break;
executed 10 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
10
1492 case
executed 20 times by 7 tests: case STRICT_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
STRICT_OPTION:
executed 20 times by 7 tests: case STRICT_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
20
1493 strict = -
1494 1-
1495 ;-
1496 break;
executed 20 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
20
1497 case
executed 29 times by 7 tests: case TAG_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
TAG_OPTION:
executed 29 times by 7 tests: case TAG_OPTION:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
29
1498 prefix_tag = -
1499 1-
1500 ;-
1501 binary = 1;-
1502 break;
executed 29 times by 7 tests: break;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
29
1503 case
executed 112 times by 7 tests: case GETOPT_HELP_CHAR:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
GETOPT_HELP_CHAR:
executed 112 times by 7 tests: case GETOPT_HELP_CHAR:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
usage (
112
1504 0-
1505 ); break;
never executed: break;
;
0
1506 case
executed 32 times by 7 tests: case GETOPT_VERSION_CHAR:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
GETOPT_VERSION_CHAR:
executed 32 times by 7 tests: case GETOPT_VERSION_CHAR:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
version_etc (
32
1507 stdout-
1508 , "md5sum", "GNU coreutils", Version, ("Ulrich Drepper"), ("Scott Miller"), ("David Madore"), (char *) -
1509 ((void *)0)-
1510 ); exit (
executed 32 times by 7 tests: exit ( 0 );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
32
1511 0
executed 32 times by 7 tests: exit ( 0 );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
32
1512 );
executed 32 times by 7 tests: exit ( 0 );
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
break;
never executed: break;
;
0-32
1513 default
executed 21 times by 7 tests: default:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
:
executed 21 times by 7 tests: default:
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
21
1514 usage (-
1515 1-
1516 );-
1517 }
never executed: end of block
0
1518-
1519 min_digest_line_length = ((128 / 4) + 1 + 1 );-
1520 digest_hex_bytes = (128 / 4);-
1521-
1522-
1523 if (prefix_tag
prefix_tagDescription
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
FALSEevaluated 335 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& !binary
!binaryDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 21 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
)
1-335
1524 {-
1525-
1526-
1527-
1528-
1529-
1530 error (0, 0, -
1531 dcgettext (((void *)0), -
1532 "--tag does not support --text mode"-
1533 , 5)-
1534 );-
1535 usage (-
1536 1-
1537 );-
1538 }
never executed: end of block
0
1539-
1540 if (prefix_tag
prefix_tagDescription
TRUEevaluated 21 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
FALSEevaluated 335 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& do_check
do_checkDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
)
1-335
1541 {-
1542 error (0, 0, -
1543 dcgettext (((void *)0), -
1544 "the --tag option is meaningless when " "verifying checksums"-
1545 , 5)-
1546 -
1547 );-
1548 usage (-
1549 1-
1550 );-
1551 }
never executed: end of block
0
1552-
1553 if (0 <= binary
0 <= binaryDescription
TRUEevaluated 288 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 67 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& do_check
do_checkDescription
TRUEnever evaluated
FALSEevaluated 288 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
0-288
1554 {-
1555 error (0, 0, -
1556 dcgettext (((void *)0), -
1557 "the --binary and --text options are meaningless when " "verifying checksums"-
1558 , 5)-
1559 -
1560 );-
1561 usage (-
1562 1-
1563 );-
1564 }
never executed: end of block
0
1565-
1566 if (ignore_missing
ignore_missingDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 349 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& !do_check
!do_checkDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 5 times by 1 test
Evaluated by:
  • md5sum
)
1-349
1567 {-
1568 error (0, 0,-
1569 -
1570 dcgettext (((void *)0), -
1571 "the --ignore-missing option is meaningful only when " "verifying checksums"-
1572 , 5)-
1573 -
1574 );-
1575 usage (-
1576 1-
1577 );-
1578 }
never executed: end of block
0
1579-
1580 if (status_only
status_onlyDescription
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 349 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& !do_check
!do_checkDescription
TRUEnever evaluated
FALSEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
)
0-349
1581 {-
1582 error (0, 0,-
1583 -
1584 dcgettext (((void *)0), -
1585 "the --status option is meaningful only when verifying checksums"-
1586 , 5)-
1587 );-
1588 usage (-
1589 1-
1590 );-
1591 }
never executed: end of block
0
1592-
1593 if (warn
warnDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 353 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& !do_check
!do_checkDescription
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • md5sum
)
0-353
1594 {-
1595 error (0, 0,-
1596 -
1597 dcgettext (((void *)0), -
1598 "the --warn option is meaningful only when verifying checksums"-
1599 , 5)-
1600 );-
1601 usage (-
1602 1-
1603 );-
1604 }
never executed: end of block
0
1605-
1606 if (quiet
quietDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 351 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&& !do_check
!do_checkDescription
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • md5sum
)
0-351
1607 {-
1608 error (0, 0,-
1609 -
1610 dcgettext (((void *)0), -
1611 "the --quiet option is meaningful only when verifying checksums"-
1612 , 5)-
1613 );-
1614 usage (-
1615 1-
1616 );-
1617 }
never executed: end of block
0
1618-
1619 if (strict & !do_check
strict & !do_checkDescription
TRUEnever evaluated
FALSEevaluated 354 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
0-354
1620 {-
1621 error (0, 0,-
1622 -
1623 dcgettext (((void *)0), -
1624 "the --strict option is meaningful only when verifying checksums"-
1625 , 5)-
1626 );-
1627 usage (-
1628 1-
1629 );-
1630 }
never executed: end of block
0
1631-
1632 if (!-
1633 0 -
1634 && binary < 0
binary < 0Description
TRUEevaluated 67 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 287 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
67-287
1635 binary = 0;
executed 67 times by 7 tests: binary = 0;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
67
1636-
1637 char **operand_lim = argv + argc;-
1638 if (optind == argc
optind == argcDescription
TRUEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 340 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
14-340
1639 *
executed 14 times by 7 tests: *operand_lim++ = bad_cast ("-");
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
operand_lim++ = bad_cast ("-");
executed 14 times by 7 tests: *operand_lim++ = bad_cast ("-");
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
14
1640-
1641 for (char **operandp = argv + optind; operandp < operand_lim
operandp < operand_limDescription
TRUEevaluated 1851 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 354 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
; operandp++)
354-1851
1642 {-
1643 char *file = *operandp;-
1644-
1645 if (do_check
do_checkDescription
TRUEevaluated 41 times by 3 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
FALSEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
41-1810
1646 ok &= digest_check (file);
executed 41 times by 3 tests: ok &= digest_check (file);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
41
1647 else-
1648 {-
1649 int file_is_binary = binary;-
1650 -
1651 _Bool -
1652 missing;-
1653-
1654 if (! digest_file (file, &file_is_binary, bin_buffer, &missing)
! digest_file ...fer, &missing)Description
TRUEnever evaluated
FALSEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
0-1810
1655 ok =
never executed: ok = 0 ;
0
1656 0
never executed: ok = 0 ;
0
1657 ;
never executed: ok = 0 ;
0
1658 else-
1659 {-
1660-
1661-
1662-
1663-
1664-
1665-
1666-
1667 -
1668 _Bool -
1669 needs_escape = -
1670 (
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '\\' )Description
TRUEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1671 '\\'
__builtin_constant_p ( '\\' )Description
TRUEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1672 )
__builtin_constant_p ( '\\' )Description
TRUEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( file )Description
TRUEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1673 file
!__builtin_constant_p ( file )Description
TRUEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1674 )
!__builtin_constant_p ( file )Description
TRUEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
&& (
( '\\' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1675 '\\'
( '\\' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1676 ) == '\0'
( '\\' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
? (char *) __rawmemchr (
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1810
1677 file
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1678 ,
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1679 '\\'
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1680 ) : __builtin_strchr (
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1681 file
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1682 ,
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1683 '\\'
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1684 )))
(__extension__...ile , '\\' )))Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
5-1805
1685 || -
1686 (
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
__extension__ (__builtin_constant_p (
__builtin_constant_p ( '\n' )Description
TRUEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1687 '\n'
__builtin_constant_p ( '\n' )Description
TRUEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1688 )
__builtin_constant_p ( '\n' )Description
TRUEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
&& !__builtin_constant_p (
!__builtin_constant_p ( file )Description
TRUEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1689 file
!__builtin_constant_p ( file )Description
TRUEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1690 )
!__builtin_constant_p ( file )Description
TRUEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEnever evaluated
&& (
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1691 '\n'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1692 ) == '\0'
( '\n' ) == '\0'Description
TRUEnever evaluated
FALSEevaluated 1805 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
? (char *) __rawmemchr (
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-1805
1693 file
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1694 ,
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1695 '\n'
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1696 ) : __builtin_strchr (
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1697 file
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1698 ,
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1699 '\n'
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1700 )))
(__extension__...ile , '\n' )))Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1801 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
4-1801
1701 ;-
1702-
1703 if (prefix_tag
prefix_tagDescription
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
FALSEevaluated 1790 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
20-1790
1704 {-
1705 if (needs_escape
needs_escapeDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • md5sum
FALSEevaluated 16 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
)
4-16
1706 putchar_unlocked ('\\');
executed 4 times by 1 test: putchar_unlocked ('\\');
Executed by:
  • md5sum
4
1707-
1708-
1709-
1710-
1711-
1712-
1713 fputs_unlocked ("MD5",-
1714 stdout-
1715 );-
1716-
1717 fputs_unlocked (" (",-
1718 stdout-
1719 );-
1720 print_filename (file, needs_escape);-
1721 fputs_unlocked (") = ",-
1722 stdout-
1723 );-
1724 }
executed 20 times by 2 tests: end of block
Executed by:
  • b2sum
  • md5sum
20
1725-
1726-
1727-
1728 if (!prefix_tag
!prefix_tagDescription
TRUEevaluated 1790 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
&& needs_escape
needs_escapeDescription
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • md5sum
  • sha1sum
FALSEevaluated 1785 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
)
5-1790
1729 putchar_unlocked ('\\');
executed 5 times by 2 tests: putchar_unlocked ('\\');
Executed by:
  • md5sum
  • sha1sum
5
1730-
1731 for (size_t i = 0; i < (digest_hex_bytes / 2)
i < (digest_hex_bytes / 2)Description
TRUEevaluated 30992 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 1810 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
; ++i)
1810-30992
1732 printf ("%02x", bin_buffer[i]);
executed 30992 times by 7 tests: printf ("%02x", bin_buffer[i]);
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
30992
1733-
1734 if (!prefix_tag
!prefix_tagDescription
TRUEevaluated 1790 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • b2sum
  • md5sum
)
20-1790
1735 {-
1736 putchar_unlocked (' ');-
1737-
1738 putchar_unlocked (file_is_binary ? '*' : ' ');-
1739-
1740 print_filename (file, needs_escape);-
1741 }
executed 1790 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1790
1742-
1743 putchar_unlocked ('\n');-
1744 }
executed 1810 times by 7 tests: end of block
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
1810
1745 }-
1746 }-
1747-
1748 if (have_read_stdin
have_read_stdinDescription
TRUEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
FALSEevaluated 340 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
&&
14-340
1749 rpl_fclose
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-14
1750 (
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-14
1751 stdin
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-14
1752 ) ==
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-14
1753 (-1)
rpl_fclose ( stdin ) == (-1)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
0-14
1754 )-
1755 ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "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), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1756 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1757 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"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), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1758 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1759 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1760 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1761 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1762 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1763 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1764 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1765 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1766 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1767 ) ? (void) 0 : __builtin_unreachable ()))) : ((error (
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1768 1
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1769 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1770 (*__errno_location ())
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1771 ,
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1772 dcgettext (((void *)0),
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1773 "standard input"
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1774 , 5)
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1775 ), ((
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1776 0
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1777 ) ? (void) 0 : __builtin_unreachable ()))));
never executed: ((!!sizeof (struct { _Static_assert ( 1 , "verify_expr (" "1" ", " "(error (1, (*__errno_location ()), dcgettext (((void *)0), \"standard input\", 5)), assume (false))" ")"); int _gl_dummy; })) ? ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))) : ((error ( 1 , (*__errno_location ()) , dcgettext (((void *)0), "standard input" , 5) ), (( 0 ) ? (void) 0 : __builtin_unreachable ()))));
0
1778-
1779 return
executed 354 times by 7 tests: return ok ? 0 : 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
ok ?
executed 354 times by 7 tests: return ok ? 0 : 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
354
1780 0
executed 354 times by 7 tests: return ok ? 0 : 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
354
1781 :
executed 354 times by 7 tests: return ok ? 0 : 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
354
1782 1
executed 354 times by 7 tests: return ok ? 0 : 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
354
1783 ;
executed 354 times by 7 tests: return ok ? 0 : 1 ;
Executed by:
  • b2sum
  • md5sum
  • sha1sum
  • sha224sum
  • sha256sum
  • sha384sum
  • sha512sum
354
1784}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.1.2