OpenCoverage

od.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/coreutils/src/src/od.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3typedef unsigned long long int unsigned_long_long_int;-
4-
5-
6-
7-
8-
9-
10enum size_spec-
11 {-
12 NO_SIZE,-
13 CHAR,-
14 SHORT,-
15 INT,-
16 LONG,-
17 LONG_LONG,-
18-
19 FLOAT_SINGLE,-
20 FLOAT_DOUBLE,-
21 FLOAT_LONG_DOUBLE,-
22 N_SIZE_SPECS-
23 };-
24-
25enum output_format-
26 {-
27 SIGNED_DECIMAL,-
28 UNSIGNED_DECIMAL,-
29 OCTAL,-
30 HEXADECIMAL,-
31 FLOATING_POINT,-
32 NAMED_CHARACTER,-
33 CHARACTER-
34 };-
35-
36-
37-
38-
39-
40-
41-
42enum-
43 {-
44 FMT_BYTES_ALLOCATED =-
45 (sizeof "%*.99" - 1-
46 + -
47 (((-
48 sizeof "ld"-
49 )>((((-
50 sizeof -
51 "l" "d")>((((-
52 sizeof -
53 "l" "o")>((((-
54 sizeof -
55 "l" "u")>(-
56 sizeof -
57 "l" "x"))?(-
58 sizeof -
59 "l" "u"):(-
60 sizeof -
61 "l" "x"))))?(-
62 sizeof -
63 "l" "o"):((((-
64 sizeof -
65 "l" "u")>(-
66 sizeof -
67 "l" "x"))?(-
68 sizeof -
69 "l" "u"):(-
70 sizeof -
71 "l" "x"))))))?(-
72 sizeof -
73 "l" "d"):((((-
74 sizeof -
75 "l" "o")>((((-
76 sizeof -
77 "l" "u")>(-
78 sizeof -
79 "l" "x"))?(-
80 sizeof -
81 "l" "u"):(-
82 sizeof -
83 "l" "x"))))?(-
84 sizeof -
85 "l" "o"):((((-
86 sizeof -
87 "l" "u")>(-
88 sizeof -
89 "l" "x"))?(-
90 sizeof -
91 "l" "u"):(-
92 sizeof -
93 "l" "x"))))))))?(-
94 sizeof "ld"-
95 ):((((-
96 sizeof -
97 "l" "d")>((((-
98 sizeof -
99 "l" "o")>((((-
100 sizeof -
101 "l" "u")>(-
102 sizeof -
103 "l" "x"))?(-
104 sizeof -
105 "l" "u"):(-
106 sizeof -
107 "l" "x"))))?(-
108 sizeof -
109 "l" "o"):((((-
110 sizeof -
111 "l" "u")>(-
112 sizeof -
113 "l" "x"))?(-
114 sizeof -
115 "l" "u"):(-
116 sizeof -
117 "l" "x"))))))?(-
118 sizeof -
119 "l" "d"):((((-
120 sizeof -
121 "l" "o")>((((-
122 sizeof -
123 "l" "u")>(-
124 sizeof -
125 "l" "x"))?(-
126 sizeof -
127 "l" "u"):(-
128 sizeof -
129 "l" "x"))))?(-
130 sizeof -
131 "l" "o"):((((-
132 sizeof -
133 "l" "u")>(-
134 sizeof -
135 "l" "x"))?(-
136 sizeof -
137 "l" "u"):(-
138 sizeof -
139 "l" "x"))))))))-
140-
141-
142-
143 -
144 )-
145 };-
146-
147-
148_Static_assert (sizeof (unsigned_long_long_int) * 8 / 3 <= 99, "verify (" "MAX_INTEGRAL_TYPE_SIZE * CHAR_BIT / 3 <= 99" ")");-
149-
150-
151-
152struct tspec-
153 {-
154 enum output_format fmt;-
155 enum size_spec size;-
156-
157-
158-
159-
160 void (*print_function) (size_t fields, size_t blank, void const *data,-
161 char const *fmt, int width, int pad);-
162 char fmt_string[FMT_BYTES_ALLOCATED];-
163 -
164 _Bool -
165 hexl_mode_trailer;-
166 int field_width;-
167 int pad_width;-
168 };-
169static unsigned int const bytes_to_oct_digits[] =-
170{0, 3, 6, 8, 11, 14, 16, 19, 22, 25, 27, 30, 32, 35, 38, 41, 43};-
171-
172static unsigned int const bytes_to_signed_dec_digits[] =-
173{1, 4, 6, 8, 11, 13, 16, 18, 20, 23, 25, 28, 30, 33, 35, 37, 40};-
174-
175static unsigned int const bytes_to_unsigned_dec_digits[] =-
176{0, 3, 5, 8, 10, 13, 15, 17, 20, 22, 25, 27, 29, 32, 34, 37, 39};-
177-
178static unsigned int const bytes_to_hex_digits[] =-
179{0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32};-
180-
181-
182-
183-
184_Static_assert (sizeof (unsigned_long_long_int) < (sizeof (bytes_to_hex_digits) / sizeof *(bytes_to_hex_digits)), "verify (" "MAX_INTEGRAL_TYPE_SIZE < ARRAY_CARDINALITY (bytes_to_hex_digits)" ")");-
185-
186-
187_Static_assert (sizeof bytes_to_oct_digits == sizeof bytes_to_signed_dec_digits, "verify (" "sizeof bytes_to_oct_digits == sizeof bytes_to_signed_dec_digits" ")");-
188_Static_assert (sizeof bytes_to_oct_digits == sizeof bytes_to_unsigned_dec_digits, "verify (" "sizeof bytes_to_oct_digits == sizeof bytes_to_unsigned_dec_digits" ")");-
189_Static_assert (sizeof bytes_to_oct_digits == sizeof bytes_to_hex_digits, "verify (" "sizeof bytes_to_oct_digits == sizeof bytes_to_hex_digits" ")");-
190-
191-
192static const int width_bytes[] =-
193{-
194 -1,-
195 sizeof (char),-
196 sizeof (short int),-
197 sizeof (int),-
198 sizeof (long int),-
199 sizeof (unsigned_long_long_int),-
200 sizeof (float),-
201 sizeof (double),-
202 sizeof (long double)-
203};-
204-
205-
206-
207_Static_assert ((sizeof (width_bytes) / sizeof *(width_bytes)) == N_SIZE_SPECS, "verify (" "ARRAY_CARDINALITY (width_bytes) == N_SIZE_SPECS" ")");-
208-
209-
210static char const charname[33][4] =-
211{-
212 "nul", "soh", "stx", "etx", "eot", "enq", "ack", "bel",-
213 "bs", "ht", "nl", "vt", "ff", "cr", "so", "si",-
214 "dle", "dc1", "dc2", "dc3", "dc4", "nak", "syn", "etb",-
215 "can", "em", "sub", "esc", "fs", "gs", "rs", "us",-
216 "sp"-
217};-
218-
219-
220static int address_base;-
221-
222-
223-
224-
225-
226-
227-
228static int address_pad_len;-
229-
230-
231static size_t string_min;-
232-
233-
234static -
235 _Bool -
236 flag_dump_strings;-
237-
238-
239-
240-
241static -
242 _Bool -
243 traditional;-
244-
245-
246static -
247 _Bool -
248 flag_pseudo_start;-
249-
250-
251-
252static uintmax_t pseudo_offset;-
253-
254-
255-
256static void (*format_address) (uintmax_t, char);-
257-
258-
259static uintmax_t n_bytes_to_skip = 0;-
260-
261-
262-
263static -
264 _Bool -
265 limit_bytes_to_format = -
266 0-
267 ;-
268-
269-
270static uintmax_t max_bytes_to_format;-
271-
272-
273static uintmax_t end_offset;-
274-
275-
276-
277-
278static -
279 _Bool -
280 abbreviate_duplicate_blocks = -
281 1-
282 ;-
283-
284-
285static struct tspec *spec;-
286-
287-
288static size_t n_specs;-
289-
290-
291static size_t n_specs_allocated;-
292-
293-
294-
295-
296-
297static size_t bytes_per_block;-
298-
299-
300-
301static char const *input_filename;-
302-
303-
304static char const *const *file_list;-
305-
306-
307-
308static char const *const default_file_list[] = {"-", -
309 ((void *)0)-
310 };-
311-
312-
313static FILE *in_stream;-
314-
315-
316static -
317 _Bool -
318 have_read_stdin;-
319-
320-
321static enum size_spec integral_type_size[sizeof (unsigned_long_long_int) + 1];-
322-
323-
324static enum size_spec fp_type_size[sizeof (long double) + 1];-
325-
326-
327-
328-
329-
330-
331static -
332 _Bool -
333 input_swap;-
334-
335static char const short_options[] = "A:aBbcDdeFfHhIij:LlN:OoS:st:vw::Xx";-
336-
337-
338-
339enum-
340{-
341 TRADITIONAL_OPTION = 0x7f + 1,-
342 ENDIAN_OPTION,-
343};-
344-
345enum endian_type-
346{-
347 endian_little,-
348 endian_big-
349};-
350-
351static char const *const endian_args[] =-
352{-
353 "little", "big", -
354 ((void *)0)-
355-
356};-
357-
358static enum endian_type const endian_types[] =-
359{-
360 endian_little, endian_big-
361};-
362-
363static struct option const long_options[] =-
364{-
365 {"skip-bytes", -
366 1-
367 , -
368 ((void *)0)-
369 , 'j'},-
370 {"address-radix", -
371 1-
372 , -
373 ((void *)0)-
374 , 'A'},-
375 {"read-bytes", -
376 1-
377 , -
378 ((void *)0)-
379 , 'N'},-
380 {"format", -
381 1-
382 , -
383 ((void *)0)-
384 , 't'},-
385 {"output-duplicates", -
386 0-
387 , -
388 ((void *)0)-
389 , 'v'},-
390 {"strings", -
391 2-
392 , -
393 ((void *)0)-
394 , 'S'},-
395 {"traditional", -
396 0-
397 , -
398 ((void *)0)-
399 , TRADITIONAL_OPTION},-
400 {"width", -
401 2-
402 , -
403 ((void *)0)-
404 , 'w'},-
405 {"endian", -
406 1-
407 , -
408 ((void *)0)-
409 , ENDIAN_OPTION },-
410-
411 {"help", -
412 0-
413 , -
414 ((void *)0)-
415 , GETOPT_HELP_CHAR},-
416 {"version", -
417 0-
418 , -
419 ((void *)0)-
420 , GETOPT_VERSION_CHAR},-
421 {-
422 ((void *)0)-
423 , 0, -
424 ((void *)0)-
425 , 0}-
426};-
427-
428void-
429usage (int status)-
430{-
431 if (status !=
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEevaluated 10 times by 1 test
Evaluated by:
  • od
4-10
432 0
status != 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEevaluated 10 times by 1 test
Evaluated by:
  • od
4-10
433 )-
434 do { fprintf (-
435 stderr-
436 , -
437 dcgettext (((void *)0), -
438 "Try '%s --help' for more information.\n"-
439 , 5)-
440 , program_name); }
executed 4 times by 1 test: end of block
Executed by:
  • od
while (0);
4
441 else-
442 {-
443 printf (-
444 dcgettext (((void *)0), -
445 "Usage: %s [OPTION]... [FILE]...\n or: %s [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]]\n or: %s --traditional [OPTION]... [FILE] [[+]OFFSET[.][b] [+][LABEL][.][b]]\n"-
446 , 5)-
447-
448-
449-
450 -
451 ,-
452 program_name, program_name, program_name);-
453 fputs_unlocked (-
454 dcgettext (((void *)0), -
455 "\nWrite an unambiguous representation, octal bytes by default,\nof FILE to standard output. With more than one FILE argument,\nconcatenate them in the listed order to form the input.\n"-
456 , 5)-
457 ,-
458 stdout-
459 )-
460-
461-
462-
463 ;-
464-
465 emit_stdin_note ();-
466-
467 fputs_unlocked (-
468 dcgettext (((void *)0), -
469 "\nIf first and second call formats both apply, the second format is assumed\nif the last operand begins with + or (if there are 2 operands) a digit.\nAn OFFSET operand means -j OFFSET. LABEL is the pseudo-address\nat first byte printed, incremented when dump is progressing.\nFor OFFSET and LABEL, a 0x or 0X prefix indicates hexadecimal;\nsuffixes may be . for octal and b for multiply by 512.\n"-
470 , 5)-
471 ,-
472 stdout-
473 )-
474-
475-
476-
477-
478-
479-
480-
481 ;-
482-
483 emit_mandatory_arg_note ();-
484-
485 fputs_unlocked (-
486 dcgettext (((void *)0), -
487 " -A, --address-radix=RADIX output format for file offsets; RADIX is one\n of [doxn], for Decimal, Octal, Hex or None\n --endian={big|little} swap input bytes according the specified order\n -j, --skip-bytes=BYTES skip BYTES input bytes first\n"-
488 , 5)-
489 ,-
490 stdout-
491 )-
492-
493-
494-
495-
496 ;-
497 fputs_unlocked (-
498 dcgettext (((void *)0), -
499 " -N, --read-bytes=BYTES limit dump to BYTES input bytes\n -S BYTES, --strings[=BYTES] output strings of at least BYTES graphic chars;\n 3 is implied when BYTES is not specified\n -t, --format=TYPE select output format or formats\n -v, --output-duplicates do not use * to mark line suppression\n -w[BYTES], --width[=BYTES] output BYTES bytes per output line;\n 32 is implied when BYTES is not specified\n --traditional accept arguments in third form above\n"-
500 , 5)-
501 ,-
502 stdout-
503 )-
504 ;-
505 fputs_unlocked (-
506 dcgettext (((void *)0), -
507 " --help display this help and exit\n"-
508 , 5)-
509 ,-
510 stdout-
511 );-
512 fputs_unlocked (-
513 dcgettext (((void *)0), -
514 " --version output version information and exit\n"-
515 , 5)-
516 ,-
517 stdout-
518 );-
519 fputs_unlocked (-
520 dcgettext (((void *)0), -
521 "\n\nTraditional format specifications may be intermixed; they accumulate:\n -a same as -t a, select named characters, ignoring high-order bit\n -b same as -t o1, select octal bytes\n -c same as -t c, select printable characters or backslash escapes\n -d same as -t u2, select unsigned decimal 2-byte units\n"-
522 , 5)-
523 ,-
524 stdout-
525 )-
526-
527-
528-
529-
530-
531-
532-
533 ;-
534 fputs_unlocked (-
535 dcgettext (((void *)0), -
536 " -f same as -t fF, select floats\n -i same as -t dI, select decimal ints\n -l same as -t dL, select decimal longs\n -o same as -t o2, select octal 2-byte units\n -s same as -t d2, select decimal 2-byte units\n -x same as -t x2, select hexadecimal 2-byte units\n"-
537 , 5)-
538 ,-
539 stdout-
540 )-
541-
542-
543-
544-
545-
546-
547 ;-
548 fputs_unlocked (-
549 dcgettext (((void *)0), -
550 "\n\nTYPE is made up of one or more of these specifications:\n a named character, ignoring high-order bit\n c printable character or backslash escape\n"-
551 , 5)-
552 ,-
553 stdout-
554 )-
555-
556-
557-
558-
559-
560 ;-
561 fputs_unlocked (-
562 dcgettext (((void *)0), -
563 " d[SIZE] signed decimal, SIZE bytes per integer\n f[SIZE] floating point, SIZE bytes per float\n o[SIZE] octal, SIZE bytes per integer\n u[SIZE] unsigned decimal, SIZE bytes per integer\n x[SIZE] hexadecimal, SIZE bytes per integer\n"-
564 , 5)-
565 ,-
566 stdout-
567 )-
568-
569-
570-
571-
572-
573 ;-
574 fputs_unlocked (-
575 dcgettext (((void *)0), -
576 "\nSIZE is a number. For TYPE in [doux], SIZE may also be C for\nsizeof(char), S for sizeof(short), I for sizeof(int) or L for\nsizeof(long). If TYPE is f, SIZE may also be F for sizeof(float), D\nfor sizeof(double) or L for sizeof(long double).\n"-
577 , 5)-
578 ,-
579 stdout-
580 )-
581-
582-
583-
584-
585-
586 ;-
587 fputs_unlocked (-
588 dcgettext (((void *)0), -
589 "\nAdding a z suffix to any type displays printable characters at the end of\neach output line.\n"-
590 , 5)-
591 ,-
592 stdout-
593 )-
594-
595-
596-
597 ;-
598 fputs_unlocked (-
599 dcgettext (((void *)0), -
600 "\n\nBYTES is hex with 0x or 0X prefix, and may have a multiplier suffix:\n b 512\n KB 1000\n K 1024\n MB 1000*1000\n M 1024*1024\nand so on for G, T, P, E, Z, Y.\n"-
601 , 5)-
602 ,-
603 stdout-
604 )-
605 ;-
606 emit_ancillary_info ("od");-
607 }
executed 10 times by 1 test: end of block
Executed by:
  • od
10
608 exit (status);
executed 14 times by 1 test: exit (status);
Executed by:
  • od
14
609}-
610static void print_s_char (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { signed char const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 2016 times by 1 test
Evaluated by:
  • od
FALSEevaluated 126 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; signed char x; if (input_swap
input_swapDescription
TRUEnever evaluated
FALSEevaluated 2016 times by 1 test
Evaluated by:
  • od
&& sizeof (signed char) > 1
sizeof (signed char) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { size_t j; union { signed char x; char b[sizeof (signed char)]; } u; for (j = 0; j < sizeof (signed char)
j < sizeof (signed char)Description
TRUEnever evaluated
FALSEnever evaluated
; j++) u.b[j] = ((const char *) p)[sizeof (signed char) - 1 - j];
never executed: u.b[j] = ((const char *) p)[sizeof (signed char) - 1 - j];
x = u.x; }
never executed: end of block
else x = *p;
executed 2016 times by 1 test: x = *p;
Executed by:
  • od
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
executed 2016 times by 1 test: end of block
Executed by:
  • od
}
executed 126 times by 1 test: end of block
Executed by:
  • od
0-2016
611static void print_char (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { unsigned char const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 6121 times by 1 test
Evaluated by:
  • od
FALSEevaluated 384 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; unsigned char x; if (input_swap
input_swapDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 6089 times by 1 test
Evaluated by:
  • od
&& sizeof (unsigned char) > 1
sizeof (unsigned char) > 1Description
TRUEnever evaluated
FALSEevaluated 32 times by 1 test
Evaluated by:
  • od
) { size_t j; union { unsigned char x; char b[sizeof (unsigned char)]; } u; for (j = 0; j < sizeof (unsigned char)
j < sizeof (unsigned char)Description
TRUEnever evaluated
FALSEnever evaluated
; j++) u.b[j] = ((const char *) p)[sizeof (unsigned char) - 1 - j];
never executed: u.b[j] = ((const char *) p)[sizeof (unsigned char) - 1 - j];
x = u.x; }
never executed: end of block
else x = *p;
executed 6121 times by 1 test: x = *p;
Executed by:
  • od
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
executed 6121 times by 1 test: end of block
Executed by:
  • od
}
executed 384 times by 1 test: end of block
Executed by:
  • od
0-6121
612static void print_s_short (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { short int const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 1008 times by 1 test
Evaluated by:
  • od
FALSEevaluated 126 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; short int x; if (input_swap
input_swapDescription
TRUEnever evaluated
FALSEevaluated 1008 times by 1 test
Evaluated by:
  • od
&& sizeof (short int) > 1
sizeof (short int) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { size_t j; union { short int x; char b[sizeof (short int)]; } u; for (j = 0; j < sizeof (short int)
j < sizeof (short int)Description
TRUEnever evaluated
FALSEnever evaluated
; j++) u.b[j] = ((const char *) p)[sizeof (short int) - 1 - j];
never executed: u.b[j] = ((const char *) p)[sizeof (short int) - 1 - j];
x = u.x; }
never executed: end of block
else x = *p;
executed 1008 times by 1 test: x = *p;
Executed by:
  • od
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
executed 1008 times by 1 test: end of block
Executed by:
  • od
}
executed 126 times by 1 test: end of block
Executed by:
  • od
0-1008
613static void print_short (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { unsigned short int const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 3227 times by 1 test
Evaluated by:
  • od
FALSEevaluated 406 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; unsigned short int x; if (input_swap
input_swapDescription
TRUEevaluated 16 times by 1 test
Evaluated by:
  • od
FALSEevaluated 3211 times by 1 test
Evaluated by:
  • od
&& sizeof (unsigned short int) > 1
sizeof (unsign...short int) > 1Description
TRUEevaluated 16 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
) { size_t j; union { unsigned short int x; char b[sizeof (unsigned short int)]; } u; for (j = 0; j < sizeof (unsigned short int)
j < sizeof (un...ned short int)Description
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 16 times by 1 test
Evaluated by:
  • od
; j++) u.b[j] = ((const char *) p)[sizeof (unsigned short int) - 1 - j];
executed 32 times by 1 test: u.b[j] = ((const char *) p)[sizeof (unsigned short int) - 1 - j];
Executed by:
  • od
x = u.x; }
executed 16 times by 1 test: end of block
Executed by:
  • od
else x = *p;
executed 3211 times by 1 test: x = *p;
Executed by:
  • od
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
executed 3227 times by 1 test: end of block
Executed by:
  • od
}
executed 406 times by 1 test: end of block
Executed by:
  • od
0-3227
614static void print_int (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { unsigned int const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 2032 times by 1 test
Evaluated by:
  • od
FALSEevaluated 508 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; unsigned int x; if (input_swap
input_swapDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • od
FALSEevaluated 2024 times by 1 test
Evaluated by:
  • od
&& sizeof (unsigned int) > 1
sizeof (unsigned int) > 1Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
) { size_t j; union { unsigned int x; char b[sizeof (unsigned int)]; } u; for (j = 0; j < sizeof (unsigned int)
j < sizeof (unsigned int)Description
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 8 times by 1 test
Evaluated by:
  • od
; j++) u.b[j] = ((const char *) p)[sizeof (unsigned int) - 1 - j];
executed 32 times by 1 test: u.b[j] = ((const char *) p)[sizeof (unsigned int) - 1 - j];
Executed by:
  • od
x = u.x; }
executed 8 times by 1 test: end of block
Executed by:
  • od
else x = *p;
executed 2024 times by 1 test: x = *p;
Executed by:
  • od
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
executed 2032 times by 1 test: end of block
Executed by:
  • od
}
executed 508 times by 1 test: end of block
Executed by:
  • od
0-2032
615static void print_long (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { unsigned long int const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEnever evaluated
FALSEnever evaluated
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; unsigned long int x; if (input_swap
input_swapDescription
TRUEnever evaluated
FALSEnever evaluated
&& sizeof (unsigned long int) > 1
sizeof (unsigned long int) > 1Description
TRUEnever evaluated
FALSEnever evaluated
) { size_t j; union { unsigned long int x; char b[sizeof (unsigned long int)]; } u; for (j = 0; j < sizeof (unsigned long int)
j < sizeof (unsigned long int)Description
TRUEnever evaluated
FALSEnever evaluated
; j++) u.b[j] = ((const char *) p)[sizeof (unsigned long int) - 1 - j];
never executed: u.b[j] = ((const char *) p)[sizeof (unsigned long int) - 1 - j];
x = u.x; }
never executed: end of block
else x = *p;
never executed: x = *p;
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
never executed: end of block
}
never executed: end of block
0
616static void print_long_long (size_t fields, size_t blank, void const *block, char const *fmt_string, int width, int pad) { unsigned_long_long_int const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 1017 times by 1 test
Evaluated by:
  • od
FALSEevaluated 509 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; unsigned_long_long_int x; if (input_swap
input_swapDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEevaluated 1013 times by 1 test
Evaluated by:
  • od
&& sizeof (unsigned_long_long_int) > 1
sizeof (unsign..._long_int) > 1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
) { size_t j; union { unsigned_long_long_int x; char b[sizeof (unsigned_long_long_int)]; } u; for (j = 0; j < sizeof (unsigned_long_long_int)
j < sizeof (un...long_long_int)Description
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 4 times by 1 test
Evaluated by:
  • od
; j++) u.b[j] = ((const char *) p)[sizeof (unsigned_long_long_int) - 1 - j];
executed 32 times by 1 test: u.b[j] = ((const char *) p)[sizeof (unsigned_long_long_int) - 1 - j];
Executed by:
  • od
x = u.x; }
executed 4 times by 1 test: end of block
Executed by:
  • od
else x = *p;
executed 1013 times by 1 test: x = *p;
Executed by:
  • od
p++; xprintf (fmt_string, adjusted_width, x); pad_remaining = next_pad; }
executed 1017 times by 1 test: end of block
Executed by:
  • od
}
executed 509 times by 1 test: end of block
Executed by:
  • od
0-1017
617-
618static void print_float (size_t fields, size_t blank, void const *block, char const *fmt_string __attribute__ ((__unused__)), int width, int pad) { float const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 523 times by 1 test
Evaluated by:
  • od
FALSEevaluated 131 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; float x; if (input_swap
input_swapDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • od
FALSEevaluated 515 times by 1 test
Evaluated by:
  • od
&& sizeof (float) > 1
sizeof (float) > 1Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
) { size_t j; union { float x; char b[sizeof (float)]; } u; for (j = 0; j < sizeof (float)
j < sizeof (float)Description
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 8 times by 1 test
Evaluated by:
  • od
; j++) u.b[j] = ((const char *) p)[sizeof (float) - 1 - j];
executed 32 times by 1 test: u.b[j] = ((const char *) p)[sizeof (float) - 1 - j];
Executed by:
  • od
x = u.x; }
executed 8 times by 1 test: end of block
Executed by:
  • od
else x = *p;
executed 515 times by 1 test: x = *p;
Executed by:
  • od
p++; char buf[( (1 + (((((24) * 1) * 146 + 484) / 485) + 1) +
0-523
61916 -
620+ 1 + ( -100 < ((-37)) && (38) < 100 ? 3 : -1000 < ((-37)) && (38) < 1000 ? 4 : -10000 < ((-37)) && (38) < 10000 ? 5 : -100000 < ((-37)) && (38) < 100000 ? 6 : -1000000 < ((-37)) && (38) < 1000000 ? 7 : (((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) )) + 1)]; ftoastr (buf, sizeof buf, 0, 0, x); xprintf ("%*s", adjusted_width, buf); pad_remaining = next_pad; }
executed 523 times by 1 test: end of block
Executed by:
  • od
}
executed 131 times by 1 test: end of block
Executed by:
  • od
131-523
621static void print_double (size_t fields, size_t blank, void const *block, char const *fmt_string __attribute__ ((__unused__)), int width, int pad) { double const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 263 times by 1 test
Evaluated by:
  • od
FALSEevaluated 132 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; double x; if (input_swap
input_swapDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEevaluated 259 times by 1 test
Evaluated by:
  • od
&& sizeof (double) > 1
sizeof (double) > 1Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
) { size_t j; union { double x; char b[sizeof (double)]; } u; for (j = 0; j < sizeof (double)
j < sizeof (double)Description
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 4 times by 1 test
Evaluated by:
  • od
; j++) u.b[j] = ((const char *) p)[sizeof (double) - 1 - j];
executed 32 times by 1 test: u.b[j] = ((const char *) p)[sizeof (double) - 1 - j];
Executed by:
  • od
x = u.x; }
executed 4 times by 1 test: end of block
Executed by:
  • od
else x = *p;
executed 259 times by 1 test: x = *p;
Executed by:
  • od
p++; char buf[( (1 + (((((53) * 1) * 146 + 484) / 485) + 1) +
0-263
62216 -
623+ 1 + ( -100 < ((-307)) && (308) < 100 ? 3 : -1000 < ((-307)) && (308) < 1000 ? 4 : -10000 < ((-307)) && (308) < 10000 ? 5 : -100000 < ((-307)) && (308) < 100000 ? 6 : -1000000 < ((-307)) && (308) < 1000000 ? 7 : (((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) )) + 1)]; dtoastr (buf, sizeof buf, 0, 0, x); xprintf ("%*s", adjusted_width, buf); pad_remaining = next_pad; }
executed 263 times by 1 test: end of block
Executed by:
  • od
}
executed 132 times by 1 test: end of block
Executed by:
  • od
132-263
624static void print_long_double (size_t fields, size_t blank, void const *block, char const *fmt_string __attribute__ ((__unused__)), int width, int pad) { long double const *p = block; uintmax_t i; int pad_remaining = pad; for (i = fields; blank < i
blank < iDescription
TRUEevaluated 134 times by 1 test
Evaluated by:
  • od
FALSEevaluated 134 times by 1 test
Evaluated by:
  • od
; i--) { int next_pad = pad * (i - 1) / fields; int adjusted_width = pad_remaining - next_pad + width; long double x; if (input_swap
input_swapDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • od
FALSEevaluated 132 times by 1 test
Evaluated by:
  • od
&& sizeof (long double) > 1
sizeof (long double) > 1Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
) { size_t j; union { long double x; char b[sizeof (long double)]; } u; for (j = 0; j < sizeof (long double)
j < sizeof (long double)Description
TRUEevaluated 32 times by 1 test
Evaluated by:
  • od
FALSEevaluated 2 times by 1 test
Evaluated by:
  • od
; j++) u.b[j] = ((const char *) p)[sizeof (long double) - 1 - j];
executed 32 times by 1 test: u.b[j] = ((const char *) p)[sizeof (long double) - 1 - j];
Executed by:
  • od
x = u.x; }
executed 2 times by 1 test: end of block
Executed by:
  • od
else x = *p;
executed 132 times by 1 test: x = *p;
Executed by:
  • od
p++; char buf[((1 + (((((64) * 1) * 146 + 484) / 485) + 1) +
0-134
62516 -
626+ 1 + ( -100 < ((-4931)) && (4932) < 100 ? 3 : -1000 < ((-4931)) && (4932) < 1000 ? 4 : -10000 < ((-4931)) && (4932) < 10000 ? 5 : -100000 < ((-4931)) && (4932) < 100000 ? 6 : -1000000 < ((-4931)) && (4932) < 1000000 ? 7 : (((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) )) + 1)]; ldtoastr (buf, sizeof buf, 0, 0, x); xprintf ("%*s", adjusted_width, buf); pad_remaining = next_pad; }
executed 134 times by 1 test: end of block
Executed by:
  • od
}
executed 134 times by 1 test: end of block
Executed by:
  • od
134
627-
628-
629-
630-
631static void-
632dump_hexl_mode_trailer (size_t n_bytes, const char *block)-
633{-
634 fputs_unlocked (" >",-
635 stdout-
636 );-
637 for (size_t i = n_bytes; i > 0
i > 0Description
TRUEevaluated 42336 times by 1 test
Evaluated by:
  • od
FALSEevaluated 2646 times by 1 test
Evaluated by:
  • od
; i--)
2646-42336
638 {-
639 unsigned char c = *block++;-
640 unsigned char c2 = (-
641 ((*
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 25578 times by 1 test
Evaluated by:
  • od
FALSEevaluated 16758 times by 1 test
Evaluated by:
  • od
__ctype_b_loc ())[(int) ((
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 25578 times by 1 test
Evaluated by:
  • od
FALSEevaluated 16758 times by 1 test
Evaluated by:
  • od
16758-25578
642 c
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 25578 times by 1 test
Evaluated by:
  • od
FALSEevaluated 16758 times by 1 test
Evaluated by:
  • od
16758-25578
643 ))] & (unsigned short int) _ISprint)
((*__ctype_b_l...int) _ISprint)Description
TRUEevaluated 25578 times by 1 test
Evaluated by:
  • od
FALSEevaluated 16758 times by 1 test
Evaluated by:
  • od
16758-25578
644 ? c : '.');-
645 putchar_unlocked (c2);-
646 }
executed 42336 times by 1 test: end of block
Executed by:
  • od
42336
647 putchar_unlocked ('<');-
648}
executed 2646 times by 1 test: end of block
Executed by:
  • od
2646
649-
650static void-
651print_named_ascii (size_t fields, size_t blank, void const *block,-
652 const char *unused_fmt_string __attribute__ ((__unused__)),-
653 int width, int pad)-
654{-
655 unsigned char const *p = block;-
656 uintmax_t i;-
657 int pad_remaining = pad;-
658 for (i = fields; blank < i
blank < iDescription
TRUEevaluated 2017 times by 1 test
Evaluated by:
  • od
FALSEevaluated 127 times by 1 test
Evaluated by:
  • od
; i--)
127-2017
659 {-
660 int next_pad = pad * (i - 1) / fields;-
661 int masked_c = *p++ & 0x7f;-
662 const char *s;-
663 char buf[2];-
664-
665 if (masked_c == 127
masked_c == 127Description
TRUEnever evaluated
FALSEevaluated 2017 times by 1 test
Evaluated by:
  • od
)
0-2017
666 s = "del";
never executed: s = "del";
0
667 else if (masked_c <= 040
masked_c <= 040Description
TRUEevaluated 798 times by 1 test
Evaluated by:
  • od
FALSEevaluated 1219 times by 1 test
Evaluated by:
  • od
)
798-1219
668 s = charname[masked_c];
executed 798 times by 1 test: s = charname[masked_c];
Executed by:
  • od
798
669 else-
670 {-
671 buf[0] = masked_c;-
672 buf[1] = 0;-
673 s = buf;-
674 }
executed 1219 times by 1 test: end of block
Executed by:
  • od
1219
675-
676 xprintf ("%*s", pad_remaining - next_pad + width, s);-
677 pad_remaining = next_pad;-
678 }
executed 2017 times by 1 test: end of block
Executed by:
  • od
2017
679}
executed 127 times by 1 test: end of block
Executed by:
  • od
127
680-
681static void-
682print_ascii (size_t fields, size_t blank, void const *block,-
683 const char *unused_fmt_string __attribute__ ((__unused__)), int width,-
684 int pad)-
685{-
686 unsigned char const *p = block;-
687 uintmax_t i;-
688 int pad_remaining = pad;-
689 for (i = fields; blank < i
blank < iDescription
TRUEevaluated 2025 times by 1 test
Evaluated by:
  • od
FALSEevaluated 131 times by 1 test
Evaluated by:
  • od
; i--)
131-2025
690 {-
691 int next_pad = pad * (i - 1) / fields;-
692 unsigned char c = *p++;-
693 const char *s;-
694 char buf[4];-
695-
696 switch (c)-
697 {-
698 case
never executed: case '\0':
'\0':
never executed: case '\0':
0
699 s = "\\0";-
700 break;
never executed: break;
0
701-
702 case
never executed: case '\a':
'\a':
never executed: case '\a':
0
703 s = "\\a";-
704 break;
never executed: break;
0
705-
706 case
never executed: case '\b':
'\b':
never executed: case '\b':
0
707 s = "\\b";-
708 break;
never executed: break;
0
709-
710 case
never executed: case '\f':
'\f':
never executed: case '\f':
0
711 s = "\\f";-
712 break;
never executed: break;
0
713-
714 case
executed 798 times by 1 test: case '\n':
Executed by:
  • od
'\n':
executed 798 times by 1 test: case '\n':
Executed by:
  • od
798
715 s = "\\n";-
716 break;
executed 798 times by 1 test: break;
Executed by:
  • od
798
717-
718 case
never executed: case '\r':
'\r':
never executed: case '\r':
0
719 s = "\\r";-
720 break;
never executed: break;
0
721-
722 case
never executed: case '\t':
'\t':
never executed: case '\t':
0
723 s = "\\t";-
724 break;
never executed: break;
0
725-
726 case
never executed: case '\v':
'\v':
never executed: case '\v':
0
727 s = "\\v";-
728 break;
never executed: break;
0
729-
730 default
executed 1227 times by 1 test: default:
Executed by:
  • od
:
executed 1227 times by 1 test: default:
Executed by:
  • od
1227
731 sprintf (buf, (-
732 ((*__ctype_b_loc ())[(int) ((-
733 c-
734 ))] & (unsigned short int) _ISprint) -
735 ? "%c" : "%03o"), c);-
736 s = buf;-
737 }
executed 1227 times by 1 test: end of block
Executed by:
  • od
1227
738-
739 xprintf ("%*s", pad_remaining - next_pad + width, s);-
740 pad_remaining = next_pad;-
741 }
executed 2025 times by 1 test: end of block
Executed by:
  • od
2025
742}
executed 131 times by 1 test: end of block
Executed by:
  • od
131
743static -
744 _Bool-
745-
746simple_strtoul (const char *s, const char **p, unsigned long int *val)-
747{-
748 unsigned long int sum;-
749-
750 sum = 0;-
751 while (((
((unsigned int...s) - '0' <= 9)Description
TRUEevaluated 60 times by 1 test
Evaluated by:
  • od
FALSEevaluated 52 times by 1 test
Evaluated by:
  • od
unsigned int) (*s) - '0' <= 9)
((unsigned int...s) - '0' <= 9)Description
TRUEevaluated 60 times by 1 test
Evaluated by:
  • od
FALSEevaluated 52 times by 1 test
Evaluated by:
  • od
)
52-60
752 {-
753 int c = *s++ - '0';-
754 if (sum > (
sum > ( (0x7ff...1UL) - c) / 10Description
TRUEnever evaluated
FALSEevaluated 60 times by 1 test
Evaluated by:
  • od
0-60
755 (0x7fffffffffffffffL * 2UL + 1UL)
sum > ( (0x7ff...1UL) - c) / 10Description
TRUEnever evaluated
FALSEevaluated 60 times by 1 test
Evaluated by:
  • od
0-60
756 - c) / 10
sum > ( (0x7ff...1UL) - c) / 10Description
TRUEnever evaluated
FALSEevaluated 60 times by 1 test
Evaluated by:
  • od
)
0-60
757 return
never executed: return 0 ;
never executed: return 0 ;
0
758 0
never executed: return 0 ;
0
759 ;
never executed: return 0 ;
0
760 sum = sum * 10 + c;-
761 }
executed 60 times by 1 test: end of block
Executed by:
  • od
60
762 *p = s;-
763 *val = sum;-
764 return
executed 52 times by 1 test: return 1 ;
Executed by:
  • od
executed 52 times by 1 test: return 1 ;
Executed by:
  • od
52
765 1
executed 52 times by 1 test: return 1 ;
Executed by:
  • od
52
766 ;
executed 52 times by 1 test: return 1 ;
Executed by:
  • od
52
767}-
768static -
769 _Bool-
770-
771decode_one_format (const char *s_orig, const char *s, const char **next,-
772 struct tspec *tspec)-
773{-
774 enum size_spec size_spec;-
775 unsigned long int size;-
776 enum output_format fmt;-
777 void (*print_function) (size_t, size_t, void const *, char const *,-
778 int, int);-
779 const char *p;-
780 char c;-
781 int field_width;-
782-
783 -
784 ((-
785 tspec != -
786 ((void *)0)) ? (void) (0) : __assert_fail (-
787 "tspec != NULL"-
788 , "src/od.c", 645, __PRETTY_FUNCTION__))-
789 ;-
790-
791 switch (*s)-
792 {-
793 case
executed 168 times by 1 test: case 'd':
Executed by:
  • od
'd':
executed 168 times by 1 test: case 'd':
Executed by:
  • od
168
794 case
executed 178 times by 1 test: case 'o':
Executed by:
  • od
'o':
executed 178 times by 1 test: case 'o':
Executed by:
  • od
178
795 case
executed 168 times by 1 test: case 'u':
Executed by:
  • od
'u':
executed 168 times by 1 test: case 'u':
Executed by:
  • od
168
796 case
executed 198 times by 1 test: case 'x':
Executed by:
  • od
'x':
executed 198 times by 1 test: case 'x':
Executed by:
  • od
198
797 c = *s;-
798 ++s;-
799 switch (*s)-
800 {-
801 case
executed 168 times by 1 test: case 'C':
Executed by:
  • od
'C':
executed 168 times by 1 test: case 'C':
Executed by:
  • od
168
802 ++s;-
803 size = sizeof (char);-
804 break;
executed 168 times by 1 test: break;
Executed by:
  • od
168
805-
806 case
executed 178 times by 1 test: case 'S':
Executed by:
  • od
'S':
executed 178 times by 1 test: case 'S':
Executed by:
  • od
178
807 ++s;-
808 size = sizeof (short int);-
809 break;
executed 178 times by 1 test: break;
Executed by:
  • od
178
810-
811 case
executed 168 times by 1 test: case 'I':
Executed by:
  • od
'I':
executed 168 times by 1 test: case 'I':
Executed by:
  • od
168
812 ++s;-
813 size = sizeof (int);-
814 break;
executed 168 times by 1 test: break;
Executed by:
  • od
168
815-
816 case
executed 168 times by 1 test: case 'L':
Executed by:
  • od
'L':
executed 168 times by 1 test: case 'L':
Executed by:
  • od
168
817 ++s;-
818 size = sizeof (long int);-
819 break;
executed 168 times by 1 test: break;
Executed by:
  • od
168
820-
821 default
executed 30 times by 1 test: default:
Executed by:
  • od
:
executed 30 times by 1 test: default:
Executed by:
  • od
30
822 if (! simple_strtoul (s, &p, &size)
! simple_strto...(s, &p, &size)Description
TRUEnever evaluated
FALSEevaluated 30 times by 1 test
Evaluated by:
  • od
)
0-30
823 {-
824-
825-
826-
827 error (0, 0, -
828 dcgettext (((void *)0), -
829 "invalid type string %s"-
830 , 5)-
831 , quote (s_orig));-
832 return
never executed: return 0 ;
never executed: return 0 ;
0
833 0
never executed: return 0 ;
0
834 ;
never executed: return 0 ;
0
835 }-
836 if (p == s
p == sDescription
TRUEnever evaluated
FALSEevaluated 30 times by 1 test
Evaluated by:
  • od
)
0-30
837 size = sizeof (int);
never executed: size = sizeof (int);
0
838 else-
839 {-
840 if (sizeof (unsigned_long_long_int) < size
sizeof (unsign...ng_int) < sizeDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • od
FALSEevaluated 28 times by 1 test
Evaluated by:
  • od
2-28
841 || integral_type_size[size] == NO_SIZE
integral_type_...ze] == NO_SIZEDescription
TRUEnever evaluated
FALSEevaluated 28 times by 1 test
Evaluated by:
  • od
)
0-28
842 {-
843 error (0, 0, -
844 dcgettext (((void *)0), -
845 "invalid type string %s;\nthis system" " doesn't provide a %lu-byte integral type"-
846 , 5)-
847 -
848 ,-
849 quote (s_orig), size);-
850 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
2
851 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
2
852 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
2
853 }-
854 s = p;-
855 }
executed 28 times by 1 test: end of block
Executed by:
  • od
28
856 break;
executed 28 times by 1 test: break;
Executed by:
  • od
28
857 }-
858-
859-
860-
861-
862-
863-
864 size_spec = integral_type_size[size];-
865-
866 switch (c)-
867 {-
868 case
executed 168 times by 1 test: case 'd':
Executed by:
  • od
'd':
executed 168 times by 1 test: case 'd':
Executed by:
  • od
168
869 fmt = SIGNED_DECIMAL;-
870 field_width = bytes_to_signed_dec_digits[size];-
871 sprintf (tspec->fmt_string, "%%*%s",-
872 ((size_spec) == LONG_LONG ? (-
873 "l" "d"-
874 ) : ((size_spec) == LONG ? ("ld") : ("d"))));-
875 break;
executed 168 times by 1 test: break;
Executed by:
  • od
168
876-
877 case
executed 178 times by 1 test: case 'o':
Executed by:
  • od
'o':
executed 178 times by 1 test: case 'o':
Executed by:
  • od
178
878 fmt = OCTAL;-
879 sprintf (tspec->fmt_string, "%%*.%d%s",-
880 (field_width = bytes_to_oct_digits[size]),-
881 ((size_spec) == LONG_LONG ? (-
882 "l" "o"-
883 ) : ((size_spec) == LONG ? ("lo") : ("o"))));-
884 break;
executed 178 times by 1 test: break;
Executed by:
  • od
178
885-
886 case
executed 168 times by 1 test: case 'u':
Executed by:
  • od
'u':
executed 168 times by 1 test: case 'u':
Executed by:
  • od
168
887 fmt = UNSIGNED_DECIMAL;-
888 field_width = bytes_to_unsigned_dec_digits[size];-
889 sprintf (tspec->fmt_string, "%%*%s",-
890 ((size_spec) == LONG_LONG ? (-
891 "l" "u"-
892 ) : ((size_spec) == LONG ? ("lu") : ("u"))));-
893 break;
executed 168 times by 1 test: break;
Executed by:
  • od
168
894-
895 case
executed 196 times by 1 test: case 'x':
Executed by:
  • od
'x':
executed 196 times by 1 test: case 'x':
Executed by:
  • od
196
896 fmt = HEXADECIMAL;-
897 sprintf (tspec->fmt_string, "%%*.%d%s",-
898 (field_width = bytes_to_hex_digits[size]),-
899 ((size_spec) == LONG_LONG ? (-
900 "l" "x"-
901 ) : ((size_spec) == LONG ? ("lx") : ("x"))));-
902 break;
executed 196 times by 1 test: break;
Executed by:
  • od
196
903-
904 default
never executed: default:
:
never executed: default:
0
905 abort ();
never executed: abort ();
0
906 }-
907-
908 -
909 ((-
910 strlen (tspec->fmt_string) < FMT_BYTES_ALLOCATED-
911 ) ? (void) (0) : __assert_fail (-
912 "strlen (tspec->fmt_string) < FMT_BYTES_ALLOCATED"-
913 , "src/od.c", 744, __PRETTY_FUNCTION__))-
914 ;-
915-
916 switch (size_spec)-
917 {-
918 case
executed 176 times by 1 test: case CHAR:
Executed by:
  • od
CHAR:
executed 176 times by 1 test: case CHAR:
Executed by:
  • od
176
919 print_function = (fmt == SIGNED_DECIMAL
fmt == SIGNED_DECIMALDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • od
FALSEevaluated 134 times by 1 test
Evaluated by:
  • od
42-134
920 ? print_s_char-
921 : print_char);-
922 break;
executed 176 times by 1 test: break;
Executed by:
  • od
176
923-
924 case
executed 184 times by 1 test: case SHORT:
Executed by:
  • od
SHORT:
executed 184 times by 1 test: case SHORT:
Executed by:
  • od
184
925 print_function = (fmt == SIGNED_DECIMAL
fmt == SIGNED_DECIMALDescription
TRUEevaluated 42 times by 1 test
Evaluated by:
  • od
FALSEevaluated 142 times by 1 test
Evaluated by:
  • od
42-142
926 ? print_s_short-
927 : print_short);-
928 break;
executed 184 times by 1 test: break;
Executed by:
  • od
184
929-
930 case
executed 174 times by 1 test: case INT:
Executed by:
  • od
INT:
executed 174 times by 1 test: case INT:
Executed by:
  • od
174
931 print_function = print_int;-
932 break;
executed 174 times by 1 test: break;
Executed by:
  • od
174
933-
934 case
never executed: case LONG:
LONG:
never executed: case LONG:
0
935 print_function = print_long;-
936 break;
never executed: break;
0
937-
938 case
executed 176 times by 1 test: case LONG_LONG:
Executed by:
  • od
LONG_LONG:
executed 176 times by 1 test: case LONG_LONG:
Executed by:
  • od
176
939 print_function = print_long_long;-
940 break;
executed 176 times by 1 test: break;
Executed by:
  • od
176
941-
942 default
never executed: default:
:
never executed: default:
0
943 abort ();
never executed: abort ();
0
944 }-
945 break;
executed 710 times by 1 test: break;
Executed by:
  • od
710
946-
947 case
executed 152 times by 1 test: case 'f':
Executed by:
  • od
'f':
executed 152 times by 1 test: case 'f':
Executed by:
  • od
152
948 fmt = FLOATING_POINT;-
949 ++s;-
950 switch (*s)-
951 {-
952 case
executed 43 times by 1 test: case 'F':
Executed by:
  • od
'F':
executed 43 times by 1 test: case 'F':
Executed by:
  • od
43
953 ++s;-
954 size = sizeof (float);-
955 break;
executed 43 times by 1 test: break;
Executed by:
  • od
43
956-
957 case
executed 43 times by 1 test: case 'D':
Executed by:
  • od
'D':
executed 43 times by 1 test: case 'D':
Executed by:
  • od
43
958 ++s;-
959 size = sizeof (double);-
960 break;
executed 43 times by 1 test: break;
Executed by:
  • od
43
961-
962 case
executed 44 times by 1 test: case 'L':
Executed by:
  • od
'L':
executed 44 times by 1 test: case 'L':
Executed by:
  • od
44
963 ++s;-
964 size = sizeof (long double);-
965 break;
executed 44 times by 1 test: break;
Executed by:
  • od
44
966-
967 default
executed 22 times by 1 test: default:
Executed by:
  • od
:
executed 22 times by 1 test: default:
Executed by:
  • od
22
968 if (! simple_strtoul (s, &p, &size)
! simple_strto...(s, &p, &size)Description
TRUEnever evaluated
FALSEevaluated 22 times by 1 test
Evaluated by:
  • od
)
0-22
969 {-
970-
971-
972-
973 error (0, 0, -
974 dcgettext (((void *)0), -
975 "invalid type string %s"-
976 , 5)-
977 , quote (s_orig));-
978 return
never executed: return 0 ;
never executed: return 0 ;
0
979 0
never executed: return 0 ;
0
980 ;
never executed: return 0 ;
0
981 }-
982 if (p == s
p == sDescription
TRUEnever evaluated
FALSEevaluated 22 times by 1 test
Evaluated by:
  • od
)
0-22
983 size = sizeof (double);
never executed: size = sizeof (double);
0
984 else-
985 {-
986 if (size > sizeof (long double)
size > sizeof (long double)Description
TRUEnever evaluated
FALSEevaluated 22 times by 1 test
Evaluated by:
  • od
0-22
987 || fp_type_size[size] == NO_SIZE
fp_type_size[size] == NO_SIZEDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • od
FALSEevaluated 18 times by 1 test
Evaluated by:
  • od
)
4-18
988 {-
989 error (0, 0,-
990 -
991 dcgettext (((void *)0), -
992 "invalid type string %s;\n" "this system doesn't provide a %lu-byte" " floating point type"-
993 , 5)-
994-
995 -
996 ,-
997 quote (s_orig), size);-
998 return
executed 4 times by 1 test: return 0 ;
Executed by:
  • od
executed 4 times by 1 test: return 0 ;
Executed by:
  • od
4
999 0
executed 4 times by 1 test: return 0 ;
Executed by:
  • od
4
1000 ;
executed 4 times by 1 test: return 0 ;
Executed by:
  • od
4
1001 }-
1002 s = p;-
1003 }
executed 18 times by 1 test: end of block
Executed by:
  • od
18
1004 break;
executed 18 times by 1 test: break;
Executed by:
  • od
18
1005 }-
1006 size_spec = fp_type_size[size];-
1007-
1008 {-
1009 struct lconv const *locale = localeconv ();-
1010 size_t decimal_point_len =-
1011 (locale->decimal_point[0]
locale->decimal_point[0]Description
TRUEevaluated 148 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
? strlen (locale->decimal_point) : 1);
0-148
1012-
1013 switch (size_spec)-
1014 {-
1015 case
executed 49 times by 1 test: case FLOAT_SINGLE:
Executed by:
  • od
FLOAT_SINGLE:
executed 49 times by 1 test: case FLOAT_SINGLE:
Executed by:
  • od
49
1016 print_function = print_float;-
1017 field_width = (1 + (((((24) * 1) * 146 + 484) / 485) + 1) + decimal_point_len + 1 + ( -
-100 < ((-37))Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
100 < ((-37))
-100 < ((-37))Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
&& (
(38) < 100Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
38) < 100
(38) < 100Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
? 3 : -
-1000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
1000 < ((-37))
-1000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(38) < 1000Description
TRUEnever evaluated
FALSEnever evaluated
38) < 1000
(38) < 1000Description
TRUEnever evaluated
FALSEnever evaluated
? 4 : -
-10000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
10000 < ((-37))
-10000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(38) < 10000Description
TRUEnever evaluated
FALSEnever evaluated
38) < 10000
(38) < 10000Description
TRUEnever evaluated
FALSEnever evaluated
? 5 : -
-100000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
100000 < ((-37))
-100000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(38) < 100000Description
TRUEnever evaluated
FALSEnever evaluated
38) < 100000
(38) < 100000Description
TRUEnever evaluated
FALSEnever evaluated
? 6 : -
-1000000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
1000000 < ((-37))
-1000000 < ((-37))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(38) < 1000000Description
TRUEnever evaluated
FALSEnever evaluated
38) < 1000000
(38) < 1000000Description
TRUEnever evaluated
FALSEnever evaluated
? 7 : (((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) ));
0-49
1018 break;
executed 49 times by 1 test: break;
Executed by:
  • od
49
1019-
1020 case
executed 49 times by 1 test: case FLOAT_DOUBLE:
Executed by:
  • od
FLOAT_DOUBLE:
executed 49 times by 1 test: case FLOAT_DOUBLE:
Executed by:
  • od
49
1021 print_function = print_double;-
1022 field_width = (1 + (((((53) * 1) * 146 + 484) / 485) + 1) + decimal_point_len + 1 + ( -
-100 < ((-307))Description
TRUEnever evaluated
FALSEevaluated 49 times by 1 test
Evaluated by:
  • od
100 < ((-307))
-100 < ((-307))Description
TRUEnever evaluated
FALSEevaluated 49 times by 1 test
Evaluated by:
  • od
&& (
(308) < 100Description
TRUEnever evaluated
FALSEnever evaluated
308) < 100
(308) < 100Description
TRUEnever evaluated
FALSEnever evaluated
? 3 : -
-1000 < ((-307))Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
1000 < ((-307))
-1000 < ((-307))Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
&& (
(308) < 1000Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
308) < 1000
(308) < 1000Description
TRUEevaluated 49 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
? 4 : -
-10000 < ((-307))Description
TRUEnever evaluated
FALSEnever evaluated
10000 < ((-307))
-10000 < ((-307))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(308) < 10000Description
TRUEnever evaluated
FALSEnever evaluated
308) < 10000
(308) < 10000Description
TRUEnever evaluated
FALSEnever evaluated
? 5 : -
-100000 < ((-307))Description
TRUEnever evaluated
FALSEnever evaluated
100000 < ((-307))
-100000 < ((-307))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(308) < 100000Description
TRUEnever evaluated
FALSEnever evaluated
308) < 100000
(308) < 100000Description
TRUEnever evaluated
FALSEnever evaluated
? 6 : -
-1000000 < ((-307))Description
TRUEnever evaluated
FALSEnever evaluated
1000000 < ((-307))
-1000000 < ((-307))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(308) < 1000000Description
TRUEnever evaluated
FALSEnever evaluated
308) < 1000000
(308) < 1000000Description
TRUEnever evaluated
FALSEnever evaluated
? 7 : (((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) ));
0-49
1023 break;
executed 49 times by 1 test: break;
Executed by:
  • od
49
1024-
1025 case
executed 50 times by 1 test: case FLOAT_LONG_DOUBLE:
Executed by:
  • od
FLOAT_LONG_DOUBLE:
executed 50 times by 1 test: case FLOAT_LONG_DOUBLE:
Executed by:
  • od
50
1026 print_function = print_long_double;-
1027 field_width = (1 + (((((64) * 1) * 146 + 484) / 485) + 1) + decimal_point_len + 1 + ( -
-100 < ((-4931))Description
TRUEnever evaluated
FALSEevaluated 50 times by 1 test
Evaluated by:
  • od
100 < ((-4931))
-100 < ((-4931))Description
TRUEnever evaluated
FALSEevaluated 50 times by 1 test
Evaluated by:
  • od
&& (
(4932) < 100Description
TRUEnever evaluated
FALSEnever evaluated
4932) < 100
(4932) < 100Description
TRUEnever evaluated
FALSEnever evaluated
? 3 : -
-1000 < ((-4931))Description
TRUEnever evaluated
FALSEevaluated 50 times by 1 test
Evaluated by:
  • od
1000 < ((-4931))
-1000 < ((-4931))Description
TRUEnever evaluated
FALSEevaluated 50 times by 1 test
Evaluated by:
  • od
&& (
(4932) < 1000Description
TRUEnever evaluated
FALSEnever evaluated
4932) < 1000
(4932) < 1000Description
TRUEnever evaluated
FALSEnever evaluated
? 4 : -
-10000 < ((-4931))Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
10000 < ((-4931))
-10000 < ((-4931))Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
&& (
(4932) < 10000Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
4932) < 10000
(4932) < 10000Description
TRUEevaluated 50 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
? 5 : -
-100000 < ((-4931))Description
TRUEnever evaluated
FALSEnever evaluated
100000 < ((-4931))
-100000 < ((-4931))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(4932) < 100000Description
TRUEnever evaluated
FALSEnever evaluated
4932) < 100000
(4932) < 100000Description
TRUEnever evaluated
FALSEnever evaluated
? 6 : -
-1000000 < ((-4931))Description
TRUEnever evaluated
FALSEnever evaluated
1000000 < ((-4931))
-1000000 < ((-4931))Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(4932) < 1000000Description
TRUEnever evaluated
FALSEnever evaluated
4932) < 1000000
(4932) < 1000000Description
TRUEnever evaluated
FALSEnever evaluated
? 7 : (((((sizeof (int) * 8) - (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) * 146 + 484) / 485) + (! ((__typeof__ (int)) 0 < (__typeof__ (int)) -1))) ));
0-50
1028 break;
executed 50 times by 1 test: break;
Executed by:
  • od
50
1029-
1030 default
never executed: default:
:
never executed: default:
0
1031 abort ();
never executed: abort ();
0
1032 }-
1033-
1034 break;
executed 148 times by 1 test: break;
Executed by:
  • od
148
1035 }-
1036-
1037 case
executed 43 times by 1 test: case 'a':
Executed by:
  • od
'a':
executed 43 times by 1 test: case 'a':
Executed by:
  • od
43
1038 ++s;-
1039 fmt = NAMED_CHARACTER;-
1040 size_spec = CHAR;-
1041 print_function = print_named_ascii;-
1042 field_width = 3;-
1043 break;
executed 43 times by 1 test: break;
Executed by:
  • od
43
1044-
1045 case
executed 50 times by 1 test: case 'c':
Executed by:
  • od
'c':
executed 50 times by 1 test: case 'c':
Executed by:
  • od
50
1046 ++s;-
1047 fmt = CHARACTER;-
1048 size_spec = CHAR;-
1049 print_function = print_ascii;-
1050 field_width = 3;-
1051 break;
executed 50 times by 1 test: break;
Executed by:
  • od
50
1052-
1053 default
executed 2 times by 1 test: default:
Executed by:
  • od
:
executed 2 times by 1 test: default:
Executed by:
  • od
2
1054 error (0, 0, -
1055 dcgettext (((void *)0), -
1056 "invalid character '%c' in type string %s"-
1057 , 5)-
1058 ,-
1059 *s, quote (s_orig));-
1060 return
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
2
1061 0
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
2
1062 ;
executed 2 times by 1 test: return 0 ;
Executed by:
  • od
2
1063 }-
1064-
1065 tspec->size = size_spec;-
1066 tspec->fmt = fmt;-
1067 tspec->print_function = print_function;-
1068-
1069 tspec->field_width = field_width;-
1070 tspec->hexl_mode_trailer = (*s == 'z');-
1071 if (tspec->hexl_mode_trailer
tspec->hexl_mode_trailerDescription
TRUEevaluated 882 times by 1 test
Evaluated by:
  • od
FALSEevaluated 69 times by 1 test
Evaluated by:
  • od
)
69-882
1072 s++;
executed 882 times by 1 test: s++;
Executed by:
  • od
882
1073-
1074 if (next !=
next != ((void *)0)Description
TRUEevaluated 951 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
0-951
1075 ((void *)0)
next != ((void *)0)Description
TRUEevaluated 951 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
0-951
1076 )-
1077 *
executed 951 times by 1 test: *next = s;
Executed by:
  • od
next = s;
executed 951 times by 1 test: *next = s;
Executed by:
  • od
951
1078-
1079 return
executed 951 times by 1 test: return 1 ;
Executed by:
  • od
executed 951 times by 1 test: return 1 ;
Executed by:
  • od
951
1080 1
executed 951 times by 1 test: return 1 ;
Executed by:
  • od
951
1081 ;
executed 951 times by 1 test: return 1 ;
Executed by:
  • od
951
1082}-
1083static -
1084 _Bool-
1085-
1086open_next_file (void)-
1087{-
1088 -
1089 _Bool -
1090 ok = -
1091 1-
1092 ;-
1093-
1094 do-
1095 {-
1096 input_filename = *file_list;-
1097 if (input_filename ==
input_filename == ((void *)0)Description
TRUEevaluated 508 times by 1 test
Evaluated by:
  • od
FALSEevaluated 523 times by 1 test
Evaluated by:
  • od
508-523
1098 ((void *)0)
input_filename == ((void *)0)Description
TRUEevaluated 508 times by 1 test
Evaluated by:
  • od
FALSEevaluated 523 times by 1 test
Evaluated by:
  • od
508-523
1099 )-
1100 return
executed 508 times by 1 test: return ok;
Executed by:
  • od
ok;
executed 508 times by 1 test: return ok;
Executed by:
  • od
508
1101 ++file_list;-
1102-
1103 if ((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1104 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1105 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1106 ) && __builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1107 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1108 ) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1109 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1110 ), __s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1111 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1112 ), (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1113 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1114 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1115 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1116 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1117 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1118 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1119 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1120 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1121 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1122 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1123 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1124 ) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1125 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1126 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1127 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1128 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1129 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1130 ) == 1) && (__s1_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1131 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1132 ), __s1_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1133 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1134 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1135 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1136 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1137 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1138 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1139 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1140 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1141 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1142 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1143 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1144 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1145 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1146 ))[0] - __s2[0]); if (__s1_len > 0
__s1_len > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1147 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1148 ))[1] - __s2[1]); if (__s1_len > 1
__s1_len > 1Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1149 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1150 ))[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 *) ( input_filename ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1151 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( input_filename ))[3] - __s2[3]);
0-487
1152 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( input_filename ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1153 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1154 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1155 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1156 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1157 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1158 ) == 1) && (__s2_len = __builtin_strlen (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1159 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1160 ), __s2_len < 4) ? (__builtin_constant_p (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1161 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1162 ) && ((size_t)(const void *)((
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1163 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1164 ) + 1) - (size_t)(const void *)(
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1165 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1166 ) == 1) ? __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1167 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1168 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1169 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1170 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1171 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1172 ); int __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1173 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1174 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 523 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-523
1175 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1176 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1177 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1178 ))[2] - __s2[2]); if (__s2_len > 2
__s2_len > 2Description
TRUEnever evaluated
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) __result = (((const unsigned char *) (const char *) (
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1179 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-487
1180 ))[3] - __s2[3]);
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1181 input_filename
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1182 ,
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1183 "-"
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1184 )))); })
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
36-487
1185 == 0)
( __extension_...)))); }) == 0)Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
)
36-487
1186 {-
1187 input_filename = -
1188 dcgettext (((void *)0), -
1189 "standard input"-
1190 , 5)-
1191 ;-
1192 in_stream = -
1193 stdin-
1194 ;-
1195 have_read_stdin = -
1196 1-
1197 ;-
1198 xset_binary_mode (-
1199 0-
1200 , -
1201 0-
1202 );-
1203 }
executed 36 times by 1 test: end of block
Executed by:
  • od
36
1204 else-
1205 {-
1206 in_stream = fopen (input_filename, (-
1207 0 -
1208 ? "rb" : "r"));-
1209 if (in_stream ==
in_stream == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1210 ((void *)0)
in_stream == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
0-487
1211 )-
1212 {-
1213 error (0, -
1214 (*__errno_location ())-
1215 , "%s", quotearg_n_style_colon (0, shell_escape_quoting_style, input_filename));-
1216 ok = -
1217 0-
1218 ;-
1219 }
never executed: end of block
0
1220 }
executed 487 times by 1 test: end of block
Executed by:
  • od
487
1221 }-
1222 while (in_stream ==
in_stream == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 523 times by 1 test
Evaluated by:
  • od
0-523
1223 ((void *)0)
in_stream == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 523 times by 1 test
Evaluated by:
  • od
0-523
1224 );-
1225-
1226 if (limit_bytes_to_format
limit_bytes_to_formatDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • od
FALSEevaluated 521 times by 1 test
Evaluated by:
  • od
&& !flag_dump_strings
!flag_dump_stringsDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
)
0-521
1227 setvbuf (in_stream,
executed 2 times by 1 test: setvbuf (in_stream, ((void *)0) , 2 , 0);
Executed by:
  • od
2
1228 ((void *)0)
executed 2 times by 1 test: setvbuf (in_stream, ((void *)0) , 2 , 0);
Executed by:
  • od
2
1229 ,
executed 2 times by 1 test: setvbuf (in_stream, ((void *)0) , 2 , 0);
Executed by:
  • od
2
1230 2
executed 2 times by 1 test: setvbuf (in_stream, ((void *)0) , 2 , 0);
Executed by:
  • od
2
1231 , 0);
executed 2 times by 1 test: setvbuf (in_stream, ((void *)0) , 2 , 0);
Executed by:
  • od
2
1232-
1233 return
executed 523 times by 1 test: return ok;
Executed by:
  • od
ok;
executed 523 times by 1 test: return ok;
Executed by:
  • od
523
1234}-
1235static -
1236 _Bool-
1237-
1238check_and_close (int in_errno)-
1239{-
1240 -
1241 _Bool -
1242 ok = -
1243 1-
1244 ;-
1245-
1246 if (in_stream !=
in_stream != ((void *)0)Description
TRUEevaluated 523 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
0-523
1247 ((void *)0)
in_stream != ((void *)0)Description
TRUEevaluated 523 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
0-523
1248 )-
1249 {-
1250 if (ferror_unlocked (in_stream)
ferror_unlocked (in_stream)Description
TRUEnever evaluated
FALSEevaluated 523 times by 1 test
Evaluated by:
  • od
)
0-523
1251 {-
1252 error (0, in_errno, -
1253 dcgettext (((void *)0), -
1254 "%s: read error"-
1255 , 5)-
1256 , quotearg_n_style_colon (0, shell_escape_quoting_style, input_filename));-
1257 if (! (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1258 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1259 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1260 ) && __builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1261 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1262 ) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1263 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1264 ), __s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1265 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1266 ), (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1267 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1268 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1269 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1270 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1271 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1272 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1273 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1274 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1275 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1276 ,
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1277 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1278 ) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1279 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1280 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1281 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1282 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1283 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1284 ) == 1) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1285 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1286 ), __s1_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1287 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1288 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1289 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1290 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1291 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1292 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1293 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1294 ,
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1295 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1296 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1297 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1298 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1299 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1300 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1301 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1302 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1303 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1304 ))[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 *) ( file_list[-1] ))[3] - __s2[3]);
0
1305 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( file_list[-1] ))[3] - __s2[3]);
0
1306 ))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1307 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1308 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1309 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1310 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1311 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1312 ) == 1) && (__s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1313 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1314 ), __s2_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1315 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1316 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1317 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1318 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1319 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1320 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1321 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1322 ,
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1323 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1324 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1325 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1326 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1327 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1328 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1329 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1330 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1331 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1332 ))[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
1333 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0
1334 ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1335 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1336 ,
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1337 "-"
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1338 )))); })
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
0
1339 == 0)
! ( __extensio...)))); }) == 0)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1340 -
1341 rpl_fclose
never executed: rpl_fclose (in_stream);
0
1342 (in_stream);
never executed: rpl_fclose (in_stream);
0
1343 ok = -
1344 0-
1345 ;-
1346 }
never executed: end of block
0
1347 else if (! (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1348 __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1349 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1350 ) && __builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1351 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1352 ) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1353 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1354 ), __s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1355 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1356 ), (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1357 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1358 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1359 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1360 ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1361 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1362 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1363 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1364 ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1365 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1366 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1367 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1368 ) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1369 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1370 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1371 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1372 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1373 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1374 ) == 1) && (__s1_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1375 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1376 ), __s1_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1377 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1378 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1379 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1380 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1381 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1382 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1383 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1384 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1385 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1386 ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1387 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1388 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1389 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1390 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1391 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1392 ))[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 *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1393 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1394 ))[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 *) ( file_list[-1] ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1395 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( file_list[-1] ))[3] - __s2[3]);
0-487
1396 ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( file_list[-1] ))[3] - __s2[3]);
}
never executed: end of block
}
never executed: end of block
__result; }))) : (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1397 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1398 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1399 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1400 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1401 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1402 ) == 1) && (__s2_len = __builtin_strlen (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1403 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1404 ), __s2_len < 4) ? (__builtin_constant_p (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1405 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1406 ) && ((size_t)(const void *)((
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1407 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1408 ) + 1) - (size_t)(const void *)(
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1409 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1410 ) == 1) ? __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1411 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1412 ,
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1413 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1414 ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1415 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1416 ); int __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1417 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1418 ))[0] - __s2[0]); if (__s2_len > 0
__s2_len > 0Description
TRUEevaluated 523 times by 1 test
Evaluated by:
  • od
FALSEnever evaluated
&& __result == 0
__result == 0Description
TRUEevaluated 36 times by 1 test
Evaluated by:
  • od
FALSEevaluated 487 times by 1 test
Evaluated by:
  • od
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-523
1419 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1420 ))[1] - __s2[1]); if (__s2_len > 1
__s2_len > 1Description
TRUEnever evaluated
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
&& __result == 0
__result == 0Description
TRUEnever evaluated
FALSEnever evaluated
) { __result = (((const unsigned char *) (const char *) (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1421 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
36-487
1422 ))[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]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1423 "-"
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
0-487
1424 ))[3] - __s2[3]);
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
never executed: __result = (((const unsigned char *) (const char *) ( "-" ))[3] - __s2[3]);
}
never executed: end of block
} __result; }))) : __builtin_strcmp (
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od
FALSEevaluated 36 times by 1 test
Evaluated by:
  • od
0-487
1425 file_list[-1]
! ( __extensio...)))); }) == 0)Description
TRUEevaluated 487 times by 1 test
Evaluated by:
  • od