~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/fuzz/7.c

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This is a RANDOMLY GENERATED PROGRAM.
 
3
 *
 
4
 * Generator: csmith 2.2.0
 
5
 * Git version: a8697aa
 
6
 * Options:   --no-volatiles --no-math64 --no-packed-struct
 
7
 * Seed:      4255021480
 
8
 */
 
9
 
 
10
#include "csmith.h"
 
11
 
 
12
 
 
13
static long __undefined;
 
14
 
 
15
/* --- Struct/Union Declarations --- */
 
16
union U0 {
 
17
   uint32_t  f0;
 
18
   uint32_t  f1;
 
19
   uint16_t  f2;
 
20
   int32_t  f3;
 
21
   int16_t  f4;
 
22
};
 
23
 
 
24
union U1 {
 
25
   int32_t  f0;
 
26
   int8_t  f1;
 
27
};
 
28
 
 
29
union U2 {
 
30
   signed f0 : 31;
 
31
   uint8_t  f1;
 
32
};
 
33
 
 
34
/* --- GLOBAL VARIABLES --- */
 
35
static union U2 g_9[5] = {{5L},{5L},{5L},{5L},{5L}};
 
36
static int32_t g_11 = 0xE5C285CEL;
 
37
static const int32_t *g_16 = &g_11;
 
38
static uint8_t g_66[1] = {0xC8L};
 
39
static uint8_t g_71 = 255UL;
 
40
static int32_t g_75 = 0xD78BEA8EL;
 
41
static int8_t g_76[5] = {0x1AL,0x1AL,0x1AL,0x1AL,0x1AL};
 
42
static int16_t g_77 = 0x065BL;
 
43
static uint32_t g_78[7][9] = {{0x1A9F1398L,0xB1F15F1DL,0x4BD9F5B6L,0x1A9F1398L,0x8559CE79L,0xA768FB0CL,0xB1AAE879L,4294967293UL,0x8559CE79L},{0x8327BC4AL,0xF31BC463L,8UL,7UL,1UL,7UL,1UL,0x00823388L,1UL},{0x9C36DE1FL,0x19045039L,0xA768FB0CL,0x9C36DE1FL,0xB1F15F1DL,4294967293UL,4294967293UL,0x7078C3FCL,0x8559CE79L},{0x6E6AF575L,0x6E6AF575L,1UL,0x8327BC4AL,7UL,1UL,0x00823388L,0x00823388L,1UL},{0x8559CE79L,0x19045039L,0x9C36DE1FL,0x1A9F1398L,4294967293UL,0x9C36DE1FL,4294967291UL,4294967293UL,0xB1F15F1DL},{0x6E6AF575L,1UL,0x8327BC4AL,0x24791A13L,0x00823388L,1UL,0x24791A13L,0x6E6AF575L,7UL},{0x19045039L,0xA768FB0CL,0x19045039L,0x7078C3FCL,0x7078C3FCL,0xB1AAE879L,0x8559CE79L,0x7078C3FCL,0xA768FB0CL}};
 
44
static int32_t *g_83[8][10] = {{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11}};
 
45
static int32_t **g_82 = &g_83[0][9];
 
46
static int32_t g_102 = 0xFD02F95CL;
 
47
static uint16_t g_135 = 65534UL;
 
48
static int32_t g_144 = 0x2D1F4F54L;
 
49
static const uint16_t g_160 = 1UL;
 
50
static union U0 g_181 = {4294967292UL};
 
51
static union U0 *g_183 = &g_181;
 
52
static union U1 g_202 = {0xD13A1308L};
 
53
static union U1 *g_201 = &g_202;
 
54
static int16_t g_209 = 2L;
 
55
static int32_t g_211 = 0xAD8558D5L;
 
56
static uint16_t g_231 = 65527UL;
 
57
static union U1 *g_261 = &g_202;
 
58
static union U2 *g_282 = (void*)0;
 
59
static union U2 **g_281 = &g_282;
 
60
static const int16_t g_328 = 2L;
 
61
static int8_t g_390 = 0x65L;
 
62
static int32_t g_468 = 0x425A7515L;
 
63
static int32_t **g_537 = &g_83[6][2];
 
64
static uint32_t g_547 = 0UL;
 
65
static const uint32_t g_573 = 4294967288UL;
 
66
static const uint32_t g_575 = 4294967291UL;
 
67
static const uint32_t *g_574 = &g_575;
 
68
static int16_t g_582 = 0x5594L;
 
69
static union U0 **g_587 = &g_183;
 
70
static union U0 ***g_586 = &g_587;
 
71
static uint16_t *g_593 = &g_231;
 
72
static uint16_t **g_592 = &g_593;
 
73
static const union U1 g_649 = {-1L};
 
74
static const union U1 *g_648 = &g_649;
 
75
static int16_t g_666 = 0xB689L;
 
76
static uint32_t g_668 = 2UL;
 
77
static union U2 ***g_691 = &g_281;
 
78
static union U2 *** const *g_690 = &g_691;
 
79
static int32_t g_756 = 0x25866B22L;
 
80
static uint8_t g_860 = 0x3DL;
 
81
static uint16_t g_894 = 0xD1D4L;
 
82
static const int32_t g_947 = 2L;
 
83
static uint16_t g_966[5][3] = {{1UL,1UL,0x3378L},{1UL,1UL,1UL},{65535UL,0x3378L,1UL},{1UL,1UL,0x3378L},{1UL,0x3378L,65535UL}};
 
84
static int8_t *g_1030 = (void*)0;
 
85
static int8_t **g_1029 = &g_1030;
 
86
static union U1 g_1059[9][9] = {{{2L},{9L},{1L},{9L},{2L},{2L},{2L},{1L},{1L}},{{5L},{0x9B1D2FFCL},{0x256D147CL},{0x9B1D2FFCL},{5L},{0x9B1D2FFCL},{5L},{0x256D147CL},{0x256D147CL}},{{9L},{2L},{2L},{2L},{9L},{1L},{9L},{2L},{9L}},{{0x9B1D2FFCL},{5L},{5L},{5L},{0x9B1D2FFCL},{0x256D147CL},{0x256D147CL},{5L},{0x9B1D2FFCL}},{{1L},{9L},{1L},{9L},{2L},{2L},{2L},{9L},{1L}},{{5L},{0x9B1D2FFCL},{0x256D147CL},{0x9B1D2FFCL},{5L},{5L},{5L},{0x256D147CL},{0x256D147CL}},{{9L},{1L},{2L},{2L},{9L},{1L},{9L},{2L},{2L}},{{0x9B1D2FFCL},{5L},{5L},{5L},{0x9B1D2FFCL},{0x256D147CL},{0x9B1D2FFCL},{5L},{0x9B1D2FFCL}},{{1L},{9L},{9L},{9L},{2L},{2L},{2L},{9L},{1L}}};
 
87
static int32_t g_1124 = 0L;
 
88
static int16_t g_1254 = 5L;
 
89
static int32_t g_1294 = 0x5FC158E7L;
 
90
static uint32_t *g_1326 = &g_78[4][2];
 
91
static int16_t *g_1346[7] = {&g_209,&g_582,&g_209,&g_582,&g_1254,&g_1254,&g_1254};
 
92
static union U0 *g_1354 = &g_181;
 
93
static uint16_t g_1418 = 0x7548L;
 
94
static int8_t * const **g_1432 = (void*)0;
 
95
static union U1 **g_1483[6] = {&g_261,&g_261,&g_261,&g_261,&g_261,&g_261};
 
96
static int8_t g_1501 = (-1L);
 
97
static const int8_t *g_1582[8] = {(void*)0,(void*)0,(void*)0,&g_1059[4][2].f1,(void*)0,(void*)0,(void*)0,(void*)0};
 
98
static const int8_t **g_1581 = &g_1582[6];
 
99
static const int8_t ***g_1580 = &g_1581;
 
100
static uint8_t g_1597 = 1UL;
 
101
static int32_t g_1613 = 0L;
 
102
static uint8_t **g_1628 = (void*)0;
 
103
static int32_t ** const *g_1630 = &g_82;
 
104
static int32_t ** const **g_1629 = &g_1630;
 
105
static int16_t g_1665[1] = {(-8L)};
 
106
 
 
107
 
 
108
/* --- FORWARD DECLARATIONS --- */
 
109
static int16_t  func_1(void);
 
110
static const int32_t * func_2(uint8_t  p_3, union U2  p_4, int32_t * p_5, union U0  p_6, const union U1  p_7);
 
111
static int32_t  func_19(int32_t  p_20);
 
112
static const union U1  func_23(const int32_t * p_24, int8_t  p_25, uint8_t  p_26, const union U0  p_27, const int32_t * p_28);
 
113
static const int32_t * func_29(int32_t ** p_30, int32_t * p_31, int32_t * p_32, uint32_t  p_33);
 
114
static int32_t * func_36(int32_t ** p_37);
 
115
static int32_t ** func_38(int16_t  p_39, int8_t  p_40, union U2  p_41, union U0  p_42);
 
116
static int8_t  func_45(uint8_t  p_46, uint16_t  p_47, union U2  p_48, int32_t ** p_49, const uint32_t  p_50);
 
117
static int8_t  func_55(uint8_t  p_56, union U1  p_57, int32_t * p_58, uint8_t  p_59);
 
118
static int32_t * func_61(int16_t  p_62, const int32_t ** p_63);
 
119
 
 
120
 
 
121
/* --- FUNCTIONS --- */
 
122
/* ------------------------------------------ */
 
123
/* 
 
124
 * reads : g_9 g_9.f0 g_11 g_16 g_66 g_71 g_78 g_82 g_77 g_181.f4 g_209 g_202.f0 g_181.f2 g_144 g_83 g_201 g_202 g_537 g_102 g_76 g_231 g_582 g_586 g_575 g_592 g_593 g_468 g_202.f1 g_261 g_649.f0 g_183 g_181 g_574 g_547 g_666 g_668 g_894 g_1124 g_587 g_181.f0 g_1630 g_281 g_282 g_690 g_691
 
125
 * writes: g_16 g_66 g_71 g_78 g_76 g_181.f4 g_144 g_547 g_390 g_135 g_83 g_75 g_102 g_11 g_574 g_586 g_231 g_468 g_77 g_209 g_648 g_1124 g_181.f0 g_183 g_282 g_202
 
126
 */
 
127
static int16_t  func_1(void)
 
128
{ /* block id: 0 */
 
129
    int8_t l_8 = 0xD2L;
 
130
    int32_t *l_10 = &g_11;
 
131
    union U0 l_12[3] = {{0xC63C4078L},{0xC63C4078L},{0xC63C4078L}};
 
132
    const union U1 l_13 = {0x54DBBE56L};
 
133
    const int32_t *l_15 = &l_12[2].f3;
 
134
    const int32_t **l_14[1];
 
135
    union U2 **l_1476[1];
 
136
    union U1 ** const l_1484 = &g_261;
 
137
    int16_t l_1489 = (-3L);
 
138
    int32_t l_1490[4][9][7] = {{{0x7722092EL,0xE7360E5FL,0x6D151BE1L,6L,(-5L),8L,0x348F7672L},{0x09844A68L,(-1L),(-9L),1L,0xFFB9EB74L,0xB7C332CFL,0x6178C1E9L},{0L,0x4AEF49C4L,0x579BFEBAL,0x1115582EL,0x1724644DL,1L,0x9A5CF446L},{0xB336F930L,1L,1L,0L,0x3AF81339L,9L,0xB12F7DAAL},{0x61FAFD88L,6L,9L,0xA08F10A1L,0x06B6F60EL,0xFFB9EB74L,0xEAFC93F5L},{6L,0xA08F10A1L,0x06B6F60EL,(-8L),(-7L),0xB12F7DAAL,0xB4CB5279L},{(-5L),(-2L),0xBA853D88L,(-8L),0L,0xDE8A14BCL,0xE7360E5FL},{0xF7A455E7L,0x579BFEBAL,0xEAFC93F5L,0xA08F10A1L,0x1DE7A7EEL,0x348F7672L,(-1L)},{0x579BFEBAL,(-2L),0xDE8A14BCL,0L,0xCC05669DL,0xCC05669DL,0x1E6C6902L}},{{0x3AF81339L,(-7L),(-1L),0x1115582EL,(-2L),0xCB6A97FAL,(-5L)},{3L,(-1L),(-2L),1L,0xEAFC93F5L,0x781D787BL,0x85A2F7F1L},{0x1E6C6902L,0x781D787BL,(-9L),6L,1L,(-7L),1L},{0x579BFEBAL,8L,0x09844A68L,0xE7360E5FL,0x6178C1E9L,0x3AF81339L,1L},{0x348F7672L,(-1L),(-9L),0x566121C2L,4L,0x06B6F60EL,0xCC05669DL},{1L,0x9A5CF446L,(-2L),0L,0x1115582EL,0x1724644DL,0x1115582EL},{0x09844A68L,0x579BFEBAL,(-1L),0x1724644DL,0xC388F8C3L,0xF7A455E7L,0L},{9L,0xA34E9BADL,0xDE8A14BCL,0L,0xF7A455E7L,0x29ABAF8CL,(-1L)},{(-1L),1L,0xEAFC93F5L,1L,1L,2L,9L}},{{(-1L),0x1DE7A7EEL,3L,0x7BF25D80L,(-7L),9L,0x348F7672L},{0xEAFC93F5L,0x1DE7A7EEL,0x7722092EL,0xA34E9BADL,8L,9L,2L},{(-1L),1L,0x0CEE732EL,6L,2L,0x9E61483AL,0x9E61483AL},{0xBA853D88L,0xA34E9BADL,0x6EC18B86L,0xCE872C2BL,0xA34E9BADL,(-1L),0x3AF81339L},{(-7L),0x579BFEBAL,0L,5L,0xEB035C34L,0x6EC18B86L,0x7722092EL},{0x6D151BE1L,0xBBCB4E5FL,0xA34E9BADL,(-1L),(-1L),0xEAFC93F5L,9L},{1L,0x9E61483AL,0xB336F930L,0xAA26BCE5L,0x566121C2L,0x9E61483AL,0xEB035C34L},{2L,0x85A2F7F1L,0xEAC2EEC8L,0xEAFC93F5L,0xBBCB4E5FL,0xB4CB5279L,0x1E6C6902L},{1L,0xFFB9EB74L,0x7722092EL,(-1L),0x96B34700L,0x1FBA7239L,0xB336F930L}},{{0x6D151BE1L,0xC388F8C3L,0x1579862BL,0x06B6F60EL,0x1E6C6902L,0x06B6F60EL,2L},{(-7L),0x09844A68L,2L,0xB4CB5279L,5L,1L,(-1L)},{3L,2L,(-1L),0xEB035C34L,(-1L),0xC388F8C3L,0x85A2F7F1L},{0x4EC6A0E7L,0L,1L,0x3AF81339L,0x7BF25D80L,(-1L),0L},{(-1L),(-1L),0x3AF81339L,(-8L),4L,0x61FAFD88L,0L},{4L,0x929F3853L,0xCB6A97FAL,0L,0xAA26BCE5L,0xCE872C2BL,0x85A2F7F1L},{0x566121C2L,0x4AEF49C4L,6L,0x4EC6A0E7L,(-1L),(-1L),(-1L)},{0x61FAFD88L,0x29ABAF8CL,0xE7360E5FL,0xE7360E5FL,0L,(-2L),2L},{0xB4CB5279L,(-2L),0x1DE7A7EEL,0xE7360E5FL,0xDE8A14BCL,0L,(-8L)}}};
 
139
    int32_t l_1499 = 0L;
 
140
    int32_t l_1503 = 1L;
 
141
    uint32_t l_1505[3][5][2] = {{{4294967289UL,1UL},{0UL,1UL},{4294967289UL,1UL},{0UL,1UL},{4294967289UL,1UL}},{{0UL,1UL},{4294967289UL,1UL},{0UL,1UL},{4294967289UL,1UL},{0UL,1UL}},{{4294967289UL,1UL},{0UL,1UL},{4294967289UL,1UL},{0UL,1UL},{4294967289UL,1UL}}};
 
142
    int32_t l_1530 = (-3L);
 
143
    int32_t l_1550 = 5L;
 
144
    int32_t l_1557 = 5L;
 
145
    union U1 *l_1563 = &g_1059[6][4];
 
146
    uint32_t l_1622 = 0x24618042L;
 
147
    uint16_t l_1656 = 1UL;
 
148
    uint8_t *l_1682[9][4] = {{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]},{&g_66[0],&g_66[0],&g_66[0],&g_66[0]}};
 
149
    uint8_t **l_1681 = &l_1682[8][2];
 
150
    int32_t l_1684 = 0L;
 
151
    int i, j, k;
 
152
    for (i = 0; i < 1; i++)
 
153
        l_14[i] = &l_15;
 
154
    for (i = 0; i < 1; i++)
 
155
        l_1476[i] = (void*)0;
 
156
    g_16 = func_2(l_8, g_9[0], l_10, l_12[2], l_13);
 
157
    for (l_8 = 0; (l_8 < 3); l_8 = safe_add_func_int16_t_s_s(l_8, 8))
 
158
    { /* block id: 6 */
 
159
        int32_t l_1456 = 0L;
 
160
        int32_t l_1493 = (-5L);
 
161
        int32_t l_1494 = 0xCC45616AL;
 
162
        int32_t l_1498 = 0xF676537EL;
 
163
        int32_t l_1502[5];
 
164
        int8_t l_1525 = (-1L);
 
165
        const int8_t l_1562 = 8L;
 
166
        const uint32_t **l_1594 = &g_574;
 
167
        union U1 l_1610 = {1L};
 
168
        union U2 l_1654 = {2L};
 
169
        uint32_t l_1685 = 0x72C9CEDCL;
 
170
        int i;
 
171
        for (i = 0; i < 5; i++)
 
172
            l_1502[i] = (-1L);
 
173
        if (func_19(g_9[0].f0))
 
174
        { /* block id: 926 */
 
175
            int8_t l_1454 = 0xD7L;
 
176
            int32_t l_1457[6][4] = {{0x7FED4B30L,1L,0x7FED4B30L,1L},{0x7FED4B30L,1L,0x7FED4B30L,1L},{0x7FED4B30L,1L,0x7FED4B30L,1L},{0x7FED4B30L,1L,0x7FED4B30L,1L},{0x7FED4B30L,1L,0x7FED4B30L,1L},{0x7FED4B30L,1L,0x7FED4B30L,1L}};
 
177
            const int32_t *l_1466 = &g_468;
 
178
            uint16_t l_1488[6];
 
179
            union U2 ***l_1529[9] = {&l_1476[0],&l_1476[0],&l_1476[0],&l_1476[0],&l_1476[0],&l_1476[0],&l_1476[0],&l_1476[0],&l_1476[0]};
 
180
            int16_t l_1546 = 0x676EL;
 
181
            const union U0 l_1565 = {4294967292UL};
 
182
            union U1 *l_1571 = &g_1059[4][2];
 
183
            uint32_t *l_1591 = &l_1505[0][0][0];
 
184
            int8_t l_1658 = 3L;
 
185
            int16_t l_1659 = 0xE414L;
 
186
            uint32_t l_1660 = 0x579CC0EBL;
 
187
            uint32_t l_1666 = 0xE040432BL;
 
188
            uint32_t l_1671 = 0xF8DE41A5L;
 
189
            union U1 *l_1672 = (void*)0;
 
190
            union U1 *l_1673[3];
 
191
            union U1 *l_1674 = &g_202;
 
192
            int i, j;
 
193
            for (i = 0; i < 6; i++)
 
194
                l_1488[i] = 8UL;
 
195
            for (i = 0; i < 3; i++)
 
196
                l_1673[i] = (void*)0;
 
197
            for (g_144 = 0; (g_144 <= 0); g_144 += 1)
 
198
            { /* block id: 929 */
 
199
                int16_t *l_1455[10] = {&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4,&l_12[2].f4};
 
200
                uint8_t *l_1463 = &g_860;
 
201
                const int32_t **l_1487 = &l_15;
 
202
                int32_t l_1496 = (-2L);
 
203
                int32_t l_1497 = 0xC7FAF769L;
 
204
                union U2 l_1538 = {-1L};
 
205
                const int8_t l_1539[6][6][7] = {{{0L,0x75L,2L,(-6L),(-6L),0xD3L,0x75L},{0x84L,0L,0x69L,0L,0x84L,0xF4L,7L},{0L,0L,0x75L,0xD3L,(-6L),0L,0x75L},{0xC1L,0x6CL,0x92L,0xF4L,0xC1L,0xF4L,0x92L},{1L,2L,0x75L,0L,(-6L),0xD3L,0xD3L},{0x84L,0L,7L,0xF4L,7L,0x6CL,0x84L}},{{1L,1L,0x75L,2L,0L,0L,0x75L},{0L,0L,0x92L,0x6CL,0L,0L,0L},{1L,0x75L,0xD3L,0L,(-6L),0x75L,0xD3L},{0x84L,0xF4L,0x84L,0L,0x84L,0L,7L},{(-6L),1L,0x75L,0x75L,0L,0L,2L},{0x92L,0x6CL,0xC1L,0L,0xC1L,0x6CL,0L}},{{(-6L),0xD3L,0xD3L,0L,1L,0x75L,0xD3L},{0x69L,0x6CL,7L,0x6CL,0x69L,0x6CL,0x69L},{(-6L),1L,2L,0x75L,0L,(-6L),0xD3L},{0L,0L,0L,0x6CL,0x92L,0x6CL,0xC1L},{0L,0xD3L,0xD3L,(-6L),0L,0x75L,0x75L},{7L,0xF4L,0x69L,0x6CL,0x84L,0xF4L,0x69L}},{{(-6L),0L,2L,0x75L,(-6L),1L,2L},{0x92L,0xF4L,0xC1L,0xF4L,0x92L,0xF4L,0x92L},{0L,0xD3L,0x75L,1L,1L,2L,2L},{0x69L,0L,0x69L,0xF4L,7L,0xF4L,0x69L},{1L,0L,2L,2L,1L,(-6L),0xD3L},{0xC1L,0L,0x92L,0xF4L,0L,0L,0x92L}},{{0L,0x75L,2L,(-6L),0L,0xD3L,0x75L},{0x84L,0L,0x84L,0L,7L,0xF4L,7L},{1L,0L,0xD3L,0xD3L,(-6L),1L,0x75L},{0x92L,0x6CL,0x92L,0L,0xC1L,0L,0x92L},{(-6L),0x75L,0x75L,1L,(-6L),2L,0xD3L},{0x84L,0x6CL,7L,0L,7L,0x6CL,7L}},{{1L,(-6L),0x75L,2L,1L,0L,0xD3L},{0L,0x6CL,0L,0x6CL,0xC1L,0L,0xC1L},{(-6L),0x75L,2L,0L,0L,0xD3L,0xD3L},{7L,0xF4L,7L,0L,0x84L,0x6CL,7L},{0L,1L,0xD3L,0xD3L,0L,1L,2L},{0L,0xF4L,0xC1L,0x6CL,0xC1L,0xF4L,0xC1L}}};
 
206
                union U1 *l_1570 = &g_1059[4][2];
 
207
                union U0 l_1593 = {1UL};
 
208
                int i, j, k;
 
209
            }
 
210
            if ((*g_16))
 
211
            { /* block id: 1007 */
 
212
                union U1 *l_1599 = &g_1059[4][2];
 
213
                int32_t l_1604 = 0L;
 
214
                union U2 l_1625 = {0x22466E4EL};
 
215
                uint8_t *l_1627 = (void*)0;
 
216
                uint8_t **l_1626 = &l_1627;
 
217
                uint32_t l_1631[4][8] = {{4294967287UL,1UL,4294967288UL,0x1CF551D9L,4294967287UL,0xFC67C7A4L,0UL,1UL},{4294967288UL,4294967288UL,0xD89884B8L,0x1CF551D9L,0xD89884B8L,4294967288UL,0xD89884B8L,4294967287UL},{0UL,0xFC67C7A4L,4294967287UL,4294967287UL,0xD89884B8L,0x8D4BD049L,1UL,4294967288UL},{0x8D4BD049L,4294967287UL,4294967287UL,1UL,0xFC67C7A4L,1UL,4294967287UL,1UL}};
 
218
                int i, j;
 
219
                for (g_71 = 0; (g_71 != 40); ++g_71)
 
220
                { /* block id: 1010 */
 
221
                    const int32_t l_1606 = 1L;
 
222
                }
 
223
            }
 
224
            else
 
225
            { /* block id: 1031 */
 
226
                int8_t l_1655 = 0x2AL;
 
227
                union U2 l_1661 = {-9L};
 
228
                int32_t *l_1662 = &l_12[2].f3;
 
229
                int32_t *l_1663[9] = {&l_1493,&l_1493,&l_1493,&l_1493,&l_1493,&l_1493,&l_1493,&l_1493,&l_1493};
 
230
                int32_t l_1664 = 0L;
 
231
                int i;
 
232
                for (g_181.f0 = (-24); (g_181.f0 <= 30); ++g_181.f0)
 
233
                { /* block id: 1034 */
 
234
                    uint16_t l_1641 = 65535UL;
 
235
                    int8_t *l_1642[7] = {&l_1610.f1,(void*)0,&g_1059[4][2].f1,&g_1059[4][2].f1,&g_1059[4][2].f1,&l_1610.f1,&l_1610.f1};
 
236
                    int32_t l_1643 = 4L;
 
237
                    uint8_t *l_1657 = &l_1654.f1;
 
238
                    int i;
 
239
                    (*g_587) = &l_12[0];
 
240
                    g_16 = func_2(((((((void*)0 == (*g_1630)) >= (safe_mul_func_int8_t_s_s((l_1643 = l_1641), (((((safe_add_func_uint32_t_u_u((0L < ((safe_add_func_uint16_t_u_u((*g_593), 0xF41FL)) != (safe_sub_func_uint8_t_u_u(((*l_1657) = ((safe_div_func_uint16_t_u_u(((((func_45(l_1641, l_1493, (l_1654 = l_1654), &l_10, (*l_1466)) ^ l_1655) || 0x95L) >= l_1656) < (*g_593)), l_1610.f0)) == 0x3CL)), l_1658)))), l_1493)) , 6L) , (*l_15)) && l_1659) || l_1641)))) , l_1654.f1) , l_1502[1]) <= l_1660), l_1661, &l_1530, l_12[2], (*g_201));
 
241
                    if (l_1641)
 
242
                        continue;
 
243
                }
 
244
                (*l_10) ^= (*l_1466);
 
245
                l_1666++;
 
246
                if ((*l_10))
 
247
                    break;
 
248
            }
 
249
            for (g_547 = 0; (g_547 == 3); g_547 = safe_add_func_uint8_t_u_u(g_547, 8))
 
250
            { /* block id: 1048 */
 
251
                (***g_690) = (*g_281);
 
252
                l_1493 ^= l_1494;
 
253
            }
 
254
            g_16 = func_2(l_1671, l_1654, &l_1503, l_12[2], ((*l_1674) = l_1610));
 
255
        }
 
256
        else
 
257
        { /* block id: 1054 */
 
258
            int8_t l_1683 = 0x9CL;
 
259
            l_1502[1] = (safe_div_func_int32_t_s_s((safe_sub_func_int8_t_s_s(l_1562, (safe_rshift_func_uint16_t_u_u((1UL | (((void*)0 == l_1681) | (+l_1683))), 2)))), l_1684));
 
260
            if (l_1610.f1)
 
261
                continue;
 
262
        }
 
263
        return l_1685;
 
264
    }
 
265
    return (*l_10);
 
266
}
 
267
 
 
268
 
 
269
/* ------------------------------------------ */
 
270
/* 
 
271
 * reads :
 
272
 * writes:
 
273
 */
 
274
static const int32_t * func_2(uint8_t  p_3, union U2  p_4, int32_t * p_5, union U0  p_6, const union U1  p_7)
 
275
{ /* block id: 1 */
 
276
    return &g_11;
 
277
}
 
278
 
 
279
 
 
280
/* ------------------------------------------ */
 
281
/* 
 
282
 * reads : g_9.f0 g_11 g_16 g_66 g_71 g_78 g_9 g_82 g_77 g_181.f4 g_209 g_202.f0 g_181.f2 g_144 g_83 g_201 g_202 g_537 g_75 g_102 g_76 g_231 g_582 g_586 g_575 g_592 g_593 g_468 g_202.f1 g_261 g_649.f0 g_183 g_181 g_574 g_666 g_668 g_894 g_1124 g_587 g_547
 
283
 * writes: g_16 g_66 g_71 g_78 g_76 g_181.f4 g_144 g_547 g_390 g_135 g_83 g_75 g_102 g_11 g_574 g_586 g_231 g_468 g_77 g_209 g_648 g_1124
 
284
 */
 
285
static int32_t  func_19(int32_t  p_20)
 
286
{ /* block id: 7 */
 
287
    int32_t *l_35 = &g_11;
 
288
    int32_t **l_34 = &l_35;
 
289
    union U1 l_60 = {0xAD4F6C55L};
 
290
    int8_t *l_84 = &g_76[2];
 
291
    union U2 l_85 = {-1L};
 
292
    union U0 l_86 = {4294967295UL};
 
293
    int32_t *l_1453 = &g_1124;
 
294
    (*l_1453) |= ((safe_mod_func_uint8_t_u_u((func_23(func_29(l_34, (p_20 , func_36(func_38(g_9[0].f0, ((*l_84) = ((safe_mul_func_int16_t_s_s((((**l_34) && func_45(p_20, (safe_mod_func_uint32_t_u_u(((safe_lshift_func_int8_t_s_s(0xC8L, (func_55(p_20, l_60, func_61((((*g_16) && 0x04518073L) > 0x36L), &g_16), g_11) , (-1L)))) , p_20), g_9[0].f0)), g_9[3], g_82, p_20)) , (**l_34)), g_77)) || (**l_34))), l_85, l_86))), &g_468, p_20), p_20, p_20, l_86, (*l_34)) , 249UL), g_894)) > p_20);
 
295
    (*l_35) = p_20;
 
296
    (*g_537) = ((***g_586) , (*g_82));
 
297
    return (*g_16);
 
298
}
 
299
 
 
300
 
 
301
/* ------------------------------------------ */
 
302
/* 
 
303
 * reads : g_201 g_202
 
304
 * writes:
 
305
 */
 
306
static const union U1  func_23(const int32_t * p_24, int8_t  p_25, uint8_t  p_26, const union U0  p_27, const int32_t * p_28)
 
307
{ /* block id: 460 */
 
308
    uint16_t l_675 = 0UL;
 
309
    uint8_t *l_684 = &g_9[0].f1;
 
310
    union U2 l_685 = {0x88367F2CL};
 
311
    int32_t **l_686 = (void*)0;
 
312
    int8_t *l_687[7];
 
313
    int32_t l_688 = 0xF0B46BC5L;
 
314
    union U0 ****l_689 = (void*)0;
 
315
    const union U2 *l_695[6] = {&l_685,&l_685,&l_685,&l_685,&l_685,&l_685};
 
316
    const union U2 **l_694 = &l_695[5];
 
317
    const union U2 ***l_693 = &l_694;
 
318
    const union U2 ****l_692 = &l_693;
 
319
    int32_t *l_696 = &g_11;
 
320
    int32_t *l_697 = &l_688;
 
321
    union U0 **l_709 = &g_183;
 
322
    int8_t * const *l_716 = (void*)0;
 
323
    union U0 l_718 = {4294967292UL};
 
324
    const union U1 l_725 = {0xCF474642L};
 
325
    union U2 l_762 = {-3L};
 
326
    union U0 l_770 = {4294967292UL};
 
327
    int32_t l_810 = 0x0514C231L;
 
328
    int32_t l_851[10] = {0L,0L,0L,0L,0L,0L,0L,0L,0L,0L};
 
329
    int32_t l_867[5][10][3] = {{{0x9279772DL,(-1L),2L},{0x08D29043L,0xE1F44506L,0x08D29043L},{0xAAC8A26EL,0xE1B3EFFAL,(-3L)},{0xE1F44506L,1L,0x87B510FDL},{0x6D1F2783L,(-3L),0L},{0x27ECB6E8L,0xE8274EACL,0x08D29043L},{0x6D1F2783L,0xC659668AL,0xDCD37698L},{0x8C0733A2L,0x87B510FDL,6L},{0x2820589CL,0xB311FE06L,0x97A0EB8CL},{(-1L),0x4EAB465CL,0xB3893D4FL}},{{(-3L),(-1L),(-1L)},{0x411C5323L,0xBDBD4C74L,1L},{0xB311FE06L,0xDCD37698L,0xDCD37698L},{0x411C5323L,0x8C0733A2L,0xF779865EL},{0x2E256168L,2L,(-5L)},{0x63F4CD2EL,0xBDBD4C74L,0xF779865EL},{0xAAC8A26EL,1L,(-1L)},{1L,0x4EAB465CL,0x8C0733A2L},{(-1L),0xAAC8A26EL,(-1L)},{0x87B510FDL,(-2L),0xEEE97BECL}},{{(-3L),4L,0xC659668AL},{0x27ECB6E8L,0x903B8919L,(-1L)},{6L,(-7L),0xC659668AL},{0xE8274EACL,0xE1F44506L,0x4EAB465CL},{4L,0xC659668AL,0x7F0FCA53L},{0x27ECB6E8L,0x8C0733A2L,1L},{(-1L),0xAAC8A26EL,(-3L)},{(-2L),6L,0x4ED03EDAL},{0x124AF2F5L,(-3L),(-1L)},{1L,(-8L),0xEEE97BECL}},{{0x9279772DL,(-1L),0x9279772DL},{(-1L),0x87B510FDL,1L},{(-1L),0x7F0FCA53L,0L},{0x633BE4BDL,0x27ECB6E8L,0L},{0xAAC8A26EL,(-3L),(-5L)},{0x633BE4BDL,0x903B8919L,0x0402175AL},{2L,(-7L),(-1L)},{0xB3893D4FL,0xC995347EL,0x411C5323L},{(-3L),0x97A0EB8CL,0xDCD37698L},{4L,(-8L),0xB3893D4FL}},{{0xE1B3EFFAL,0xC659668AL,0x7F0FCA53L},{0xC995347EL,0xBB8ED630L,0x0402175AL},{0xE1B3EFFAL,2L,6L},{4L,0xEEE97BECL,0xE1F44506L},{(-5L),0xC659668AL,0L},{(-1L),0x63F4CD2EL,0xBB8ED630L},{0x7F0FCA53L,0x6D1F2783L,2L},{0xBB8ED630L,(-1L),0x4EAB465CL},{(-7L),(-7L),0x6D1F2783L},{4L,(-2L),6L}}};
 
330
    uint8_t l_959 = 0xE4L;
 
331
    const uint16_t *l_1006[2];
 
332
    const uint16_t * const *l_1005 = &l_1006[1];
 
333
    union U2 l_1009 = {0x4A992D0AL};
 
334
    int16_t *l_1022 = &g_181.f4;
 
335
    const int16_t l_1023 = 0L;
 
336
    const uint8_t l_1024 = 0x99L;
 
337
    int8_t l_1025 = 0x25L;
 
338
    const int32_t l_1026[2][7][1] = {{{0x218A56C6L},{0L},{0x218A56C6L},{0L},{0x218A56C6L},{0L},{0x218A56C6L}},{{0L},{0x218A56C6L},{0L},{0x218A56C6L},{0L},{0x218A56C6L},{0L}}};
 
339
    uint8_t l_1035 = 3UL;
 
340
    int8_t l_1120 = (-1L);
 
341
    union U2 l_1121 = {0x9CB199ABL};
 
342
    int16_t l_1125[3];
 
343
    uint8_t l_1133 = 0xB6L;
 
344
    uint16_t l_1172 = 65535UL;
 
345
    uint16_t **l_1215 = &g_593;
 
346
    uint32_t l_1276 = 4UL;
 
347
    int16_t l_1302 = 0x0B16L;
 
348
    uint16_t l_1332 = 0x101DL;
 
349
    uint32_t * const *l_1364 = &g_1326;
 
350
    uint32_t l_1392 = 4294967295UL;
 
351
    uint32_t l_1397 = 0x52BECEE6L;
 
352
    uint8_t l_1433 = 0x91L;
 
353
    int i, j, k;
 
354
    for (i = 0; i < 7; i++)
 
355
        l_687[i] = &g_390;
 
356
    for (i = 0; i < 2; i++)
 
357
        l_1006[i] = &l_770.f2;
 
358
    for (i = 0; i < 3; i++)
 
359
        l_1125[i] = (-9L);
 
360
    return (*g_201);
 
361
}
 
362
 
 
363
 
 
364
/* ------------------------------------------ */
 
365
/* 
 
366
 * reads : g_75 g_181.f4 g_78 g_102 g_11 g_76 g_231 g_582 g_209 g_586 g_575 g_592 g_593 g_537 g_83 g_82 g_468 g_66 g_202.f1 g_71 g_77 g_16 g_261 g_202 g_649.f0 g_183 g_181 g_9 g_574 g_666 g_668 g_547
 
367
 * writes: g_75 g_181.f4 g_102 g_135 g_11 g_574 g_586 g_231 g_468 g_83 g_390 g_16 g_66 g_71 g_78 g_547 g_77 g_209 g_648
 
368
 */
 
369
static const int32_t * func_29(int32_t ** p_30, int32_t * p_31, int32_t * p_32, uint32_t  p_33)
 
370
{ /* block id: 356 */
 
371
    int32_t l_563[3];
 
372
    union U2 ***l_623[10][4][1];
 
373
    const union U1 *l_647 = &g_202;
 
374
    int32_t l_660 = 0x63F79464L;
 
375
    union U0 l_661 = {1UL};
 
376
    int32_t **l_667 = (void*)0;
 
377
    int i, j, k;
 
378
    for (i = 0; i < 3; i++)
 
379
        l_563[i] = 0xBA602EADL;
 
380
    for (i = 0; i < 10; i++)
 
381
    {
 
382
        for (j = 0; j < 4; j++)
 
383
        {
 
384
            for (k = 0; k < 1; k++)
 
385
                l_623[i][j][k] = (void*)0;
 
386
        }
 
387
    }
 
388
    for (g_75 = (-22); (g_75 >= (-9)); g_75 = safe_add_func_int8_t_s_s(g_75, 8))
 
389
    { /* block id: 359 */
 
390
        uint32_t l_584 = 1UL;
 
391
        uint8_t l_607 = 0xA7L;
 
392
        uint16_t l_610 = 0x2FA4L;
 
393
        int32_t **l_637 = &g_83[6][8];
 
394
        const int32_t **l_638 = &g_16;
 
395
        uint16_t *l_644 = &g_135;
 
396
        union U1 *l_650 = &g_202;
 
397
        union U2 l_651 = {4L};
 
398
        for (g_181.f4 = 6; (g_181.f4 >= 2); g_181.f4 -= 1)
 
399
        { /* block id: 362 */
 
400
            union U2 *l_567 = &g_9[0];
 
401
            int32_t * const *l_581[1];
 
402
            int16_t l_585 = 0x9959L;
 
403
            const int32_t **l_599 = &g_16;
 
404
            union U1 l_633 = {0L};
 
405
            int i, j;
 
406
            for (i = 0; i < 1; i++)
 
407
                l_581[i] = &g_83[0][9];
 
408
            if (g_78[g_181.f4][g_181.f4])
 
409
            { /* block id: 363 */
 
410
                const int32_t *l_561[5];
 
411
                union U2 l_583 = {0x0E2EE145L};
 
412
                int i;
 
413
                for (i = 0; i < 5; i++)
 
414
                    l_561[i] = &g_11;
 
415
                for (g_102 = 0; (g_102 <= 6); g_102 += 1)
 
416
                { /* block id: 366 */
 
417
                    const int32_t **l_562[7][9][2] = {{{(void*)0,(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],&l_561[4]},{&l_561[0],&l_561[2]},{&l_561[2],&l_561[0]},{(void*)0,&l_561[2]},{&l_561[2],&l_561[4]},{&l_561[0],(void*)0},{(void*)0,&l_561[0]}},{{&l_561[2],&l_561[2]},{&l_561[2],(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],(void*)0},{&l_561[0],(void*)0},{&l_561[2],&l_561[4]},{&l_561[2],&l_561[2]}},{{&l_561[0],&l_561[4]},{&l_561[2],&l_561[2]},{(void*)0,&l_561[4]},{&l_561[2],&l_561[2]},{&l_561[0],(void*)0},{&l_561[0],&l_561[2]},{&l_561[2],&l_561[0]},{&l_561[2],(void*)0},{&l_561[2],&l_561[0]}},{{&l_561[2],(void*)0},{&l_561[2],&l_561[4]},{&l_561[2],(void*)0},{&l_561[0],(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],&l_561[4]},{(void*)0,&l_561[2]},{&l_561[2],&l_561[0]},{&l_561[0],&l_561[2]}},{{&l_561[2],&l_561[4]},{(void*)0,(void*)0},{&l_561[0],&l_561[0]},{&l_561[2],&l_561[2]},{&l_561[2],(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],(void*)0}},{{(void*)0,(void*)0},{&l_561[2],&l_561[0]},{&l_561[2],&l_561[2]},{(void*)0,&l_561[4]},{(void*)0,&l_561[2]},{&l_561[0],&l_561[4]},{&l_561[2],&l_561[2]},{(void*)0,(void*)0},{(void*)0,&l_561[2]}},{{&l_561[2],&l_561[0]},{&l_561[2],(void*)0},{&l_561[2],(void*)0},{&l_561[2],(void*)0},{&l_561[2],&l_561[4]},{&l_561[2],(void*)0},{(void*)0,(void*)0},{&l_561[2],&l_561[2]},{&l_561[2],&l_561[4]}}};
 
418
                    int i, j, k;
 
419
                    l_561[2] = (g_78[g_102][(g_181.f4 + 2)] , l_561[2]);
 
420
                }
 
421
                for (g_135 = 0; (g_135 <= 6); g_135 += 1)
 
422
                { /* block id: 385 */
 
423
                    uint16_t *l_578[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
 
424
                    uint16_t **l_591 = &l_578[5];
 
425
                    int i;
 
426
                    if (l_563[1])
 
427
                        break;
 
428
                    if (((**p_30) = (**p_30)))
 
429
                    { /* block id: 388 */
 
430
                        const uint32_t *l_570 = (void*)0;
 
431
                        const uint32_t *l_572 = &g_573;
 
432
                        const uint32_t **l_571[7][6] = {{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572},{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572},{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572},{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572},{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572},{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572},{&l_572,&l_572,&l_572,&l_572,&l_572,&l_572}};
 
433
                        union U0 ****l_588 = &g_586;
 
434
                        uint8_t *l_594 = &l_583.f1;
 
435
                        union U2 l_595 = {0L};
 
436
                        int i, j;
 
437
                        l_584 = (((safe_rshift_func_uint16_t_u_s((((p_32 == (g_574 = (l_570 = &g_547))) ^ ((**p_30) = (0UL & (safe_div_func_int8_t_s_s(g_76[3], g_231))))) > g_78[g_181.f4][g_181.f4]), 1)) & (l_578[6] != (func_45((safe_mul_func_uint16_t_u_u((((l_581[0] == &p_31) >= 0x707B488DL) <= g_76[3]), p_33)), g_582, l_583, &g_83[0][9], p_33) , &g_135))) && p_33);
 
438
                        (**p_30) &= (((g_209 , 65535UL) || l_585) && (func_45((((*l_588) = g_586) == &g_587), ((*g_593) &= (((&g_82 != &p_30) ^ (l_563[0] = ((*l_594) = (safe_mul_func_int8_t_s_s(g_575, (l_591 == g_592)))))) <= 0x9676L)), l_595, &g_83[0][9], l_584) && l_563[2]));
 
439
                        return (*g_537);
 
440
                    }
 
441
                    else
 
442
                    { /* block id: 399 */
 
443
                        if (l_563[0])
 
444
                            break;
 
445
                    }
 
446
                    if ((**p_30))
 
447
                    { /* block id: 402 */
 
448
                        return (*g_82);
 
449
                    }
 
450
                    else
 
451
                    { /* block id: 404 */
 
452
                        (*p_32) = ((**p_30) &= 0L);
 
453
                    }
 
454
                }
 
455
                return (*p_30);
 
456
            }
 
457
            else
 
458
            { /* block id: 410 */
 
459
                uint32_t l_601 = 4294967293UL;
 
460
                int16_t l_606 = 0x86ADL;
 
461
                uint32_t *l_618 = &g_547;
 
462
                int16_t *l_619 = &g_77;
 
463
                union U2 * const **l_622 = (void*)0;
 
464
                union U2 ****l_624[6][1];
 
465
                int32_t l_625 = 7L;
 
466
                int i, j;
 
467
                for (i = 0; i < 6; i++)
 
468
                {
 
469
                    for (j = 0; j < 1; j++)
 
470
                        l_624[i][j] = &l_623[6][0][0];
 
471
                }
 
472
                (*g_537) = (*g_537);
 
473
                for (g_390 = 0; (g_390 <= 6); g_390 += 1)
 
474
                { /* block id: 414 */
 
475
                    const union U0 *l_596[8] = {&g_181,&g_181,&g_181,&g_181,&g_181,&g_181,&g_181,&g_181};
 
476
                    const union U0 **l_597 = &l_596[7];
 
477
                    union U1 l_598 = {0xBA0F4ADFL};
 
478
                    int32_t l_600 = (-8L);
 
479
                    const uint16_t l_604 = 0x3537L;
 
480
                    int i;
 
481
                    (*l_597) = l_596[7];
 
482
                    if (func_55(((*p_32) && 0xDACB73B6L), l_598, func_61((+(l_563[2] & p_33)), l_599), g_202.f1))
 
483
                    { /* block id: 416 */
 
484
                        uint8_t l_605 = 0x27L;
 
485
                        l_601--;
 
486
                        if (l_601)
 
487
                            break;
 
488
                        l_605 = l_604;
 
489
                    }
 
490
                    else
 
491
                    { /* block id: 420 */
 
492
                        if (l_606)
 
493
                            break;
 
494
                        if (l_607)
 
495
                            break;
 
496
                        (*p_32) = (0x66L || 251UL);
 
497
                        (**p_30) ^= (g_77 & l_584);
 
498
                    }
 
499
                    (**p_30) ^= l_563[0];
 
500
                    (**p_30) ^= (*p_32);
 
501
                }
 
502
                (**p_30) = ((safe_div_func_uint8_t_u_u(l_610, (safe_div_func_int16_t_s_s((g_209 = (safe_unary_minus_func_uint8_t_u(((safe_mod_func_int16_t_s_s(((*l_619) = (((*l_618) = (safe_add_func_uint32_t_u_u(p_33, l_606))) & (l_610 >= 254UL))), 0xFB78L)) == (*p_32))))), (safe_mul_func_int16_t_s_s((((l_622 == (l_623[2][1][0] = l_623[6][0][0])) <= 5L) , (-7L)), 0x2D99L)))))) < 0x64L);
 
503
                for (g_547 = 0; (g_547 <= 6); g_547 += 1)
 
504
                { /* block id: 436 */
 
505
                    union U1 l_634 = {0x8542DBDAL};
 
506
                    union U2 l_636 = {1L};
 
507
                    uint32_t l_639 = 0x3777B03DL;
 
508
                    for (g_71 = 0; (g_71 <= 6); g_71 += 1)
 
509
                    { /* block id: 439 */
 
510
                        l_625 = (**p_30);
 
511
                    }
 
512
                    for (g_77 = 0; (g_77 <= 6); g_77 += 1)
 
513
                    { /* block id: 444 */
 
514
                        union U2 l_626 = {0x7E9C8075L};
 
515
                        int32_t *l_635 = &g_102;
 
516
                    }
 
517
                    return (*g_82);
 
518
                }
 
519
            }
 
520
        }
 
521
        (*l_638) = func_2(((safe_mul_func_int16_t_s_s(g_231, ((((((**l_638) , (**p_30)) <= (((*l_644) = p_33) > (safe_div_func_uint32_t_u_u(func_55(g_78[6][6], (*g_261), (*l_637), ((((g_648 = l_647) == l_650) & g_582) && 1L)), (**p_30))))) >= 0x11L) != 0x1AC1L) | 4294967290UL))) , g_649.f0), l_651, (*g_82), (*g_183), (*l_650));
 
522
    }
 
523
    (**p_30) |= (func_45(((+((safe_mod_func_uint8_t_u_u(l_563[0], (safe_mul_func_int8_t_s_s((safe_add_func_int16_t_s_s((-2L), func_45((safe_mul_func_int16_t_s_s((l_660 = l_563[2]), p_33)), (*g_593), ((l_661 , (safe_add_func_uint16_t_u_u(0UL, (safe_lshift_func_uint8_t_u_u(p_33, 5))))) , (((p_33 ^ 0xBAEAL) & g_202.f1) , g_9[2])), &g_83[0][9], (*g_574)))), l_563[2])))) != 7UL)) & g_666), (**g_592), g_9[0], l_667, p_33) <= g_668);
 
524
    return (*p_30);
 
525
}
 
526
 
 
527
 
 
528
/* ------------------------------------------ */
 
529
/* 
 
530
 * reads : g_181.f4 g_209 g_202.f0 g_11 g_181.f2 g_144 g_83 g_201 g_202 g_537
 
531
 * writes: g_181.f4 g_144 g_547 g_390 g_135 g_66 g_16 g_83
 
532
 */
 
533
static int32_t * func_36(int32_t ** p_37)
 
534
{ /* block id: 342 */
 
535
    int16_t *l_541[5] = {&g_77,&g_77,&g_77,&g_77,&g_77};
 
536
    int32_t l_542 = 1L;
 
537
    int32_t l_543 = 1L;
 
538
    int32_t *l_544 = &g_144;
 
539
    union U0 l_545 = {0x4F299A70L};
 
540
    uint32_t *l_546 = &g_547;
 
541
    int8_t *l_548 = &g_390;
 
542
    uint16_t *l_549 = &g_135;
 
543
    uint32_t l_550 = 1UL;
 
544
    union U2 l_551[10][4] = {{{-1L},{-1L},{0x1487E6D1L},{0x1487E6D1L}},{{0x008F65D1L},{-1L},{0x1487E6D1L},{-1L}},{{-1L},{1L},{-1L},{7L}},{{0x9D8FA7ECL},{1L},{0x9D8FA7ECL},{-1L}},{{-1L},{0x008F65D1L},{-1L},{0x9D8FA7ECL}},{{-1L},{7L},{-1L},{-1L}},{{-1L},{0x008F65D1L},{-1L},{0x008F65D1L}},{{-1L},{1L},{0x008F65D1L},{0x1487E6D1L}},{{0x1487E6D1L},{0x1487E6D1L},{-1L},{-1L}},{{0x9D8FA7ECL},{-1L},{-1L},{-1L}}};
 
545
    int32_t *l_552[5][10] = {{&g_144,&l_543,&l_543,&l_542,&l_543,&l_543,&g_11,&l_545.f3,&l_542,&l_542},{&l_542,&l_545.f3,&l_543,&l_545.f3,&l_545.f3,&g_144,&l_545.f3,&g_468,&l_543,&l_542},{&g_468,&l_542,&g_144,&l_545.f3,&l_543,&g_468,&l_545.f3,&g_11,&l_545.f3,&g_468},{&l_542,&l_545.f3,&l_545.f3,&l_545.f3,&l_542,&l_545.f3,&g_11,&l_545.f3,&l_543,&g_144},{&l_542,&l_543,&g_468,&l_545.f3,&g_11,&g_468,&g_468,&l_545.f3,&g_144,&g_11}};
 
546
    uint32_t l_553 = 8UL;
 
547
    uint8_t *l_554 = &g_66[0];
 
548
    uint16_t l_557[3];
 
549
    int i, j;
 
550
    for (i = 0; i < 3; i++)
 
551
        l_557[i] = 3UL;
 
552
    (*l_544) = (((func_45(((safe_mod_func_int16_t_s_s((l_542 &= (g_181.f4 &= 0x1366L)), l_543)) & (l_543 | (((*l_544) = 0x6B1D3010L) == ((l_545 , 0xF9L) < (((*l_546) = l_543) >= ((65535UL >= ((*l_549) = (((*l_548) = g_209) || g_202.f0))) ^ l_550)))))), g_11, l_551[7][0], p_37, l_545.f3) || g_181.f2) == l_545.f0) == g_11);
 
553
    l_553 ^= (*l_544);
 
554
    if (g_144)
 
555
        goto lbl_558;
 
556
lbl_558:
 
557
    g_16 = func_2(((*l_554) = (*l_544)), l_551[8][3], (*p_37), (((safe_lshift_func_uint16_t_u_u((((&g_181 == (l_545 , &g_181)) == (*l_544)) <= 65526UL), 3)) ^ ((!((*l_544) | l_557[1])) <= (*l_544))) , l_545), (*g_201));
 
558
    (*g_537) = (*p_37);
 
559
    return (*g_537);
 
560
}
 
561
 
 
562
 
 
563
/* ------------------------------------------ */
 
564
/* 
 
565
 * reads : g_11 g_77 g_16 g_71 g_82
 
566
 * writes:
 
567
 */
 
568
static int32_t ** func_38(int16_t  p_39, int8_t  p_40, union U2  p_41, union U0  p_42)
 
569
{ /* block id: 19 */
 
570
    union U2 l_87 = {-6L};
 
571
    int16_t l_92 = 0x69BAL;
 
572
    int32_t *l_101[5][9][5] = {{{&g_102,&g_11,&g_11,&g_11,(void*)0},{(void*)0,&g_102,(void*)0,&g_102,&g_102},{(void*)0,(void*)0,&g_102,&g_11,&g_11},{&g_11,&g_11,(void*)0,&g_11,&g_11},{&g_102,&g_11,&g_102,&g_11,&g_102},{&g_102,&g_11,&g_102,&g_11,(void*)0},{&g_11,&g_102,(void*)0,&g_11,&g_102},{&g_102,&g_102,&g_102,(void*)0,&g_11},{&g_102,&g_102,&g_11,&g_11,(void*)0}},{{&g_102,(void*)0,&g_11,&g_11,(void*)0},{&g_102,&g_102,&g_102,&g_11,&g_11},{&g_11,&g_11,&g_11,&g_11,&g_102},{&g_11,&g_102,&g_11,&g_11,&g_102},{&g_102,&g_11,&g_102,&g_102,&g_102},{(void*)0,&g_102,&g_102,&g_11,&g_11},{&g_11,&g_102,&g_102,(void*)0,&g_11},{&g_11,&g_102,(void*)0,(void*)0,&g_11},{(void*)0,&g_102,&g_102,&g_11,&g_11}},{{&g_102,&g_11,&g_102,&g_11,&g_11},{&g_102,&g_102,&g_102,&g_102,&g_11},{&g_102,&g_102,&g_11,&g_102,&g_102},{&g_11,(void*)0,&g_102,&g_102,&g_102},{&g_11,&g_11,&g_11,&g_102,&g_102},{&g_102,&g_11,&g_102,&g_102,&g_11},{&g_102,&g_102,&g_102,&g_102,(void*)0},{&g_102,(void*)0,(void*)0,&g_11,&g_102},{&g_102,&g_102,(void*)0,(void*)0,&g_11}},{{&g_102,(void*)0,&g_11,&g_102,&g_11},{&g_102,&g_102,(void*)0,&g_102,&g_102},{&g_102,(void*)0,(void*)0,&g_11,&g_102},{&g_102,&g_11,&g_11,(void*)0,&g_11},{&g_102,(void*)0,&g_102,&g_11,(void*)0},{&g_11,&g_102,&g_102,&g_102,(void*)0},{&g_11,&g_11,&g_102,&g_102,&g_102},{&g_102,&g_11,&g_11,&g_102,&g_102},{&g_102,&g_102,&g_11,&g_11,&g_102}},{{(void*)0,&g_11,&g_102,(void*)0,&g_102},{(void*)0,&g_11,&g_102,&g_102,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_11},{&g_102,&g_11,&g_102,&g_11,&g_102},{&g_11,&g_11,&g_102,&g_11,&g_102},{&g_11,&g_102,&g_102,&g_11,&g_102},{(void*)0,(void*)0,(void*)0,&g_102,&g_102},{(void*)0,&g_102,(void*)0,&g_11,&g_102},{&g_11,&g_102,&g_102,&g_102,&g_102}}};
 
573
    uint32_t l_103 = 0xBDDE1E78L;
 
574
    int8_t l_114 = 0xFAL;
 
575
    uint32_t l_158 = 7UL;
 
576
    union U0 *l_180 = &g_181;
 
577
    union U1 l_193 = {1L};
 
578
    int32_t *l_196 = &g_102;
 
579
    uint32_t l_212 = 0xCC8533B4L;
 
580
    uint16_t l_263 = 0x3F35L;
 
581
    int32_t **l_294 = (void*)0;
 
582
    int32_t ***l_295 = (void*)0;
 
583
    int32_t ***l_296 = (void*)0;
 
584
    int32_t ***l_297 = &g_82;
 
585
    const int32_t **l_298[9] = {&g_16,&g_16,&g_16,&g_16,&g_16,&g_16,&g_16,&g_16,&g_16};
 
586
    union U2 **l_324 = &g_282;
 
587
    union U2 **l_325 = &g_282;
 
588
    union U1 l_467 = {0x564CF22EL};
 
589
    uint32_t l_497 = 0xAD274BE0L;
 
590
    int32_t l_502[2];
 
591
    int16_t l_536 = 7L;
 
592
    int i, j, k;
 
593
    for (i = 0; i < 2; i++)
 
594
        l_502[i] = 1L;
 
595
    l_103 |= ((((l_87 , p_42) , p_42) , ((g_11 != g_11) != (safe_lshift_func_uint16_t_u_s((g_77 , (safe_mul_func_int8_t_s_s((l_92 < l_92), (safe_mul_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_u(((safe_div_func_int32_t_s_s((safe_div_func_int16_t_s_s((((p_41.f0 = p_42.f4) | (*g_16)) == 0xF910L), g_71)), 0xBA0E3889L)) | 0UL), l_92)), l_92))))), 9)))) ^ 0x556CL);
 
596
    return (*l_297);
 
597
}
 
598
 
 
599
 
 
600
/* ------------------------------------------ */
 
601
/* 
 
602
 * reads :
 
603
 * writes:
 
604
 */
 
605
static int8_t  func_45(uint8_t  p_46, uint16_t  p_47, union U2  p_48, int32_t ** p_49, const uint32_t  p_50)
 
606
{ /* block id: 16 */
 
607
    return p_50;
 
608
}
 
609
 
 
610
 
 
611
/* ------------------------------------------ */
 
612
/* 
 
613
 * reads : g_71 g_78
 
614
 * writes: g_71 g_78
 
615
 */
 
616
static int8_t  func_55(uint8_t  p_56, union U1  p_57, int32_t * p_58, uint8_t  p_59)
 
617
{ /* block id: 12 */
 
618
    int16_t l_69 = 1L;
 
619
    int32_t *l_70[8] = {&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11,&g_11};
 
620
    int8_t l_74[4][7] = {{4L,4L,4L,4L,4L,4L,4L},{5L,(-5L),5L,(-5L),5L,(-5L),5L},{4L,4L,4L,4L,4L,4L,4L},{5L,(-5L),5L,(-5L),5L,(-5L),5L}};
 
621
    int32_t l_81 = 1L;
 
622
    int i, j;
 
623
    g_71++;
 
624
    ++g_78[2][2];
 
625
    return l_81;
 
626
}
 
627
 
 
628
 
 
629
/* ------------------------------------------ */
 
630
/* 
 
631
 * reads : g_66
 
632
 * writes: g_16 g_66
 
633
 */
 
634
static int32_t * func_61(int16_t  p_62, const int32_t ** p_63)
 
635
{ /* block id: 8 */
 
636
    int32_t *l_64 = &g_11;
 
637
    int32_t *l_65[1];
 
638
    int i;
 
639
    for (i = 0; i < 1; i++)
 
640
        l_65[i] = &g_11;
 
641
    (*p_63) = l_64;
 
642
    ++g_66[0];
 
643
    return l_64;
 
644
}
 
645
 
 
646
 
 
647
 
 
648
 
 
649
/* ---------------------------------------- */
 
650
int main (int argc, char* argv[])
 
651
{
 
652
    int i, j;
 
653
    int print_hash_value = 0;
 
654
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
 
655
    platform_main_begin();
 
656
    crc32_gentab();
 
657
    func_1();
 
658
    for (i = 0; i < 5; i++)
 
659
    {
 
660
        transparent_crc(g_9[i].f0, "g_9[i].f0", print_hash_value);
 
661
        if (print_hash_value) printf("index = [%d]\n", i);
 
662
 
 
663
    }
 
664
    transparent_crc(g_11, "g_11", print_hash_value);
 
665
    for (i = 0; i < 1; i++)
 
666
    {
 
667
        transparent_crc(g_66[i], "g_66[i]", print_hash_value);
 
668
        if (print_hash_value) printf("index = [%d]\n", i);
 
669
 
 
670
    }
 
671
    transparent_crc(g_71, "g_71", print_hash_value);
 
672
    transparent_crc(g_75, "g_75", print_hash_value);
 
673
    for (i = 0; i < 5; i++)
 
674
    {
 
675
        transparent_crc(g_76[i], "g_76[i]", print_hash_value);
 
676
        if (print_hash_value) printf("index = [%d]\n", i);
 
677
 
 
678
    }
 
679
    transparent_crc(g_77, "g_77", print_hash_value);
 
680
    for (i = 0; i < 7; i++)
 
681
    {
 
682
        for (j = 0; j < 9; j++)
 
683
        {
 
684
            transparent_crc(g_78[i][j], "g_78[i][j]", print_hash_value);
 
685
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);
 
686
 
 
687
        }
 
688
    }
 
689
    transparent_crc(g_102, "g_102", print_hash_value);
 
690
    transparent_crc(g_135, "g_135", print_hash_value);
 
691
    transparent_crc(g_144, "g_144", print_hash_value);
 
692
    transparent_crc(g_160, "g_160", print_hash_value);
 
693
    transparent_crc(g_181.f2, "g_181.f2", print_hash_value);
 
694
    transparent_crc(g_181.f4, "g_181.f4", print_hash_value);
 
695
    transparent_crc(g_202.f0, "g_202.f0", print_hash_value);
 
696
    transparent_crc(g_202.f1, "g_202.f1", print_hash_value);
 
697
    transparent_crc(g_209, "g_209", print_hash_value);
 
698
    transparent_crc(g_211, "g_211", print_hash_value);
 
699
    transparent_crc(g_231, "g_231", print_hash_value);
 
700
    transparent_crc(g_328, "g_328", print_hash_value);
 
701
    transparent_crc(g_390, "g_390", print_hash_value);
 
702
    transparent_crc(g_468, "g_468", print_hash_value);
 
703
    transparent_crc(g_547, "g_547", print_hash_value);
 
704
    transparent_crc(g_573, "g_573", print_hash_value);
 
705
    transparent_crc(g_575, "g_575", print_hash_value);
 
706
    transparent_crc(g_582, "g_582", print_hash_value);
 
707
    transparent_crc(g_649.f0, "g_649.f0", print_hash_value);
 
708
    transparent_crc(g_649.f1, "g_649.f1", print_hash_value);
 
709
    transparent_crc(g_666, "g_666", print_hash_value);
 
710
    transparent_crc(g_668, "g_668", print_hash_value);
 
711
    transparent_crc(g_756, "g_756", print_hash_value);
 
712
    transparent_crc(g_860, "g_860", print_hash_value);
 
713
    transparent_crc(g_894, "g_894", print_hash_value);
 
714
    transparent_crc(g_947, "g_947", print_hash_value);
 
715
    for (i = 0; i < 5; i++)
 
716
    {
 
717
        for (j = 0; j < 3; j++)
 
718
        {
 
719
            transparent_crc(g_966[i][j], "g_966[i][j]", print_hash_value);
 
720
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);
 
721
 
 
722
        }
 
723
    }
 
724
    for (i = 0; i < 9; i++)
 
725
    {
 
726
        for (j = 0; j < 9; j++)
 
727
        {
 
728
            transparent_crc(g_1059[i][j].f0, "g_1059[i][j].f0", print_hash_value);
 
729
            transparent_crc(g_1059[i][j].f1, "g_1059[i][j].f1", print_hash_value);
 
730
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);
 
731
 
 
732
        }
 
733
    }
 
734
    transparent_crc(g_1124, "g_1124", print_hash_value);
 
735
    transparent_crc(g_1254, "g_1254", print_hash_value);
 
736
    transparent_crc(g_1294, "g_1294", print_hash_value);
 
737
    transparent_crc(g_1418, "g_1418", print_hash_value);
 
738
    transparent_crc(g_1501, "g_1501", print_hash_value);
 
739
    transparent_crc(g_1597, "g_1597", print_hash_value);
 
740
    transparent_crc(g_1613, "g_1613", print_hash_value);
 
741
    for (i = 0; i < 1; i++)
 
742
    {
 
743
        transparent_crc(g_1665[i], "g_1665[i]", print_hash_value);
 
744
        if (print_hash_value) printf("index = [%d]\n", i);
 
745
 
 
746
    }
 
747
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
 
748
    return 0;
 
749
}
 
750
 
 
751
/************************ statistics *************************
 
752
XXX max struct depth: 0
 
753
breakdown:
 
754
   depth: 0, occurrence: 592
 
755
XXX total union variables: 93
 
756
 
 
757
XXX non-zero bitfields defined in structs: 1
 
758
XXX zero bitfields defined in structs: 0
 
759
XXX const bitfields defined in structs: 0
 
760
XXX volatile bitfields defined in structs: 0
 
761
XXX structs with bitfields in the program: 68
 
762
breakdown:
 
763
   indirect level: 0, occurrence: 51
 
764
   indirect level: 1, occurrence: 5
 
765
   indirect level: 2, occurrence: 5
 
766
   indirect level: 3, occurrence: 5
 
767
   indirect level: 4, occurrence: 2
 
768
XXX full-bitfields structs in the program: 0
 
769
breakdown:
 
770
XXX times a bitfields struct's address is taken: 23
 
771
XXX times a bitfields struct on LHS: 4
 
772
XXX times a bitfields struct on RHS: 99
 
773
XXX times a single bitfield on LHS: 18
 
774
XXX times a single bitfield on RHS: 43
 
775
 
 
776
XXX max expression depth: 41
 
777
breakdown:
 
778
   depth: 1, occurrence: 83
 
779
   depth: 2, occurrence: 20
 
780
   depth: 6, occurrence: 1
 
781
   depth: 7, occurrence: 2
 
782
   depth: 9, occurrence: 1
 
783
   depth: 16, occurrence: 1
 
784
   depth: 17, occurrence: 1
 
785
   depth: 19, occurrence: 1
 
786
   depth: 20, occurrence: 1
 
787
   depth: 23, occurrence: 1
 
788
   depth: 24, occurrence: 1
 
789
   depth: 25, occurrence: 1
 
790
   depth: 26, occurrence: 1
 
791
   depth: 35, occurrence: 1
 
792
   depth: 41, occurrence: 1
 
793
 
 
794
XXX total number of pointers: 403
 
795
 
 
796
XXX times a variable address is taken: 932
 
797
XXX times a pointer is dereferenced on RHS: 354
 
798
breakdown:
 
799
   depth: 1, occurrence: 286
 
800
   depth: 2, occurrence: 54
 
801
   depth: 3, occurrence: 10
 
802
   depth: 4, occurrence: 4
 
803
XXX times a pointer is dereferenced on LHS: 297
 
804
breakdown:
 
805
   depth: 1, occurrence: 272
 
806
   depth: 2, occurrence: 21
 
807
   depth: 3, occurrence: 4
 
808
XXX times a pointer is compared with null: 26
 
809
XXX times a pointer is compared with address of another variable: 7
 
810
XXX times a pointer is compared with another pointer: 10
 
811
XXX times a pointer is qualified to be dereferenced: 6446
 
812
 
 
813
XXX max dereference level: 4
 
814
breakdown:
 
815
   level: 0, occurrence: 0
 
816
   level: 1, occurrence: 1057
 
817
   level: 2, occurrence: 375
 
818
   level: 3, occurrence: 48
 
819
   level: 4, occurrence: 15
 
820
XXX number of pointers point to pointers: 164
 
821
XXX number of pointers point to scalars: 201
 
822
XXX number of pointers point to structs: 0
 
823
XXX percent of pointers has null in alias set: 31
 
824
XXX average alias set size: 1.41
 
825
 
 
826
XXX times a non-volatile is read: 2062
 
827
XXX times a non-volatile is write: 900
 
828
XXX times a volatile is read: 0
 
829
XXX    times read thru a pointer: 0
 
830
XXX times a volatile is write: 0
 
831
XXX    times written thru a pointer: 0
 
832
XXX times a volatile is available for access: 0
 
833
XXX percentage of non-volatile access: 100
 
834
 
 
835
XXX forward jumps: 1
 
836
XXX backward jumps: 12
 
837
 
 
838
XXX stmts: 80
 
839
XXX max block depth: 5
 
840
breakdown:
 
841
   depth: 0, occurrence: 27
 
842
   depth: 1, occurrence: 4
 
843
   depth: 2, occurrence: 7
 
844
   depth: 3, occurrence: 14
 
845
   depth: 4, occurrence: 14
 
846
   depth: 5, occurrence: 14
 
847
 
 
848
XXX percentage a fresh-made variable is used: 18.2
 
849
XXX percentage an existing variable is used: 81.8
 
850
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
 
851
********************* end of statistics **********************/
 
852