File: string_c_strstr.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 (162 lines) | stat: -rw-r--r-- 7,326 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/libc/string_c_strstr.c (with 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
  __fc_random_counter ∈ {0}
  __fc_rand_max ∈ {32767}
  __fc_heap_status ∈ [--..--]
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:52.
share/libc/string.h:176:[value] function strstr: precondition 'valid_string_haystack' got status valid.
share/libc/string.h:177:[value] function strstr: precondition 'valid_string_needle' got status valid.
share/libc/string.h:179:[value] function strstr: postcondition got status valid.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:53.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:54.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:55.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:56.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:57.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:58.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:59.
share/libc/string.c:229:[value] entering loop for the first time
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:60.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:61.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:62.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:64.
share/libc/string.c:234:[value] cannot evaluate ACSL term, unsupported ACSL construct: logic functions or predicates
share/libc/string.h:179:[value] warning: function strstr: postcondition got status unknown.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:65.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:66.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:67.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:68.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:69.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:70.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:71.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:72.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:73.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:74.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:75.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:76.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:77.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:78.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:79.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:80.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:81.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:82.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:83.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:84.
[value] Recording results for strstr
[value] Done for function strstr
[value] computing for function strstr <- main.
        Called from tests/libc/string_c_strstr.c:85.
[value] Recording results for strstr
[value] Done for function strstr
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function strstr:
  __retres ∈
          {{ NULL ; "" ; "abcd" ; "abcd" ; "abcd" + {1} ; "abcd" + {2} ;
             "abcd" + {3} ; "abcd" ; "abcd" + {1} ; "abcd" + {2} ;
             "ababa" + {1} ; "ababab" + {1} ; "abababa" + {1} ;
             "abababab" + {1} ; "ababababa" + {1} ; "abbababab" + {2} ;
             "abbababab" + {3} ; "abacabcabcab" + {4} ;
             "nanabanabanana" + {3} ; "nanabanabanana" + {4} ;
             "nanabanabanana" + {1} ; "nanabanabanana" + {8} ;
             "_ _\255_ _" + {2} }}
[value:final-states] Values at end of function main:
  __retres ∈ {0}