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;
}
|