File: initializer.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 (64 lines) | stat: -rw-r--r-- 1,602 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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/syntax/initializer.i (no preprocessing)
tests/syntax/initializer.i:29:[kernel] warning: Floating-point constant 0.1 is not represented exactly. Will use 0x1.999999999999ap-4. See documentation for option -warn-decimal-float
/* Generated by Frama-C */
enum bool {
    INVALID = 0,
    VALID = 1
};
struct signal {
   float val ;
   enum bool status ;
};
struct signals {
   struct signal f1 ;
   struct signal f2 ;
   struct signal f3 ;
   struct signal f4 ;
   struct signal f5 ;
   struct signal f6 ;
   struct signal f7 ;
};
char const STRS[2][7] =
  {{(char)'A',
    (char)'B',
    (char)'C',
    (char)'D',
    (char)'E',
    (char)'F',
    (char)'\000'},
   {(char)'I',
    (char)'J',
    (char)'K',
    (char)'L',
    (char)'M',
    (char)'L',
    (char)'\000'}};
struct signals const signals =
  {.f1 = {.val = (float)0.0, .status = VALID},
   .f2 = {.val = (float)0.0, .status = VALID},
   .f3 = {.val = (float)0.0, .status = VALID},
   .f4 = {.val = (float)0.0, .status = VALID},
   .f5 = {.val = (float)0.0, .status = INVALID},
   .f6 = {.val = (float)0.0, .status = VALID},
   .f7 = {.val = 0.f, .status = 0}};
struct signal tsig[3] =
  {{.val = (float)0.1, .status = INVALID}, {.val = (float)3, .status = VALID}};
void main(void);

static unsigned char STR[7] =
  {(unsigned char)'1',
   (unsigned char)'2',
   (unsigned char)'3',
   (unsigned char)'4',
   (unsigned char)'5',
   (unsigned char)'6',
   (unsigned char)'\000'};
void main(void)
{
  int i;
  i = (int)STR[2];
  return;
}