813 lines
45 KiB
C
813 lines
45 KiB
C
/*
|
|
* This is a RANDOMLY GENERATED PROGRAM.
|
|
*
|
|
* Generator: csmith 2.3.0
|
|
* Git version: 30dccd7
|
|
* Options: (none)
|
|
* Seed: 344516290112672037
|
|
*/
|
|
|
|
#include "csmith.h"
|
|
|
|
|
|
static long __undefined;
|
|
|
|
/* --- Struct/Union Declarations --- */
|
|
#pragma pack(push)
|
|
#pragma pack(1)
|
|
struct S0 {
|
|
signed f0 : 17;
|
|
const unsigned f1 : 4;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
union U1 {
|
|
uint8_t f0;
|
|
volatile int64_t f1;
|
|
};
|
|
|
|
union U2 {
|
|
uint32_t f0;
|
|
volatile uint32_t f1;
|
|
int8_t * volatile f2;
|
|
volatile int64_t f3;
|
|
};
|
|
|
|
union U3 {
|
|
const signed f0 : 2;
|
|
int32_t f1;
|
|
uint32_t f2;
|
|
};
|
|
|
|
union U4 {
|
|
volatile int16_t f0;
|
|
int64_t f1;
|
|
int8_t * volatile f2;
|
|
};
|
|
|
|
/* --- GLOBAL VARIABLES --- */
|
|
static int8_t g_15 = 0L;
|
|
static int32_t g_20 = 7L;
|
|
static int32_t * const g_19 = &g_20;
|
|
static int32_t *g_25 = &g_20;
|
|
static int32_t ** volatile g_24[9][6] = {{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25},{&g_25,&g_25,&g_25,&g_25,&g_25,&g_25}};
|
|
static int32_t ** volatile g_26 = (void*)0;/* VOLATILE GLOBAL g_26 */
|
|
static int32_t ** volatile g_27 = &g_25;/* VOLATILE GLOBAL g_27 */
|
|
static const volatile union U4 g_31 = {0xDFE9L};/* VOLATILE GLOBAL g_31 */
|
|
static struct S0 g_60 = {306,1};
|
|
static int32_t g_70 = 0x17887B34L;
|
|
static int32_t g_88 = 0xE85A6EDBL;
|
|
static union U1 g_89 = {0UL};/* VOLATILE GLOBAL g_89 */
|
|
static int16_t g_98 = 1L;
|
|
static const union U2 g_108[3][6] = {{{0xE5F641D3L},{8UL},{0xE5F641D3L},{0xE5F641D3L},{8UL},{0xE5F641D3L}},{{0xE5F641D3L},{8UL},{0xE5F641D3L},{0xE5F641D3L},{8UL},{0xE5F641D3L}},{{0xE5F641D3L},{8UL},{0xE5F641D3L},{0xE5F641D3L},{8UL},{0xE5F641D3L}}};
|
|
static uint16_t g_116 = 0xB510L;
|
|
static union U2 g_120 = {0x62B6CB16L};/* VOLATILE GLOBAL g_120 */
|
|
static union U2 *g_122 = &g_120;
|
|
static int64_t g_145[9] = {0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL,0xF69C2BC1C087C3A5LL};
|
|
static int64_t g_146 = 0L;
|
|
static int32_t * volatile g_189 = &g_88;/* VOLATILE GLOBAL g_189 */
|
|
static union U3 g_190[10] = {{0x5740FBDBL},{0xCFBBAAEEL},{0x5740FBDBL},{0x5740FBDBL},{0xCFBBAAEEL},{0x5740FBDBL},{0x5740FBDBL},{0xCFBBAAEEL},{0x5740FBDBL},{0x5740FBDBL}};
|
|
static volatile int32_t g_210[1] = {0x69E89804L};
|
|
static volatile int32_t * volatile g_209 = &g_210[0];/* VOLATILE GLOBAL g_209 */
|
|
static volatile int8_t g_225 = 5L;/* VOLATILE GLOBAL g_225 */
|
|
static volatile int8_t *g_224 = &g_225;
|
|
static volatile int8_t **g_223[1][2] = {{&g_224,&g_224}};
|
|
static int8_t g_235 = 0xE0L;
|
|
static int8_t *g_234 = &g_235;
|
|
static int32_t ** volatile g_239 = &g_25;/* VOLATILE GLOBAL g_239 */
|
|
static uint8_t g_261 = 255UL;
|
|
static union U4 g_265 = {0L};/* VOLATILE GLOBAL g_265 */
|
|
static union U4 *g_267 = &g_265;
|
|
static union U4 ** volatile g_266[10][6] = {{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267}};
|
|
static int8_t **g_304 = &g_234;
|
|
static int8_t ***g_303 = &g_304;
|
|
static int8_t **** volatile g_302 = &g_303;/* VOLATILE GLOBAL g_302 */
|
|
static uint32_t g_332 = 4294967295UL;
|
|
static int32_t ** volatile g_363 = &g_25;/* VOLATILE GLOBAL g_363 */
|
|
static volatile union U4 g_425 = {-7L};/* VOLATILE GLOBAL g_425 */
|
|
static const uint16_t *g_456 = (void*)0;
|
|
static const uint16_t g_458 = 1UL;
|
|
static const uint16_t *g_457 = &g_458;
|
|
static volatile union U1 g_463 = {0x2FL};/* VOLATILE GLOBAL g_463 */
|
|
static volatile union U1 *g_462[10] = {&g_463,&g_463,&g_463,&g_463,&g_463,&g_463,&g_463,&g_463,&g_463,&g_463};
|
|
static volatile union U1 * volatile *g_461[10] = {&g_462[4],&g_462[4],&g_462[4],&g_462[4],&g_462[4],&g_462[4],&g_462[4],&g_462[4],&g_462[4],&g_462[4]};
|
|
static union U1 g_495 = {0UL};/* VOLATILE GLOBAL g_495 */
|
|
static union U4 g_500 = {0x1E41L};/* VOLATILE GLOBAL g_500 */
|
|
static union U4 g_501 = {0xE73EL};/* VOLATILE GLOBAL g_501 */
|
|
static union U4 g_502 = {1L};/* VOLATILE GLOBAL g_502 */
|
|
static union U4 g_532 = {0L};/* VOLATILE GLOBAL g_532 */
|
|
static const volatile union U4 g_544 = {-4L};/* VOLATILE GLOBAL g_544 */
|
|
static int32_t ** volatile g_550[2] = {&g_25,&g_25};
|
|
static int32_t *g_551 = (void*)0;
|
|
static union U2 **g_569 = &g_122;
|
|
static union U2 ***g_568 = &g_569;
|
|
static union U2 ***g_572 = &g_569;
|
|
static union U2 **** volatile g_571[9][4][7] = {{{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572}},{{&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0},{&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572}},{{&g_572,(void*)0,&g_572,&g_572,&g_572,&g_572,&g_572},{(void*)0,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0}},{{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0},{&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572,&g_572}},{{&g_572,&g_572,&g_572,(void*)0,&g_572,(void*)0,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572}},{{&g_572,&g_572,&g_572,&g_572,(void*)0,(void*)0,&g_572},{&g_572,&g_572,(void*)0,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572}},{{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{(void*)0,&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0}},{{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,(void*)0,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0,(void*)0}},{{&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572,&g_572},{&g_572,&g_572,&g_572,&g_572,&g_572,(void*)0,&g_572},{&g_572,(void*)0,&g_572,&g_572,&g_572,&g_572,&g_572},{(void*)0,&g_572,(void*)0,(void*)0,&g_572,&g_572,&g_572}}};
|
|
static union U2 **** volatile g_573 = &g_572;/* VOLATILE GLOBAL g_573 */
|
|
static uint32_t * volatile g_602 = (void*)0;/* VOLATILE GLOBAL g_602 */
|
|
static uint32_t * volatile * const volatile g_601 = &g_602;/* VOLATILE GLOBAL g_601 */
|
|
static union U3 g_617[6][6][7] = {{{{1L},{5L},{-1L},{0x2F652575L},{1L},{0xC7A44D99L},{0L}},{{5L},{0x35EF9450L},{-1L},{0x8AFF209DL},{-6L},{0x162AF59AL},{1L}},{{-6L},{-9L},{0x293647C4L},{0L},{0L},{0x293647C4L},{-9L}},{{-1L},{-8L},{1L},{0xA81BDFC4L},{0x2571E906L},{0x0B26964DL},{0x6021FDB7L}},{{0L},{0x2F652575L},{-1L},{7L},{0x975D16A3L},{3L},{0x8AFF209DL}},{{0x72BCC187L},{0L},{-7L},{0xA81BDFC4L},{0L},{0x91516D21L},{0xA81BDFC4L}}},{{{0xC6325416L},{0x8AFF209DL},{1L},{0L},{-1L},{8L},{-1L}},{{0x449045C4L},{9L},{0x9DE2BEECL},{0x8AFF209DL},{0x975D16A3L},{-8L},{0xC7A44D99L}},{{0L},{0xC2477CC2L},{0x2F7D0F36L},{0x2F652575L},{0x9E8E7A7DL},{0L},{-6L}},{{0L},{1L},{0x8AFF209DL},{0xC6325416L},{0x0B26964DL},{-1L},{-6L}},{{0x162AF59AL},{0x6021FDB7L},{7L},{1L},{-6L},{3L},{0xC7A44D99L}},{{0L},{0L},{6L},{0xCD6DA36EL},{0x3301A813L},{-4L},{-1L}}},{{{0xA81BDFC4L},{1L},{-8L},{-1L},{-8L},{1L},{0xA81BDFC4L}},{{0x0B26964DL},{0x72BCC187L},{5L},{8L},{0xC6325416L},{0x162AF59AL},{0x8AFF209DL}},{{0L},{0L},{-9L},{-9L},{-1L},{2L},{0x6021FDB7L}},{{0x2F652575L},{-1L},{5L},{1L},{1L},{-1L},{-9L}},{{1L},{0xC6325416L},{-8L},{-1L},{0xC2477CC2L},{7L},{1L}},{{0x72BCC187L},{0xC2477CC2L},{6L},{-9L},{0L},{-7L},{0L}}},{{{0xCD6DA36EL},{3L},{7L},{-6L},{0x9DE2BEECL},{-1L},{0xC2477CC2L}},{{0xF838B5C8L},{0L},{0x8AFF209DL},{0xF838B5C8L},{0x72BCC187L},{-1L},{0xB8CC8397L}},{{-6L},{0L},{0x2F7D0F36L},{0xCD6DA36EL},{-1L},{-7L},{1L}},{{-9L},{0x449045C4L},{0x9DE2BEECL},{0x72BCC187L},{1L},{7L},{0x35EF9450L}},{{-1L},{-8L},{1L},{1L},{-8L},{-1L},{0x9DE2BEECL}},{{1L},{-9L},{-7L},{0x2F652575L},{0x3301A813L},{2L},{0L}}},{{{-9L},{0xB8CC8397L},{-1L},{0L},{8L},{0x162AF59AL},{0x3301A813L}},{{8L},{-9L},{1L},{0x0B26964DL},{0L},{1L},{5L}},{{-1L},{-8L},{0x293647C4L},{0xA81BDFC4L},{0x9E8E7A7DL},{-4L},{0x6021FDB7L}},{{0xCD6DA36EL},{0L},{0xB23448E2L},{-1L},{0x293647C4L},{6L},{1L}},{{0x75D9F8CEL},{-1L},{0x91516D21L},{0x2F7D0F36L},{-8L},{0xB23448E2L},{0x2F7D0F36L}},{{0x2571E906L},{1L},{0x9E8E7A7DL},{7L},{-8L},{-9L},{0xC7A44D99L}}},{{{8L},{6L},{0x627411F4L},{1L},{0x293647C4L},{-9L},{0x9DE2BEECL}},{{0x1AE926B2L},{-1L},{6L},{0L},{-1L},{0L},{0L}},{{7L},{0x2571E906L},{7L},{0x2571E906L},{7L},{-8L},{5L}},{{3L},{0x91516D21L},{-7L},{0x8AFF209DL},{0L},{6L},{0x9DE2BEECL}},{{-7L},{-8L},{0L},{1L},{0xF838B5C8L},{5L},{2L}},{{3L},{0x8AFF209DL},{0x35EF9450L},{0xC7A44D99L},{0xB8CC8397L},{0L},{3L}}}};
|
|
static volatile uint8_t g_657 = 0x46L;/* VOLATILE GLOBAL g_657 */
|
|
static volatile uint32_t g_670 = 4294967295UL;/* VOLATILE GLOBAL g_670 */
|
|
static union U4 g_719[1][2][4] = {{{{0L},{0L},{0L},{0L}},{{0L},{0L},{0L},{0L}}}};
|
|
static volatile uint32_t g_756 = 1UL;/* VOLATILE GLOBAL g_756 */
|
|
static volatile union U1 g_819 = {0x4DL};/* VOLATILE GLOBAL g_819 */
|
|
static int32_t ** volatile g_827 = &g_551;/* VOLATILE GLOBAL g_827 */
|
|
static uint64_t *g_851 = (void*)0;
|
|
static int32_t ** volatile g_860[2][2] = {{&g_25,&g_25},{&g_25,&g_25}};
|
|
static int32_t ** volatile g_861 = &g_25;/* VOLATILE GLOBAL g_861 */
|
|
static int32_t g_894 = 0L;
|
|
|
|
|
|
/* --- FORWARD DECLARATIONS --- */
|
|
uint32_t func_1(void);
|
|
union U3 func_2(int8_t * p_3, int8_t * p_4);
|
|
int8_t * func_5(int32_t p_6);
|
|
int16_t func_9(int8_t p_10, int8_t * p_11, int32_t p_12);
|
|
int32_t * const func_16(int8_t * p_17);
|
|
int8_t * func_32(const uint64_t p_33, union U3 p_34, int8_t p_35);
|
|
const union U1 * func_42(uint32_t p_43);
|
|
struct S0 func_44(int16_t p_45, uint16_t p_46, uint16_t p_47, uint32_t p_48, union U3 p_49);
|
|
int16_t func_55(struct S0 p_56, union U3 p_57, uint8_t p_58, int8_t * p_59);
|
|
union U3 func_61(uint64_t p_62, int32_t * p_63, int32_t * p_64, int8_t * p_65);
|
|
|
|
|
|
/* --- FUNCTIONS --- */
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_19 g_27 g_15 g_25 g_31 g_20 g_60 g_70 g_88 g_189 g_190 g_145 g_108.f0 g_209 g_116 g_108.f1 g_223 g_234 g_239 g_89.f0 g_31.f0 g_235 g_332 g_146 g_225 g_363 g_302 g_303 g_304 g_461 g_261 g_495 g_224 g_457 g_458 g_532 g_544 g_190.f0 g_568 g_573 g_617 g_894
|
|
* writes: g_25 g_15 g_20 g_70 g_88 g_89.f0 g_98 g_190.f1 g_235 g_261 g_456 g_457 g_551 g_568 g_572 g_894
|
|
*/
|
|
uint32_t func_1(void)
|
|
{ /* block id: 0 */
|
|
int32_t l_13 = (-4L);
|
|
int8_t *l_14 = &g_15;
|
|
int32_t *l_893[3];
|
|
int i;
|
|
for (i = 0; i < 3; i++)
|
|
l_893[i] = &g_894;
|
|
g_894 &= (func_2(func_5((safe_mul_func_int16_t_s_s(func_9(l_13, l_14, l_13), (g_60.f1 || g_145[4])))), g_234) , (*g_19));
|
|
return g_116;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_239 g_25 g_189 g_89.f0 g_15 g_70 g_31.f0 g_116 g_145 g_234 g_235 g_88 g_20 g_332 g_146 g_19 g_225 g_363 g_60 g_302 g_303 g_304 g_461 g_190 g_108.f0 g_261 g_495 g_224 g_457 g_458 g_532 g_544 g_190.f0 g_568 g_573 g_617
|
|
* writes: g_235 g_25 g_70 g_89.f0 g_261 g_88 g_456 g_457 g_15 g_551 g_20 g_568 g_572
|
|
*/
|
|
union U3 func_2(int8_t * p_3, int8_t * p_4)
|
|
{ /* block id: 77 */
|
|
int32_t *l_238 = &g_70;
|
|
union U4 *l_264 = &g_265;
|
|
int32_t l_279 = (-9L);
|
|
int32_t l_284 = 0xB5957E19L;
|
|
int32_t l_287 = (-10L);
|
|
int32_t l_288 = 0x21E62AD6L;
|
|
int32_t l_289 = 0xB756B02EL;
|
|
int32_t l_291 = (-3L);
|
|
int32_t l_293 = 0x8676DEBBL;
|
|
int32_t l_294 = 0xCCF07D1EL;
|
|
int32_t l_295 = 1L;
|
|
int32_t l_296 = 0x1AE7726EL;
|
|
int32_t l_297[8] = {0x8BFD0892L,0x2C3EF8E9L,0x2C3EF8E9L,0x8BFD0892L,0x2C3EF8E9L,0x2C3EF8E9L,0x8BFD0892L,0x2C3EF8E9L};
|
|
uint64_t l_298 = 0x5E7C83C6933AF737LL;
|
|
int8_t ***l_301 = (void*)0;
|
|
int16_t *l_421 = &g_98;
|
|
const uint32_t *l_600[3];
|
|
const uint32_t **l_599 = &l_600[0];
|
|
int32_t l_609 = 0x2749DD47L;
|
|
int32_t l_770 = 0x23BB8623L;
|
|
int64_t l_780 = 1L;
|
|
uint64_t l_818 = 0x9062279A9976EF1ALL;
|
|
int8_t l_863 = 0x34L;
|
|
int32_t *l_884 = &l_288;
|
|
int32_t *l_885 = &g_617[2][0][3].f1;
|
|
int32_t *l_886 = (void*)0;
|
|
int32_t *l_887 = &l_297[4];
|
|
int32_t *l_888[7][3][2] = {{{(void*)0,(void*)0},{&l_288,&l_288},{(void*)0,(void*)0}},{{&l_289,(void*)0},{(void*)0,&l_288},{&l_288,(void*)0}},{{(void*)0,&l_289},{(void*)0,(void*)0},{&l_288,&l_288}},{{(void*)0,(void*)0},{&l_289,(void*)0},{(void*)0,&l_288}},{{&l_288,(void*)0},{(void*)0,&l_289},{(void*)0,(void*)0}},{{&l_288,&l_288},{(void*)0,(void*)0},{&l_289,(void*)0}},{{(void*)0,&l_288},{&l_288,(void*)0},{(void*)0,&l_289}}};
|
|
int32_t l_889 = (-7L);
|
|
uint32_t l_890 = 4294967291UL;
|
|
int i, j, k;
|
|
for (i = 0; i < 3; i++)
|
|
l_600[i] = &g_108[1][4].f0;
|
|
for (g_235 = 0; (g_235 >= 1); ++g_235)
|
|
{ /* block id: 80 */
|
|
uint32_t l_240 = 0UL;
|
|
uint32_t *l_241 = &g_120.f0;
|
|
uint8_t *l_246 = &g_89.f0;
|
|
uint8_t *l_260 = &g_261;
|
|
int32_t l_280 = 0xC75F0F07L;
|
|
int32_t l_285 = 0x4A533F77L;
|
|
int32_t l_286[7];
|
|
int16_t l_292 = 1L;
|
|
int32_t l_429 = 6L;
|
|
union U3 l_433 = {0x465EE469L};
|
|
union U4 **l_486 = &g_267;
|
|
union U1 * const l_537 = &g_89;
|
|
int i;
|
|
for (i = 0; i < 7; i++)
|
|
l_286[i] = 0x19E5F4FCL;
|
|
(*g_239) = l_238;
|
|
(*g_25) = l_240;
|
|
if (((((((l_241 != g_189) || (safe_div_func_uint32_t_u_u(((safe_div_func_int32_t_s_s(((--(*l_246)) > (*p_3)), l_240)) >= ((!(((safe_sub_func_int32_t_s_s((safe_lshift_func_uint8_t_u_s(((*l_260) = (((safe_add_func_int16_t_s_s((safe_mod_func_int16_t_s_s((((*l_238) , ((g_31.f0 & g_116) | (+g_145[4]))) , ((safe_unary_minus_func_int8_t_s((*l_238))) == l_240)), l_240)), 0x76F6L)) , l_240) <= (*l_238))), (*g_234))), (-1L))) , l_240) < l_240)) | g_70)), 0x6443CEC6L))) ^ l_240) > l_240) < g_88) ^ (*l_238)))
|
|
{ /* block id: 85 */
|
|
int32_t l_281 = 7L;
|
|
int32_t l_283 = (-1L);
|
|
int32_t l_290[2];
|
|
int32_t l_309 = 0x715A556BL;
|
|
const int32_t *l_349[4];
|
|
const int32_t **l_348 = &l_349[0];
|
|
union U2 *l_353[5][10][5] = {{{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,(void*)0,(void*)0},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,(void*)0},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,(void*)0,&g_120,&g_120,&g_120},{&g_120,(void*)0,&g_120,&g_120,&g_120},{&g_120,&g_120,(void*)0,(void*)0,(void*)0}},{{&g_120,&g_120,&g_120,&g_120,(void*)0},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,(void*)0,&g_120},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{(void*)0,&g_120,(void*)0,(void*)0,&g_120},{&g_120,&g_120,&g_120,(void*)0,(void*)0},{&g_120,(void*)0,(void*)0,&g_120,(void*)0},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120}},{{&g_120,&g_120,&g_120,(void*)0,(void*)0},{(void*)0,&g_120,&g_120,&g_120,(void*)0},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,&g_120,&g_120,(void*)0,&g_120},{(void*)0,&g_120,&g_120,&g_120,&g_120},{&g_120,(void*)0,&g_120,&g_120,(void*)0},{&g_120,&g_120,&g_120,&g_120,(void*)0},{(void*)0,&g_120,&g_120,(void*)0,&g_120},{(void*)0,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,(void*)0}},{{&g_120,(void*)0,(void*)0,&g_120,(void*)0},{&g_120,&g_120,&g_120,(void*)0,&g_120},{&g_120,(void*)0,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,(void*)0,&g_120,(void*)0,&g_120},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,(void*)0},{&g_120,&g_120,&g_120,(void*)0,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120}},{{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{(void*)0,&g_120,&g_120,(void*)0,&g_120},{&g_120,&g_120,&g_120,(void*)0,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120},{&g_120,(void*)0,&g_120,&g_120,&g_120},{&g_120,&g_120,(void*)0,&g_120,&g_120},{&g_120,&g_120,&g_120,&g_120,&g_120}}};
|
|
int i, j, k;
|
|
for (i = 0; i < 2; i++)
|
|
l_290[i] = (-1L);
|
|
for (i = 0; i < 4; i++)
|
|
l_349[i] = &l_297[6];
|
|
for (g_261 = 16; (g_261 > 48); g_261 = safe_add_func_uint64_t_u_u(g_261, 7))
|
|
{ /* block id: 88 */
|
|
union U4 **l_268 = &l_264;
|
|
int32_t l_269[10] = {0x1D27605DL,3L,3L,0x1D27605DL,3L,3L,0x1D27605DL,3L,(-1L),3L};
|
|
const int32_t **l_350 = &l_349[0];
|
|
int i;
|
|
(*l_268) = l_264;
|
|
if (l_269[9])
|
|
break;
|
|
}
|
|
}
|
|
else
|
|
{ /* block id: 113 */
|
|
int32_t *l_364 = &l_288;
|
|
int32_t *l_365 = &l_279;
|
|
int32_t *l_366 = &l_288;
|
|
int32_t *l_367 = &l_297[4];
|
|
int32_t *l_368 = &l_297[5];
|
|
int32_t *l_369 = &g_190[7].f1;
|
|
int32_t *l_370 = &g_20;
|
|
int32_t *l_371 = &l_293;
|
|
int32_t *l_372 = &l_294;
|
|
int32_t *l_373 = &l_289;
|
|
int32_t *l_374 = &g_70;
|
|
int32_t *l_375 = &g_88;
|
|
int32_t *l_376 = &l_293;
|
|
int32_t *l_377 = &l_284;
|
|
int32_t *l_378 = &l_288;
|
|
int32_t *l_379[5][8] = {{&l_285,&l_297[3],&l_297[3],&l_285,(void*)0,&l_285,&l_297[3],&l_297[3]},{&l_297[3],(void*)0,&l_286[3],&l_286[3],(void*)0,&l_297[3],(void*)0,&l_286[3]},{&l_285,(void*)0,&l_285,&l_297[3],&l_297[3],&l_285,(void*)0,&l_285},{&l_287,&l_297[3],&l_286[3],&l_297[3],&l_287,&l_287,&l_297[3],&l_286[3]},{&l_287,&l_287,&l_297[3],&l_286[3],&l_297[3],&l_287,&l_287,&l_297[3]}};
|
|
uint16_t l_380 = 65530UL;
|
|
int16_t l_385 = 0xB7BCL;
|
|
union U4 **l_415[10][3][8] = {{{&g_267,&g_267,&l_264,&l_264,(void*)0,&l_264,&g_267,&g_267},{&g_267,(void*)0,&l_264,&l_264,(void*)0,&g_267,&g_267,(void*)0},{&g_267,&g_267,&g_267,&g_267,&g_267,&l_264,&g_267,&g_267}},{{(void*)0,&l_264,&g_267,&g_267,&g_267,&g_267,&l_264,(void*)0},{(void*)0,&g_267,&g_267,&l_264,&g_267,&l_264,&l_264,&g_267},{&l_264,&g_267,&g_267,&l_264,&l_264,&g_267,&g_267,&g_267}},{{&g_267,&g_267,&g_267,&l_264,(void*)0,&l_264,(void*)0,&l_264},{&g_267,(void*)0,&g_267,&g_267,&l_264,&l_264,&g_267,&g_267},{&g_267,&g_267,(void*)0,&l_264,&l_264,(void*)0,&l_264,&g_267}},{{&g_267,(void*)0,&l_264,(void*)0,&l_264,&g_267,&g_267,&g_267},{&g_267,&g_267,&g_267,&g_267,(void*)0,&g_267,&g_267,&g_267},{&g_267,&g_267,&l_264,&l_264,&l_264,&g_267,&g_267,&g_267}},{{&l_264,(void*)0,&l_264,&g_267,&g_267,&l_264,(void*)0,&l_264},{(void*)0,&g_267,(void*)0,&g_267,&g_267,&l_264,&g_267,&l_264},{(void*)0,&l_264,&g_267,(void*)0,&g_267,&l_264,(void*)0,&g_267}},{{&g_267,&g_267,&l_264,&g_267,(void*)0,&l_264,&g_267,&l_264},{&g_267,(void*)0,&g_267,&l_264,(void*)0,&g_267,&g_267,&l_264},{&g_267,&g_267,&l_264,&l_264,&g_267,&g_267,(void*)0,&g_267}},{{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267,&g_267,&l_264},{&l_264,&g_267,&g_267,&l_264,&g_267,&l_264,&l_264,&g_267},{&g_267,&l_264,&g_267,&g_267,&g_267,&g_267,&g_267,(void*)0}},{{&g_267,&l_264,&g_267,&l_264,(void*)0,&g_267,&l_264,&l_264},{&l_264,(void*)0,&g_267,&g_267,&g_267,&l_264,&g_267,&g_267},{&g_267,&l_264,&g_267,&g_267,&l_264,&l_264,&g_267,&g_267}},{{&g_267,&g_267,&g_267,&g_267,&g_267,&g_267,&g_267,&l_264},{&l_264,&l_264,(void*)0,&l_264,&l_264,&g_267,&l_264,&l_264},{&l_264,&g_267,&g_267,&g_267,&g_267,(void*)0,&l_264,&g_267}},{{(void*)0,&l_264,&l_264,&g_267,&l_264,&l_264,(void*)0,&g_267},{&l_264,&g_267,&l_264,&g_267,&g_267,&l_264,&l_264,&l_264},{&g_267,&l_264,&g_267,&l_264,&g_267,&l_264,&g_267,(void*)0}}};
|
|
uint8_t l_430 = 0xB4L;
|
|
int32_t *l_438 = &g_88;
|
|
union U1 *l_460 = (void*)0;
|
|
union U1 ** const l_459 = &l_460;
|
|
uint64_t l_487 = 0UL;
|
|
int i, j, k;
|
|
++l_380;
|
|
for (l_285 = 0; (l_285 <= 24); l_285++)
|
|
{ /* block id: 117 */
|
|
uint32_t l_386 = 0x1EE88E77L;
|
|
uint64_t l_416 = 18446744073709551615UL;
|
|
l_386++;
|
|
for (l_293 = 0; (l_293 == (-15)); l_293 = safe_sub_func_uint16_t_u_u(l_293, 1))
|
|
{ /* block id: 121 */
|
|
uint8_t l_391 = 3UL;
|
|
++l_391;
|
|
(*l_377) = (safe_mul_func_int8_t_s_s(((((*l_368) < (safe_mul_func_uint16_t_u_u((l_386 && (1UL || (0x68L >= (safe_mod_func_uint32_t_u_u((safe_mod_func_int32_t_s_s((((((((safe_div_func_int16_t_s_s((safe_sub_func_uint16_t_u_u(65526UL, (l_285 & ((((safe_lshift_func_uint16_t_u_s(((safe_unary_minus_func_int64_t_s((g_31.f0 >= ((((&g_267 != ((safe_sub_func_int8_t_s_s((safe_add_func_uint16_t_u_u((safe_mul_func_int16_t_s_s((&g_25 != &g_19), g_20)), l_386)), 1UL)) , l_415[1][2][6])) == (*g_25)) && l_416) >= 0x6CBEL)))) , l_280), l_416)) || 0x51C7DA0AB8EF6BC0LL) , 1UL) != l_391)))), (-4L))) == (*l_238)) || 0x1C56A950L) , g_332) != g_235) & g_146) != 253UL), (*g_19))), 0xC4E17C3EL))))), 0xE674L))) , g_225) | 1UL), 0x2FL));
|
|
}
|
|
if ((*l_365))
|
|
break;
|
|
}
|
|
for (l_296 = (-3); (l_296 == 9); ++l_296)
|
|
{ /* block id: 129 */
|
|
int64_t l_432 = 0x120EFFC479670F25LL;
|
|
struct S0 l_434 = {-62,0};
|
|
int8_t l_437 = 0x80L;
|
|
uint16_t *l_453[2][1];
|
|
union U1 *l_469 = &g_89;
|
|
union U4 *l_499[8] = {&g_502,&g_502,&g_500,&g_502,&g_502,&g_500,&g_502,&g_502};
|
|
int32_t l_503 = 0x41BD6EA7L;
|
|
int32_t l_508 = 9L;
|
|
int32_t l_511 = (-1L);
|
|
int32_t l_512[4];
|
|
union U3 l_574[4][3] = {{{0xA1E0A9EBL},{0xA1E0A9EBL},{0xA1E0A9EBL}},{{0xF1F8B6ACL},{0x1FFFD93AL},{0xF1F8B6ACL}},{{0xA1E0A9EBL},{0xA1E0A9EBL},{0xA1E0A9EBL}},{{0xF1F8B6ACL},{0x1FFFD93AL},{0xF1F8B6ACL}}};
|
|
int i, j;
|
|
for (i = 0; i < 2; i++)
|
|
{
|
|
for (j = 0; j < 1; j++)
|
|
l_453[i][j] = &l_380;
|
|
}
|
|
for (i = 0; i < 4; i++)
|
|
l_512[i] = (-9L);
|
|
if (((*g_189) = (safe_add_func_uint32_t_u_u(l_240, ((void*)0 == l_421)))))
|
|
{ /* block id: 131 */
|
|
uint32_t l_422 = 1UL;
|
|
union U4 **l_482 = &l_264;
|
|
union U4 ***l_483 = &l_415[1][2][6];
|
|
if (((*l_372) = 0x46EA1B7AL))
|
|
{ /* block id: 133 */
|
|
uint16_t *l_431 = &g_116;
|
|
int32_t *l_435 = &l_287;
|
|
int32_t **l_436 = &l_368;
|
|
const uint16_t *l_455 = (void*)0;
|
|
const uint16_t **l_454[3][1];
|
|
int i, j;
|
|
for (i = 0; i < 3; i++)
|
|
{
|
|
for (j = 0; j < 1; j++)
|
|
l_454[i][j] = &l_455;
|
|
}
|
|
(*l_436) = (l_434 , l_435);
|
|
if (l_437)
|
|
break;
|
|
(*l_436) = (l_438 = (*g_363));
|
|
(*l_375) = (g_60 , (((safe_mul_func_int8_t_s_s(((((safe_add_func_int16_t_s_s(((((**l_436) == (safe_rshift_func_int8_t_s_s(((safe_add_func_uint8_t_u_u(((safe_lshift_func_int16_t_s_s(1L, 1)) | (safe_div_func_uint32_t_u_u(((((safe_add_func_uint32_t_u_u((l_286[6] ^ (-6L)), (0x76L > ((*l_365) = ((*l_246) = 0x78L))))) , l_453[1][0]) != (g_457 = (g_456 = &l_380))) >= (*l_435)), 4294967291UL))), (****g_302))) <= g_20), (**g_304)))) > (-1L)) && (*p_3)), l_280)) & (*l_373)) == l_286[3]) || 0x30L), (*g_234))) < l_432) > g_332));
|
|
}
|
|
else
|
|
{ /* block id: 146 */
|
|
const uint8_t l_478 = 252UL;
|
|
int8_t ***l_479 = (void*)0;
|
|
(*l_365) = ((l_459 != g_461[4]) != (l_422 , ((void*)0 != l_368)));
|
|
(*l_438) |= ((+(safe_div_func_uint16_t_u_u(((safe_div_func_int16_t_s_s((((void*)0 == l_469) , (((safe_div_func_uint64_t_u_u((safe_add_func_uint64_t_u_u(g_145[4], ((void*)0 != &g_261))), 1L)) <= ((safe_lshift_func_int16_t_s_s((((((248UL || (*l_238)) != ((safe_sub_func_int32_t_s_s(l_422, 0xED7A2412L)) & l_478)) , (*g_302)) == l_479) & l_422), l_478)) ^ l_478)) > g_145[4])), g_146)) == 0x09BE5306L), l_434.f0))) ^ (*g_234));
|
|
return g_190[4];
|
|
}
|
|
(**g_363) = (safe_add_func_int32_t_s_s((((*l_483) = l_482) != ((l_286[3] ^= (((*l_238) , func_42((g_108[1][4].f0 & (--(*l_260))))) == (void*)0)) , l_486)), l_487));
|
|
}
|
|
else
|
|
{ /* block id: 155 */
|
|
const int32_t l_498 = 0x340F2E58L;
|
|
int32_t l_504 = (-3L);
|
|
int32_t l_509 = 0x57951EBFL;
|
|
int32_t l_513 = 0L;
|
|
int32_t l_516 = 0xDB9258D9L;
|
|
int32_t l_518[6][5][1] = {{{0xD46D742DL},{(-5L)},{0xAC502771L},{0x9E091EBEL},{0x64EBF70FL}},{{0xA3BEB309L},{0x8C64C08FL},{0xA3BEB309L},{0x64EBF70FL},{0x9E091EBEL}},{{0xAC502771L},{(-5L)},{0xD46D742DL},{6L},{0xD46D742DL}},{{(-5L)},{0xAC502771L},{0x9E091EBEL},{0x64EBF70FL},{0xA3BEB309L}},{{0x8C64C08FL},{0xA3BEB309L},{0x64EBF70FL},{0x9E091EBEL},{0xAC502771L}},{{(-5L)},{0xD46D742DL},{6L},{0xD46D742DL},{(-5L)}}};
|
|
uint16_t l_521 = 0x60EFL;
|
|
union U3 l_549 = {0x7D79E809L};
|
|
uint32_t *l_567 = &g_120.f0;
|
|
int i, j, k;
|
|
if ((safe_lshift_func_int8_t_s_s(((((*p_3) ^= (~(**g_304))) && 0xBFL) ^ ((l_434.f1 < (l_434.f0 &= (*l_373))) ^ ((((l_433.f0 == (safe_sub_func_int8_t_s_s((safe_mod_func_uint16_t_u_u((g_495 , ((l_503 = ((safe_lshift_func_uint8_t_u_u(0xA4L, 4)) != (((((*g_224) != ((((((4UL | l_285) | 0UL) > l_498) >= (-3L)) , l_499[4]) == (void*)0)) == l_286[3]) , (*l_376)) & 0x1B38L))) & 255UL)), l_432)), (*l_238)))) <= (*g_457)) ^ l_286[3]) , 0xD19205ADC29A58C5LL))), (***g_303))))
|
|
{ /* block id: 159 */
|
|
int64_t l_505[7] = {0x0AF87D2125E7B404LL,0x0AF87D2125E7B404LL,0x0AF87D2125E7B404LL,0x0AF87D2125E7B404LL,0x0AF87D2125E7B404LL,0x0AF87D2125E7B404LL,0x0AF87D2125E7B404LL};
|
|
int32_t l_506 = 0L;
|
|
int32_t l_507 = 4L;
|
|
int32_t l_510 = 0x33C5C167L;
|
|
int32_t l_514 = (-10L);
|
|
int32_t l_515 = (-1L);
|
|
int32_t l_517 = (-1L);
|
|
int32_t l_519 = (-1L);
|
|
int32_t l_520 = 0x1FE4F751L;
|
|
uint32_t *l_566 = &g_120.f0;
|
|
uint32_t **l_565[3][3] = {{&l_241,&l_241,&l_241},{&l_566,&l_566,&l_566},{&l_241,&l_241,&l_241}};
|
|
int i, j;
|
|
l_521--;
|
|
g_551 = func_16(func_32(((safe_add_func_uint16_t_u_u((safe_mod_func_int8_t_s_s((safe_rshift_func_uint16_t_u_u((safe_rshift_func_uint16_t_u_u((((g_532 , (((safe_rshift_func_uint8_t_u_s((safe_div_func_uint16_t_u_u((l_280 >= (l_517 <= (((l_537 == (l_240 , func_42((((safe_lshift_func_uint8_t_u_u((safe_lshift_func_int16_t_s_u(((safe_mul_func_uint16_t_u_u((l_286[5] & (g_544 , (safe_div_func_uint16_t_u_u(0xD6E8L, ((safe_rshift_func_uint8_t_u_u(l_429, 0)) | 65534UL))))), g_89.f0)) && 3L), (*l_238))), (*l_375))) || l_503) , l_506)))) & (-8L)) != 0xB34B012D960DB2EBLL))), (*g_457))), 3)) , 1L) == (*l_367))) == (-10L)) | l_432), l_512[1])), 4)), 0x4DL)), 0xA00AL)) < 0xCE9BL), l_549, (*l_374)));
|
|
if ((*l_364))
|
|
break;
|
|
(*g_19) = ((*l_366) = (safe_sub_func_int8_t_s_s((1UL & (((-3L) < (safe_add_func_uint16_t_u_u((safe_mul_func_uint8_t_u_u(((*l_246) &= ((*l_260) = ((safe_unary_minus_func_uint64_t_u(0UL)) | (safe_div_func_uint32_t_u_u(l_285, (safe_div_func_int64_t_s_s((-9L), 0x332873FE5B69957FLL))))))), (*p_3))), ((((((safe_sub_func_uint16_t_u_u((l_241 != (l_567 = &g_332)), (*g_457))) >= 0x6A3E920AL) > g_235) ^ g_190[7].f0) && (*l_375)) | 0xF350D01EL)))) <= 9L)), (*l_238))));
|
|
}
|
|
else
|
|
{ /* block id: 168 */
|
|
union U2 ****l_570 = &g_568;
|
|
(*g_573) = ((*l_570) = g_568);
|
|
if (l_504)
|
|
break;
|
|
}
|
|
}
|
|
return l_574[0][1];
|
|
}
|
|
}
|
|
}
|
|
return g_617[2][0][3];
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_108.f1 g_145 g_223 g_19
|
|
* writes: g_25
|
|
*/
|
|
int8_t * func_5(int32_t p_6)
|
|
{ /* block id: 73 */
|
|
int8_t *l_227 = &g_15;
|
|
int8_t **l_226 = &l_227;
|
|
int8_t ***l_228 = &l_226;
|
|
int32_t l_231 = 0x40513E67L;
|
|
int32_t **l_232 = &g_25;
|
|
int8_t *l_233 = &g_15;
|
|
(*l_232) = func_16(((p_6 | ((safe_mod_func_int64_t_s_s(g_108[1][4].f1, (((((0xB8684484BAB3622FLL | g_145[5]) == ((g_223[0][1] != ((*l_228) = l_226)) | (((p_6 < (safe_lshift_func_uint8_t_u_u(p_6, (g_145[4] != (-1L))))) >= p_6) >= p_6))) , (-9L)) < p_6) , l_231))) | 65535UL)) , &g_15));
|
|
return l_233;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_19 g_27 g_15 g_25 g_31 g_20 g_60 g_70 g_88 g_189 g_190 g_145 g_108.f0 g_209 g_116
|
|
* writes: g_25 g_15 g_20 g_70 g_88 g_89.f0 g_98 g_190.f1
|
|
*/
|
|
int16_t func_9(int8_t p_10, int8_t * p_11, int32_t p_12)
|
|
{ /* block id: 1 */
|
|
int8_t *l_18 = &g_15;
|
|
int32_t **l_21 = (void*)0;
|
|
int32_t *l_23[2];
|
|
int32_t **l_22[1];
|
|
const uint32_t l_30[7] = {0xF885BD52L,0xF885BD52L,0xF885BD52L,0xF885BD52L,0xF885BD52L,0xF885BD52L,0xF885BD52L};
|
|
union U3 l_37[9] = {{0x976D9935L},{0x976D9935L},{0x976D9935L},{0x976D9935L},{0x976D9935L},{0x976D9935L},{0x976D9935L},{0x976D9935L},{0x976D9935L}};
|
|
int32_t *l_66 = &g_20;
|
|
const union U1 *l_220[4];
|
|
const union U1 **l_219 = &l_220[1];
|
|
int i;
|
|
for (i = 0; i < 2; i++)
|
|
l_23[i] = &g_20;
|
|
for (i = 0; i < 1; i++)
|
|
l_22[i] = &l_23[0];
|
|
for (i = 0; i < 4; i++)
|
|
l_220[i] = &g_89;
|
|
(*g_27) = func_16(l_18);
|
|
for (g_15 = (-29); (g_15 == 16); g_15 = safe_add_func_uint32_t_u_u(g_15, 3))
|
|
{ /* block id: 7 */
|
|
const uint16_t l_36 = 0xBD0DL;
|
|
int8_t **l_41 = &l_18;
|
|
for (p_12 = 0; p_12 < 2; p_12 += 1)
|
|
{
|
|
l_23[p_12] = &g_20;
|
|
}
|
|
(*g_25) = l_30[1];
|
|
(*g_25) |= ((g_31 , func_32(l_36, l_37[2], l_36)) != ((*l_41) = l_18));
|
|
}
|
|
(*l_219) = func_42(((((((func_44(((safe_sub_func_int64_t_s_s((safe_mul_func_uint8_t_u_u(g_15, p_12)), (~((func_55(g_60, func_61(p_12, l_66, (*g_27), &g_15), g_145[0], l_18) , p_10) , 18446744073709551607UL)))) , p_10), g_60.f1, g_60.f1, g_108[1][4].f0, l_37[2]) , g_209) == (void*)0) , p_12) , p_10) < (-1L)) & 255UL));
|
|
return g_116;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_19
|
|
* writes:
|
|
*/
|
|
int32_t * const func_16(int8_t * p_17)
|
|
{ /* block id: 2 */
|
|
return g_19;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads :
|
|
* writes:
|
|
*/
|
|
int8_t * func_32(const uint64_t p_33, union U3 p_34, int8_t p_35)
|
|
{ /* block id: 10 */
|
|
int32_t *l_38 = &g_20;
|
|
int32_t *l_39 = &g_20;
|
|
int8_t *l_40 = &g_15;
|
|
l_39 = (l_38 = l_38);
|
|
return l_40;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads :
|
|
* writes:
|
|
*/
|
|
const union U1 * func_42(uint32_t p_43)
|
|
{ /* block id: 68 */
|
|
int32_t *l_211 = &g_70;
|
|
int32_t *l_212[10][2] = {{&g_70,&g_70},{&g_88,&g_70},{&g_70,&g_88},{&g_70,&g_70},{&g_70,&g_88},{&g_70,&g_70},{&g_88,&g_70},{&g_70,&g_70},{&g_70,&g_70},{&g_70,&g_20}};
|
|
int32_t l_213[1][8][1] = {{{(-3L)},{0x5A9A4678L},{(-3L)},{0x5A9A4678L},{(-3L)},{0x5A9A4678L},{(-3L)},{0x5A9A4678L}}};
|
|
int32_t l_214 = 0x2F9386C8L;
|
|
int32_t l_215 = 0xE0F7F480L;
|
|
uint64_t l_216[4] = {18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL};
|
|
int i, j, k;
|
|
--l_216[0];
|
|
return &g_89;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_145 g_31 g_25 g_60.f1 g_70
|
|
* writes: g_89.f0 g_98 g_20 g_190.f1
|
|
*/
|
|
struct S0 func_44(int16_t p_45, uint16_t p_46, uint16_t p_47, uint32_t p_48, union U3 p_49)
|
|
{ /* block id: 61 */
|
|
uint8_t *l_196 = &g_89.f0;
|
|
int16_t *l_201 = &g_98;
|
|
int32_t l_206[7][8] = {{(-9L),0L,0x059B0018L,(-1L),(-1L),0x059B0018L,0L,(-9L)},{0L,0x990D5904L,(-9L),0x5B276619L,(-9L),0x990D5904L,0L,0L},{0x990D5904L,0x5B276619L,0x059B0018L,0x059B0018L,0x5B276619L,0x990D5904L,(-1L),0x990D5904L},{0x5B276619L,0x990D5904L,(-1L),0x990D5904L,0x5B276619L,0x059B0018L,0x059B0018L,0x5B276619L},{0x990D5904L,0L,0L,0x990D5904L,(-9L),0x5B276619L,(-9L),0x990D5904L},{0L,(-9L),0L,0x059B0018L,(-1L),(-1L),0x059B0018L,0L},{(-9L),(-9L),(-1L),0x5B276619L,0x93882032L,0x5B276619L,(-1L),(-9L)}};
|
|
int32_t *l_207 = &g_190[7].f1;
|
|
struct S0 l_208[4][6][4] = {{{{72,2},{-192,3},{46,0},{41,1}},{{16,2},{-82,2},{16,2},{41,1}},{{46,0},{-192,3},{72,2},{-220,2}},{{142,1},{295,1},{-192,3},{-192,3}},{{-243,2},{-243,2},{-192,3},{16,2}},{{142,1},{267,0},{72,2},{295,1}}},{{{46,0},{72,2},{16,2},{72,2}},{{16,2},{72,2},{46,0},{295,1}},{{72,2},{267,0},{142,1},{16,2}},{{-192,3},{-243,2},{-243,2},{-192,3}},{{-192,3},{295,1},{142,1},{-220,2}},{{72,2},{-192,3},{46,0},{41,1}}},{{{16,2},{-82,2},{16,2},{41,1}},{{46,0},{-192,3},{72,2},{-220,2}},{{142,1},{295,1},{-192,3},{-192,3}},{{-243,2},{-243,2},{-192,3},{16,2}},{{142,1},{267,0},{72,2},{295,1}},{{46,0},{72,2},{16,2},{72,2}}},{{{16,2},{72,2},{46,0},{295,1}},{{72,2},{267,0},{142,1},{16,2}},{{-192,3},{-243,2},{-243,2},{-192,3}},{{-192,3},{295,1},{142,1},{-220,2}},{{72,2},{-192,3},{46,0},{41,1}},{{16,2},{-82,2},{16,2},{41,1}}}};
|
|
int i, j, k;
|
|
(*l_207) = ((l_206[6][0] = ((((-1L) && ((safe_sub_func_uint8_t_u_u(((*l_196) = 0xBAL), (safe_mul_func_int16_t_s_s(g_145[8], 5UL)))) | (safe_add_func_int16_t_s_s(((*l_201) = p_46), ((safe_div_func_uint16_t_u_u((g_31 , ((((*g_25) = (safe_rshift_func_int16_t_s_u(((0UL <= ((l_206[6][0] ^ (&g_116 == &g_116)) >= l_206[5][0])) && p_46), l_206[6][0]))) || g_60.f1) , l_206[6][5])), l_206[1][0])) < g_70))))) , l_206[6][0]) | 0UL)) == g_145[4]);
|
|
return l_208[2][4][1];
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_25
|
|
* writes: g_20
|
|
*/
|
|
int16_t func_55(struct S0 p_56, union U3 p_57, uint8_t p_58, int8_t * p_59)
|
|
{ /* block id: 58 */
|
|
int16_t l_191 = 0x68E3L;
|
|
(*g_25) = p_58;
|
|
return l_191;
|
|
}
|
|
|
|
|
|
/* ------------------------------------------ */
|
|
/*
|
|
* reads : g_19 g_20 g_70 g_27 g_25 g_88 g_15 g_60 g_189 g_190
|
|
* writes: g_20 g_70 g_88
|
|
*/
|
|
union U3 func_61(uint64_t p_62, int32_t * p_63, int32_t * p_64, int8_t * p_65)
|
|
{ /* block id: 17 */
|
|
uint16_t l_128 = 65534UL;
|
|
int32_t l_129 = 0x9DAE1B46L;
|
|
int32_t l_150 = (-3L);
|
|
int32_t l_151 = 0xE98FF7FAL;
|
|
int32_t l_162 = 2L;
|
|
int32_t l_169 = 0x454CDD2EL;
|
|
int32_t l_171 = (-2L);
|
|
int32_t l_172 = 0x3A0B3D9AL;
|
|
int32_t l_173[2];
|
|
int i;
|
|
for (i = 0; i < 2; i++)
|
|
l_173[i] = 0x2ACC6724L;
|
|
if ((*g_19))
|
|
{ /* block id: 18 */
|
|
uint32_t l_80 = 0xD407B094L;
|
|
int32_t *l_90 = (void*)0;
|
|
union U1 *l_103 = &g_89;
|
|
union U3 l_147 = {0L};
|
|
int32_t l_156 = 0x41390277L;
|
|
int32_t l_170 = 1L;
|
|
int32_t l_174 = 0L;
|
|
int32_t l_175 = 6L;
|
|
int32_t l_176 = 0xFFCA76E8L;
|
|
int32_t l_177 = 0x7974F8CEL;
|
|
int32_t l_178 = 0x46A68022L;
|
|
int32_t l_179 = 0xA2376BBFL;
|
|
int32_t l_180[2];
|
|
uint8_t l_181 = 0xC4L;
|
|
const int8_t *l_188 = (void*)0;
|
|
const int8_t ** const l_187 = &l_188;
|
|
int i;
|
|
for (i = 0; i < 2; i++)
|
|
l_180[i] = 0xD4783272L;
|
|
for (g_20 = 0; (g_20 >= 19); g_20 = safe_add_func_int64_t_s_s(g_20, 8))
|
|
{ /* block id: 21 */
|
|
int32_t *l_69 = &g_70;
|
|
int32_t *l_71 = (void*)0;
|
|
int32_t *l_72 = &g_70;
|
|
int32_t *l_73 = (void*)0;
|
|
int32_t *l_74 = (void*)0;
|
|
int32_t *l_75 = &g_70;
|
|
int32_t *l_76 = &g_70;
|
|
int32_t *l_77 = (void*)0;
|
|
int32_t *l_78 = &g_70;
|
|
int32_t *l_79 = &g_70;
|
|
int32_t *l_152 = &l_151;
|
|
int32_t *l_153 = &l_150;
|
|
int32_t *l_154 = &l_129;
|
|
int32_t *l_155 = &l_147.f1;
|
|
int32_t *l_157 = &l_156;
|
|
int32_t *l_158 = &g_70;
|
|
int32_t *l_159 = (void*)0;
|
|
int32_t *l_160 = &l_151;
|
|
int32_t l_161 = 7L;
|
|
int32_t *l_163 = &l_147.f1;
|
|
int32_t l_164 = 0x2D0C8DCDL;
|
|
int32_t *l_165 = &l_147.f1;
|
|
int32_t *l_166 = &l_151;
|
|
int32_t *l_167 = &l_161;
|
|
int32_t *l_168[5];
|
|
int i;
|
|
for (i = 0; i < 5; i++)
|
|
l_168[i] = &l_150;
|
|
l_80--;
|
|
for (l_80 = 0; (l_80 <= 48); l_80++)
|
|
{ /* block id: 25 */
|
|
int32_t **l_94[6][5] = {{&g_25,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&l_75,&g_25,&l_74,&l_72},{&l_69,&l_75,&l_74,(void*)0,&l_72},{&l_90,(void*)0,(void*)0,&l_90,(void*)0},{&l_69,(void*)0,&l_72,&g_25,&l_69},{&l_90,&g_25,&l_69,(void*)0,&l_69}};
|
|
union U2 *l_119 = &g_120;
|
|
int i, j;
|
|
for (g_70 = 5; (g_70 < (-27)); g_70--)
|
|
{ /* block id: 28 */
|
|
int32_t *l_87 = &g_88;
|
|
int32_t **l_91[10][4][3] = {{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}},{{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71},{&l_71,&l_73,&l_71}}};
|
|
int16_t *l_95 = (void*)0;
|
|
int16_t *l_96 = (void*)0;
|
|
int16_t *l_97 = &g_98;
|
|
int i, j, k;
|
|
(*l_87) ^= (**g_27);
|
|
}
|
|
}
|
|
l_181++;
|
|
(*l_72) ^= (safe_sub_func_int8_t_s_s((((!l_180[1]) , l_187) != &p_65), (*p_65)));
|
|
}
|
|
}
|
|
else
|
|
{ /* block id: 53 */
|
|
(*g_189) = (g_60 , ((*g_19) = (((*g_19) & 1UL) || p_62)));
|
|
}
|
|
return g_190[7];
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ---------------------------------------- */
|
|
int main (int argc, char* argv[])
|
|
{
|
|
int i, j, k;
|
|
int print_hash_value = 0;
|
|
if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
|
|
platform_main_begin();
|
|
crc32_gentab();
|
|
func_1();
|
|
transparent_crc(g_15, "g_15", print_hash_value);
|
|
transparent_crc(g_20, "g_20", print_hash_value);
|
|
transparent_crc(g_31.f0, "g_31.f0", print_hash_value);
|
|
transparent_crc(g_60.f0, "g_60.f0", print_hash_value);
|
|
transparent_crc(g_60.f1, "g_60.f1", print_hash_value);
|
|
transparent_crc(g_70, "g_70", print_hash_value);
|
|
transparent_crc(g_88, "g_88", print_hash_value);
|
|
transparent_crc(g_89.f0, "g_89.f0", print_hash_value);
|
|
transparent_crc(g_98, "g_98", print_hash_value);
|
|
for (i = 0; i < 3; i++)
|
|
{
|
|
for (j = 0; j < 6; j++)
|
|
{
|
|
transparent_crc(g_108[i][j].f0, "g_108[i][j].f0", print_hash_value);
|
|
transparent_crc(g_108[i][j].f1, "g_108[i][j].f1", print_hash_value);
|
|
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
|
|
|
|
}
|
|
}
|
|
transparent_crc(g_116, "g_116", print_hash_value);
|
|
transparent_crc(g_120.f0, "g_120.f0", print_hash_value);
|
|
transparent_crc(g_120.f1, "g_120.f1", print_hash_value);
|
|
for (i = 0; i < 9; i++)
|
|
{
|
|
transparent_crc(g_145[i], "g_145[i]", print_hash_value);
|
|
if (print_hash_value) printf("index = [%d]\n", i);
|
|
|
|
}
|
|
transparent_crc(g_146, "g_146", print_hash_value);
|
|
for (i = 0; i < 10; i++)
|
|
{
|
|
transparent_crc(g_190[i].f0, "g_190[i].f0", print_hash_value);
|
|
if (print_hash_value) printf("index = [%d]\n", i);
|
|
|
|
}
|
|
for (i = 0; i < 1; i++)
|
|
{
|
|
transparent_crc(g_210[i], "g_210[i]", print_hash_value);
|
|
if (print_hash_value) printf("index = [%d]\n", i);
|
|
|
|
}
|
|
transparent_crc(g_225, "g_225", print_hash_value);
|
|
transparent_crc(g_235, "g_235", print_hash_value);
|
|
transparent_crc(g_261, "g_261", print_hash_value);
|
|
transparent_crc(g_265.f0, "g_265.f0", print_hash_value);
|
|
transparent_crc(g_332, "g_332", print_hash_value);
|
|
transparent_crc(g_425.f0, "g_425.f0", print_hash_value);
|
|
transparent_crc(g_458, "g_458", print_hash_value);
|
|
transparent_crc(g_463.f0, "g_463.f0", print_hash_value);
|
|
transparent_crc(g_495.f0, "g_495.f0", print_hash_value);
|
|
transparent_crc(g_500.f0, "g_500.f0", print_hash_value);
|
|
transparent_crc(g_501.f0, "g_501.f0", print_hash_value);
|
|
transparent_crc(g_502.f0, "g_502.f0", print_hash_value);
|
|
transparent_crc(g_532.f0, "g_532.f0", print_hash_value);
|
|
transparent_crc(g_544.f0, "g_544.f0", print_hash_value);
|
|
for (i = 0; i < 6; i++)
|
|
{
|
|
for (j = 0; j < 6; j++)
|
|
{
|
|
for (k = 0; k < 7; k++)
|
|
{
|
|
transparent_crc(g_617[i][j][k].f0, "g_617[i][j][k].f0", print_hash_value);
|
|
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
|
|
|
|
}
|
|
}
|
|
}
|
|
transparent_crc(g_657, "g_657", print_hash_value);
|
|
transparent_crc(g_670, "g_670", print_hash_value);
|
|
for (i = 0; i < 1; i++)
|
|
{
|
|
for (j = 0; j < 2; j++)
|
|
{
|
|
for (k = 0; k < 4; k++)
|
|
{
|
|
transparent_crc(g_719[i][j][k].f0, "g_719[i][j][k].f0", print_hash_value);
|
|
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
|
|
|
|
}
|
|
}
|
|
}
|
|
transparent_crc(g_756, "g_756", print_hash_value);
|
|
transparent_crc(g_819.f0, "g_819.f0", print_hash_value);
|
|
transparent_crc(g_894, "g_894", print_hash_value);
|
|
platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
|
|
return 0;
|
|
}
|
|
|
|
/************************ statistics *************************
|
|
XXX max struct depth: 1
|
|
breakdown:
|
|
depth: 0, occurrence: 233
|
|
depth: 1, occurrence: 3
|
|
XXX total union variables: 18
|
|
|
|
XXX non-zero bitfields defined in structs: 3
|
|
XXX zero bitfields defined in structs: 0
|
|
XXX const bitfields defined in structs: 2
|
|
XXX volatile bitfields defined in structs: 0
|
|
XXX structs with bitfields in the program: 12
|
|
breakdown:
|
|
indirect level: 0, occurrence: 12
|
|
XXX full-bitfields structs in the program: 3
|
|
breakdown:
|
|
indirect level: 0, occurrence: 3
|
|
XXX times a bitfields struct's address is taken: 0
|
|
XXX times a bitfields struct on LHS: 0
|
|
XXX times a bitfields struct on RHS: 20
|
|
XXX times a single bitfield on LHS: 1
|
|
XXX times a single bitfield on RHS: 19
|
|
|
|
XXX max expression depth: 35
|
|
breakdown:
|
|
depth: 1, occurrence: 64
|
|
depth: 2, occurrence: 15
|
|
depth: 4, occurrence: 2
|
|
depth: 5, occurrence: 2
|
|
depth: 7, occurrence: 1
|
|
depth: 10, occurrence: 1
|
|
depth: 11, occurrence: 1
|
|
depth: 19, occurrence: 1
|
|
depth: 21, occurrence: 2
|
|
depth: 24, occurrence: 1
|
|
depth: 26, occurrence: 1
|
|
depth: 27, occurrence: 1
|
|
depth: 28, occurrence: 1
|
|
depth: 29, occurrence: 1
|
|
depth: 35, occurrence: 2
|
|
|
|
XXX total number of pointers: 230
|
|
|
|
XXX times a variable address is taken: 547
|
|
XXX times a pointer is dereferenced on RHS: 124
|
|
breakdown:
|
|
depth: 1, occurrence: 107
|
|
depth: 2, occurrence: 10
|
|
depth: 3, occurrence: 5
|
|
depth: 4, occurrence: 2
|
|
XXX times a pointer is dereferenced on LHS: 90
|
|
breakdown:
|
|
depth: 1, occurrence: 89
|
|
depth: 2, occurrence: 1
|
|
XXX times a pointer is compared with null: 12
|
|
XXX times a pointer is compared with address of another variable: 0
|
|
XXX times a pointer is compared with another pointer: 4
|
|
XXX times a pointer is qualified to be dereferenced: 3294
|
|
|
|
XXX max dereference level: 4
|
|
breakdown:
|
|
level: 0, occurrence: 0
|
|
level: 1, occurrence: 575
|
|
level: 2, occurrence: 37
|
|
level: 3, occurrence: 16
|
|
level: 4, occurrence: 7
|
|
XXX number of pointers point to pointers: 59
|
|
XXX number of pointers point to scalars: 156
|
|
XXX number of pointers point to structs: 0
|
|
XXX percent of pointers has null in alias set: 24.3
|
|
XXX average alias set size: 1.45
|
|
|
|
XXX times a non-volatile is read: 617
|
|
XXX times a non-volatile is write: 235
|
|
XXX times a volatile is read: 36
|
|
XXX times read thru a pointer: 3
|
|
XXX times a volatile is write: 12
|
|
XXX times written thru a pointer: 0
|
|
XXX times a volatile is available for access: 2.79e+03
|
|
XXX percentage of non-volatile access: 94.7
|
|
|
|
XXX forward jumps: 0
|
|
XXX backward jumps: 3
|
|
|
|
XXX stmts: 64
|
|
XXX max block depth: 5
|
|
breakdown:
|
|
depth: 0, occurrence: 21
|
|
depth: 1, occurrence: 8
|
|
depth: 2, occurrence: 8
|
|
depth: 3, occurrence: 8
|
|
depth: 4, occurrence: 6
|
|
depth: 5, occurrence: 13
|
|
|
|
XXX percentage a fresh-made variable is used: 19.9
|
|
XXX percentage an existing variable is used: 80.1
|
|
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
|
|
********************* end of statistics **********************/
|
|
|