File: bts927.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 (59 lines) | stat: -rw-r--r-- 1,793 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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/sparecode/bts927.i (no preprocessing)
[sparecode] remove unused code...
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  
tests/sparecode/bts927.i:15:[value] warning: assertion got status unknown.
[value] computing for function f <- main.
        Called from tests/sparecode/bts927.i:17.
tests/sparecode/bts927.i:10:[value] warning: 2's complement assumed for overflow
[value] Recording results for f
[value] Done for function f
[value] computing for function f <- main.
        Called from tests/sparecode/bts927.i:19.
[value] Recording results for f
[value] Done for function f
[value] Recording results for main
[value] done for function main
[pdg] computing for function main
[from] Computing for function f
[from] Done for function f
[pdg] done for function main
[pdg] computing for function f
[pdg] done for function f
[pdg] computing for function Frama_C_bzero
[from] Computing for function Frama_C_bzero
[from] Done for function Frama_C_bzero
[pdg] done for function Frama_C_bzero
[pdg] computing for function Frama_C_copy_block
[from] Computing for function Frama_C_copy_block
[from] Done for function Frama_C_copy_block
[pdg] done for function Frama_C_copy_block
[sparecode] remove unused global declarations...
[sparecode] result in new project 'default without sparecode'.
/* Generated by Frama-C */
int f(int a)
{
  int c;
  int tmp;
  c = a + 1;
  if (c > 0) tmp = 1; else tmp = 0;
  return tmp;
}

int main(int x)
{
  int __retres;
  /*@ assert x > 5; */ ;
  {
    int tmp_0;
    tmp_0 = f(x);
    __retres = tmp_0;
  }
  return __retres;
}