File: cmp_ptr.1.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 (108 lines) | stat: -rw-r--r-- 3,544 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/cmp_ptr.i (no preprocessing)
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  p ∈ {0}
  T[0] ∈ {0}
   [1] ∈ {1}
   [2] ∈ {2}
   [3] ∈ {3}
   [4] ∈ {4}
   [5] ∈ {5}
   [6] ∈ {6}
   [7] ∈ {7}
   [8] ∈ {8}
   [9] ∈ {9}
  C[0] ∈ {0}
   [1] ∈ {1}
   [2] ∈ {2}
   [3] ∈ {3}
   [4] ∈ {4}
   [5] ∈ {5}
   [6] ∈ {6}
   [7] ∈ {7}
   [8] ∈ {8}
   [9] ∈ {9}
  q ∈ {0}
  top_p ∈ [--..--]
  top_q ∈ [--..--]
  x ∈ {0}
  y ∈ {0}
  z ∈ {0}
  t ∈ {0}
  r ∈ {0}
  ff ∈ {0}
tests/value/cmp_ptr.i:21:[value] warning: pointer comparison. assert \pointer_comparable((void *)p, (void *)(&T[5]));
tests/value/cmp_ptr.i:21:[value] warning: out of bounds write. assert \valid(p);
tests/value/cmp_ptr.i:21:[value] warning: out of bounds write. assert \valid(q);
tests/value/cmp_ptr.i:22:[value] warning: pointer comparison. assert \pointer_comparable((void *)0, (void *)(&y + 2));
tests/value/cmp_ptr.i:24:[value] warning: non-finite float value. assert \is_finite(ff);
tests/value/cmp_ptr.i:24:[value] warning: pointer comparison. assert \pointer_comparable((void *)0, (void *)ff);
tests/value/cmp_ptr.i:28:[value] warning: signed overflow.
                 assert -2147483648 ≤ 1 + (int)tmp_0;
                 (tmp_0 from u?& f:& g)
tests/value/cmp_ptr.i:28:[value] warning: signed overflow. assert 1 + (int)tmp_0 ≤ 2147483647;
                                  (tmp_0 from u?& f:& g)
tests/value/cmp_ptr.i:28:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)((int)(1 + (int)tmp_0)), (void *)0);
                 (tmp_0 from u?& f:& g)
tests/value/cmp_ptr.i:30:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)((int *)T - 1), (void *)0);
tests/value/cmp_ptr.i:32:[value] warning: pointer comparison.
                 assert \pointer_comparable((void (*)())0, (void (*)())(&f + 3));
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
  p ∈ {{ &T + [-8589934588..8589934592],0%4 }}
  T[0] ∈ {0; 88}
   [1] ∈ {1; 88}
   [2] ∈ {2; 88}
   [3] ∈ {3; 88}
   [4] ∈ {4; 88}
   [5] ∈ {5; 88}
   [6] ∈ {6; 88}
   [7] ∈ {7; 88}
   [8] ∈ {8; 88}
   [9] ∈ {9; 88}
  C[0] ∈ {0; 77}
   [1] ∈ {1; 77}
   [2] ∈ {2; 77}
   [3] ∈ {3; 77}
   [4] ∈ {4; 77}
   [5] ∈ {5; 77}
   [6] ∈ {6; 77}
   [7] ∈ {7; 77}
   [8] ∈ {8; 77}
   [9] ∈ {9; 77}
  q ∈ {{ &C + [-2147483647..2147483648] }}
  x ∈ {0; 1}
  y ∈ {0; 1}
  z ∈ {0}
  t ∈ {0; 1}
  r ∈ {0; 1}
  ff ∈ {{ &y + {8} }}
  __retres ∈ {0}
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
       These dependencies hold at termination for the executions that terminate:
[from] Function main:
  p FROM top_p
  T[0..9] FROM top_p (and SELF)
  C[0..9] FROM top_p; top_q (and SELF)
  q FROM top_q
  x FROM \nothing
  y FROM \nothing
  z FROM u
  t FROM u
  r FROM \nothing
  ff FROM \nothing
  \result FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
          p; T[0..9]; C[0..9]; q; x; y; z; t; r; ff; tmp; tmp_0; __retres
[inout] Inputs for function main:
          p; q; top_p; top_q; ff