File: array_zero_length.0.res.oracle

package info (click to toggle)
frama-c 20161101%2Bsilicon%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,324 kB
  • ctags: 35,695
  • sloc: ml: 200,142; ansic: 31,465; makefile: 2,334; sh: 1,643; lisp: 259; python: 85; asm: 26
file content (67 lines) | stat: -rw-r--r-- 4,172 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/array_zero_length.i (no preprocessing)
tests/value/array_zero_length.i:10:[kernel] warning: declaration of array of 'zero-length arrays' ('char [0]`);
                  zero-length arrays are a compiler extension
tests/value/array_zero_length.i:15:[kernel] warning: declaration of array of 'zero-length arrays' ('char [0]`);
                  zero-length arrays are a compiler extension
[value] Analyzing a complete application starting at main
[value] Computing initial state
tests/value/array_zero_length.i:7:[value] warning: during initialization of variable 'T', size of type 'char []' cannot be
                 computed (Size of array without number of elements.)
tests/value/array_zero_length.i:7:[kernel] imprecise size for variable T (Size of array without number of elements.)
tests/value/array_zero_length.i:9:[value] warning: during initialization of variable 'V', size of type 'char [][2]' cannot be
                 computed (Size of array without number of elements.)
tests/value/array_zero_length.i:9:[kernel] imprecise size for variable V (Size of array without number of elements.)
tests/value/array_zero_length.i:10:[value] warning: during initialization of variable 'W', size of type 'char [][0]' cannot be
                 computed (Size of array without number of elements.)
tests/value/array_zero_length.i:10:[kernel] imprecise size for variable W (Size of array without number of elements.)
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  T[0..4294967295] ∈ {0} or UNINITIALIZED
  V[0..2147483647][0..1] ∈ {0} or UNINITIALIZED
  W[bits 0 to ..] ∈ {0} or UNINITIALIZED
  W2[0..1][0] ∈ {0}
  pW ∈ {0}
tests/value/array_zero_length.i:24:[value] assertion got status valid.
tests/value/array_zero_length.i:28:[value] assertion got status valid.
tests/value/array_zero_length.i:30:[value] assertion got status valid.
tests/value/array_zero_length.i:32:[value] assertion got status valid.
tests/value/array_zero_length.i:34:[value] assertion got status valid.
tests/value/array_zero_length.i:36:[value] warning: out of bounds write. assert \valid(&T[2]);
tests/value/array_zero_length.i:37:[value] warning: out of bounds write. assert \valid(&T[1]);
tests/value/array_zero_length.i:37:[value] warning: accessing uninitialized left-value. assert \initialized(&T[3]);
tests/value/array_zero_length.i:37:[value] warning: out of bounds read. assert \valid_read(&T[3]);
tests/value/array_zero_length.i:39:[value] warning: out of bounds write. assert \valid(&V[2][1]);
tests/value/array_zero_length.i:40:[value] warning: out of bounds write. assert \valid(&V[1][1]);
tests/value/array_zero_length.i:40:[value] warning: accessing uninitialized left-value. assert \initialized(&V[3][1]);
tests/value/array_zero_length.i:40:[value] warning: out of bounds read. assert \valid_read(&V[3][1]);
tests/value/array_zero_length.i:42:[value] warning: out of bounds write. assert \valid(&W[2][1]);
tests/value/array_zero_length.i:43:[value] warning: out of bounds write. assert \valid(&W[1][1]);
tests/value/array_zero_length.i:43:[value] warning: accessing uninitialized left-value. assert \initialized(&W[3][1]);
tests/value/array_zero_length.i:43:[value] warning: out of bounds read. assert \valid_read(&W[3][1]);
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
  T[0] ∈ {0} or UNINITIALIZED
   [1] ∈ {0; 3} or UNINITIALIZED
   [2] ∈ {3}
   [3..4294967295] ∈ {0} or UNINITIALIZED
  V{[0][0..1]; [1][0]} ∈ {0} or UNINITIALIZED
   [1][1] ∈ {0; 3} or UNINITIALIZED
   [2][0] ∈ {0} or UNINITIALIZED
   [2][1] ∈ {0; 3} or UNINITIALIZED
   [3..2147483647][0..1] ∈ {0} or UNINITIALIZED
  W[bits 0 to 7] ∈ {0} or UNINITIALIZED
   [bits 8 to 15] ∈ {0; 3; 6} or UNINITIALIZED
   [bits 16 to ..] ∈ {0} or UNINITIALIZED
  pW ∈ {{ NULL ; &W[-1] }}
  sT ∈ [--..--]
  sU ∈ {0}
  sV ∈ [--..--]
  sW ∈ [--..--]
  sT1 ∈ {0}
  sU1 ∈ {0}
  sV1 ∈ {0}
  sW1 ∈ {0}
  sW2 ∈ {2}