File: initializer.res.oracle

package info (click to toggle)
frama-c 20220511-manganese-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 66,472 kB
  • sloc: ml: 278,832; ansic: 47,093; sh: 4,823; makefile: 3,618; javascript: 2,436; python: 1,919; perl: 897; lisp: 293; xml: 62
file content (64 lines) | stat: -rw-r--r-- 1,565 bytes parent folder | download | duplicates (2)
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 initializer.i (no preprocessing)
[kernel:parser:decimal-float] initializer.i:29: Warning: 
  Floating-point constant 0.1 is not represented exactly. Will use 0x1.999999999999ap-4.
  (warn-once: no further messages from category 'parser:decimal-float' will be emitted)
/* 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 main_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 = (int)main_STR[2];
  return;
}