File: merge_union.1.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 (37 lines) | stat: -rw-r--r-- 750 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
[kernel] Parsing merge_union.c (with preprocessing)
[kernel] Parsing merge_union_2.c (with preprocessing)
[kernel] Parsing merge_union_3.c (with preprocessing)
/* Generated by Frama-C */
union __anonunion_un_1 {
   char t ;
   short s ;
} __attribute__((__packed__, __aligned__(1)));
typedef union __anonunion_un_1 un;
struct __anonstruct_st_3 {
   char c  __attribute__((__aligned__(1)));
   un u  __attribute__((__aligned__(1)));
} __attribute__((__packed__, __aligned__(1)));
typedef struct __anonstruct_st_3 st_2;
int f(un *u);

#pragma noalign
extern st_2 G1;

int g(un *u)
{
  int __retres;
  f(& G1.u);
  __retres = 0;
  return __retres;
}

#pragma noalign
int main(un *u)
{
  int __retres;
  g(& G1.u);
  __retres = 0;
  return __retres;
}