typedef __typeof(sizeof(int)) size_t;
char *strdup(const char *s);
void free(void *);
void *memcpy(void *dst, const void *src, size_t n); void *malloc(size_t n);
void clang_analyzer_eval(int);
struct aa {
char s1[4];
char *s2;
};
int f0(void) {
struct aa a0 = {{1, 2, 3, 4}, 0};
a0.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a0.s1, input, 4);
clang_analyzer_eval(a0.s1[0] == 'a'); clang_analyzer_eval(a0.s1[1] == 'b'); clang_analyzer_eval(a0.s1[2] == 'c'); clang_analyzer_eval(a0.s1[3] == 'd'); clang_analyzer_eval(a0.s2 == 0); free(a0.s2); return 0;
}
int f1(void) {
struct aa a1;
a1.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a1.s1, input, 4);
clang_analyzer_eval(a1.s1[0] == 'a'); clang_analyzer_eval(a1.s1[1] == 'b'); clang_analyzer_eval(a1.s1[2] == 'c'); clang_analyzer_eval(a1.s1[3] == 'd'); clang_analyzer_eval(a1.s2 == 0); free(a1.s2); return 0;
}
int f2(void) {
struct aa a2 = {{1, 2}};
a2.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a2.s1, input, 4);
clang_analyzer_eval(a2.s1[0] == 'a'); clang_analyzer_eval(a2.s1[1] == 'b'); clang_analyzer_eval(a2.s1[2] == 'c'); clang_analyzer_eval(a2.s1[3] == 'd'); clang_analyzer_eval(a2.s2 == 0); free(a2.s2); return 0;
}
int f3(void) {
struct aa a3 = {{1, 2, 3, 4}, 0};
a3.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
int * dest = (int*)a3.s1;
memcpy(dest, input, 4);
clang_analyzer_eval(a3.s1[0] == 'a'); clang_analyzer_eval(dest[0] == 'a'); clang_analyzer_eval(a3.s1[1] == 'b'); clang_analyzer_eval(dest[1] == 'b'); clang_analyzer_eval(a3.s1[2] == 'c'); clang_analyzer_eval(dest[2] == 'c'); clang_analyzer_eval(a3.s1[3] == 'd'); clang_analyzer_eval(dest[3] == 'd'); clang_analyzer_eval(a3.s2 == 0); free(a3.s2); return 0;
}
struct bb {
struct aa a;
char * s2;
};
int f4(void) {
struct bb b0 = {{1, 2, 3, 4}, 0};
b0.s2 = strdup("hello");
b0.a.s2 = strdup("hola");
char input[] = {'a', 'b', 'c', 'd'};
char * dest = (char*)(b0.a.s1);
memcpy(dest, input, 4);
clang_analyzer_eval(b0.a.s1[0] == 'a'); clang_analyzer_eval(dest[0] == 'a'); clang_analyzer_eval(b0.a.s1[1] == 'b'); clang_analyzer_eval(dest[1] == 'b'); clang_analyzer_eval(b0.a.s1[2] == 'c'); clang_analyzer_eval(dest[2] == 'c'); clang_analyzer_eval(b0.a.s1[3] == 'd'); clang_analyzer_eval(dest[3] == 'd'); clang_analyzer_eval(b0.s2 == 0); free(b0.a.s2); free(b0.s2); return 0;
}
int f5(void) {
struct aa a0 = {{1, 2, 3, 4}, 0};
a0.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a0.s1, input, 4);
return 0; }
int f6(void) {
struct aa a1;
a1.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a1.s1, input, 4);
return 0; }
int f7(void) {
struct aa a2 = {{1, 2}};
a2.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a2.s1, input, 4);
return 0; }
int f8(void) {
struct aa a3 = {{1, 2, 3, 4}, 0};
a3.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
int * dest = (int*)a3.s1;
memcpy(dest, input, 4);
return 0; }
int f9(void) {
struct bb b0 = {{1, 2, 3, 4}, 0};
b0.s2 = strdup("hello");
b0.a.s2 = strdup("hola");
char input[] = {'a', 'b', 'c', 'd'};
char * dest = (char*)(b0.a.s1);
memcpy(dest, input, 4);
free(b0.a.s2); return 0;
}
int f10(void) {
struct bb b0 = {{1, 2, 3, 4}, 0};
b0.s2 = strdup("hello");
b0.a.s2 = strdup("hola");
char input[] = {'a', 'b', 'c', 'd'};
char * dest = (char*)(b0.a.s1);
memcpy(dest, input, 4);
free(b0.s2); return 0;
}
struct cc {
char * s1;
char * s2;
};
int f11(void) {
char x[4] = {1, 2};
x[0] = 1;
x[1] = 2;
struct cc c0;
c0.s2 = strdup("hello");
c0.s1 = &x[0];
char input[] = {'a', 'b', 'c', 'd'};
memcpy(c0.s1, input, 4);
clang_analyzer_eval(x[0] == 1); clang_analyzer_eval(x[1] == 2); clang_analyzer_eval(c0.s1[0] == 'a'); clang_analyzer_eval(c0.s1[1] == 'b'); clang_analyzer_eval(c0.s1[2] == 'c'); clang_analyzer_eval(c0.s1[3] == 'd'); free(c0.s2); return 0;
}
struct dd {
char *s2;
char s1[4];
};
int f12(void) {
struct dd d0 = {0, {1, 2, 3, 4}};
d0.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(d0.s1, input, 4);
clang_analyzer_eval(d0.s1[0] == 'a'); clang_analyzer_eval(d0.s1[1] == 'b'); clang_analyzer_eval(d0.s1[2] == 'c'); clang_analyzer_eval(d0.s1[3] == 'd'); clang_analyzer_eval(d0.s2 == 0); free(d0.s2); return 0;
}
struct ee {
int a;
char b;
};
struct EE {
struct ee s1[2];
char * s2;
};
int f13(void) {
struct EE E0 = {{{1, 2}, {3, 4}}, 0};
E0.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(E0.s1, input, 4);
clang_analyzer_eval(E0.s1[0].a == 'a'); clang_analyzer_eval(E0.s1[0].b == 'b'); clang_analyzer_eval(E0.s1[1].a == 'c'); clang_analyzer_eval(E0.s1[1].b == 'd'); clang_analyzer_eval(E0.s2 == 0); free(E0.s2); return 0;
}
struct aa a15 = {{1, 2, 3, 4}, 0};
int f15(void) {
a15.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a15.s1, input, 4);
clang_analyzer_eval(a15.s1[0] == 'a'); clang_analyzer_eval(a15.s1[1] == 'b'); clang_analyzer_eval(a15.s1[2] == 'c'); clang_analyzer_eval(a15.s1[3] == 'd'); clang_analyzer_eval(a15.s2 == 0); free(a15.s2); return 0;
}
struct empty {};
struct gg {
struct empty s1[4];
char * s2;
};
int f16(void) {
struct gg g0 = {{}, 0};
g0.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(g0.s1, input, 4);
clang_analyzer_eval(*(int*)(&g0.s1[0]) == 'a'); clang_analyzer_eval(*(int*)(&g0.s1[1]) == 'b'); clang_analyzer_eval(*(int*)(&g0.s1[2]) == 'c'); clang_analyzer_eval(*(int*)(&g0.s1[3]) == 'd'); clang_analyzer_eval(g0.s2 == 0); free(g0.s2); return 0;
}
struct hh {
char s1[0];
char * s2;
};
int f17(void) {
struct hh h0;
h0.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(h0.s1, input, 4);
clang_analyzer_eval(h0.s1[0] == 'a'); clang_analyzer_eval(h0.s2 == 0); free(h0.s2); return 0;
}
struct ii {
char s1[4];
int i;
int j;
char * s2;
};
int f18(void) {
struct ii i18 = {{1, 2, 3, 4}, 5, 6};
i18.i = 10;
i18.j = 11;
i18.s2 = strdup("hello");
char input[100] = {3};
memcpy(i18.s1, input, 100); clang_analyzer_eval(i18.s1[0] == 1); clang_analyzer_eval(i18.s1[1] == 2); clang_analyzer_eval(i18.s1[2] == 3); clang_analyzer_eval(i18.s1[3] == 4); clang_analyzer_eval(i18.i == 10); clang_analyzer_eval(i18.j == 11); return 0;
}
int f181(void) {
struct ii i181 = {{1, 2, 3, 4}, 5, 6};
i181.i = 10;
i181.j = 11;
i181.s2 = strdup("hello");
char input[100] = {3};
memcpy(i181.s1, input, 5); clang_analyzer_eval(i181.s1[0] == 1); clang_analyzer_eval(i181.s1[1] == 2); clang_analyzer_eval(i181.s1[2] == 3); clang_analyzer_eval(i181.s1[3] == 4); clang_analyzer_eval(i181.i == 10); clang_analyzer_eval(i181.j == 11); return 0;
}
struct jj {
char s1[2];
char * s2;
};
struct JJ {
struct jj s1[3];
char * s2;
};
int f19(int i) {
struct JJ J0 = {{{1, 2, 0}, {3, 4, 0}, {5, 6, 0}}, 0};
J0.s2 = strdup("hello");
J0.s1[0].s2 = strdup("hello");
J0.s1[1].s2 = strdup("hi");
J0.s1[2].s2 = strdup("world");
char input[2] = {'a', 'b'};
memcpy(J0.s1[i].s1, input, 2);
clang_analyzer_eval(J0.s1[0].s1[0] == 1); clang_analyzer_eval(J0.s1[0].s1[1] == 2); clang_analyzer_eval(J0.s1[1].s1[0] == 3); clang_analyzer_eval(J0.s1[1].s1[1] == 4); clang_analyzer_eval(J0.s1[2].s1[0] == 5); clang_analyzer_eval(J0.s1[2].s1[1] == 6); clang_analyzer_eval(J0.s1[i].s1[0] == 5); clang_analyzer_eval(J0.s1[i].s1[1] == 6); return 0; }
int f20(int i) {
struct aa * a20 = malloc(sizeof(struct aa) * 2);
a20[0].s1[0] = 1;
a20[0].s1[1] = 2;
a20[0].s1[2] = 3;
a20[0].s1[3] = 4;
a20[0].s2 = strdup("hello");
a20[1].s1[0] = 5;
a20[1].s1[1] = 6;
a20[1].s1[2] = 7;
a20[1].s1[3] = 8;
a20[1].s2 = strdup("world");
a20[i].s2 = strdup("hola");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a20[0].s1, input, 4);
clang_analyzer_eval(a20[0].s1[0] == 1); clang_analyzer_eval(a20[0].s1[1] == 1); clang_analyzer_eval(a20[0].s1[2] == 1); clang_analyzer_eval(a20[0].s1[3] == 1); clang_analyzer_eval(a20[0].s2 == 0); clang_analyzer_eval(a20[1].s1[0] == 1); clang_analyzer_eval(a20[1].s1[1] == 1); clang_analyzer_eval(a20[1].s1[2] == 1); clang_analyzer_eval(a20[1].s1[3] == 1); clang_analyzer_eval(a20[1].s2 == 0); clang_analyzer_eval(a20[i].s1[0] == 1); clang_analyzer_eval(a20[i].s1[1] == 1); clang_analyzer_eval(a20[i].s1[2] == 1); clang_analyzer_eval(a20[i].s1[3] == 1); clang_analyzer_eval(a20[i].s2 == 0);
return 0;
}
int f21(int i) {
struct aa * a21 = malloc(sizeof(struct aa) * 2);
a21[0].s1[0] = 1;
a21[0].s1[1] = 2;
a21[0].s1[2] = 3;
a21[0].s1[3] = 4;
a21[0].s2 = 0;
a21[1].s1[0] = 5;
a21[1].s1[1] = 6;
a21[1].s1[2] = 7;
a21[1].s1[3] = 8;
a21[1].s2 = 0;
a21[i].s2 = strdup("hello");
a21[i].s1[0] = 1;
a21[i].s1[1] = 2;
a21[i].s1[2] = 3;
a21[i].s1[3] = 4;
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a21[i].s1, input, 4);
clang_analyzer_eval(a21[0].s1[0] == 1); clang_analyzer_eval(a21[0].s1[1] == 1); clang_analyzer_eval(a21[0].s1[2] == 1); clang_analyzer_eval(a21[0].s1[3] == 1); clang_analyzer_eval(a21[0].s2 == 0); clang_analyzer_eval(a21[1].s1[0] == 1); clang_analyzer_eval(a21[1].s1[1] == 1); clang_analyzer_eval(a21[1].s1[2] == 1); clang_analyzer_eval(a21[1].s1[3] == 1); clang_analyzer_eval(a21[1].s2 == 0); clang_analyzer_eval(a21[i].s1[0] == 1); clang_analyzer_eval(a21[i].s1[1] == 1); clang_analyzer_eval(a21[i].s1[2] == 1); clang_analyzer_eval(a21[i].s1[3] == 1); clang_analyzer_eval(a21[i].s2 == 0);
return 0;
}
struct ll {
char s1[4];
char * s2;
};
struct mm {
char s3[4];
char * s4;
};
int f24(void) {
struct ll l24 = {{1, 2, 3, 4}, 0};
struct mm * m24 = (struct mm *)&l24;
m24->s4 = strdup("hello");
char input[] = {1, 2, 3, 4};
memcpy(m24->s3, input, 4);
clang_analyzer_eval(m24->s3[0] == 1); clang_analyzer_eval(m24->s3[1] == 1); clang_analyzer_eval(m24->s3[2] == 1); clang_analyzer_eval(m24->s3[3] == 1); clang_analyzer_eval(l24.s1[0] == 1); clang_analyzer_eval(l24.s1[1] == 1); clang_analyzer_eval(l24.s1[2] == 1); clang_analyzer_eval(l24.s1[3] == 1); return 0;
}
int f25(int i, int j, struct ll * l, struct mm * m) {
m->s4 = strdup("hola"); m->s3[0] = 1;
m->s3[1] = 2;
m->s3[2] = 3;
m->s3[3] = 4;
m->s3[j] = 5; l->s2 = strdup("hello"); l->s1[0] = 6;
l->s1[1] = 7;
l->s1[2] = 8;
l->s1[3] = 9;
l->s1[i] = 10; char input[] = {1, 2, 3, 4};
memcpy(m->s3, input, 4); clang_analyzer_eval(m->s3[0] == 1); clang_analyzer_eval(m->s3[1] == 1); clang_analyzer_eval(m->s3[2] == 1); clang_analyzer_eval(m->s3[3] == 1); clang_analyzer_eval(m->s3[i] == 1); clang_analyzer_eval(m->s3[j] == 1); clang_analyzer_eval(l->s1[0] == 1); clang_analyzer_eval(l->s1[1] == 1); clang_analyzer_eval(l->s1[2] == 1); clang_analyzer_eval(l->s1[3] == 1); clang_analyzer_eval(l->s1[i] == 1); clang_analyzer_eval(l->s1[j] == 1); return 0;
}
int f26(int i) {
struct aa a26 = {{1, 2, 3, 4}, 0};
a26.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a26.s1, input, i); clang_analyzer_eval(a26.s1[0] == 1); clang_analyzer_eval(a26.s1[1] == 1); clang_analyzer_eval(a26.s1[2] == 1); clang_analyzer_eval(a26.s1[3] == 1); return 0;
}
int f261(void) {
struct aa a261 = {{1, 2, 3, 4}, 0};
a261.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a261.s1, input, sizeof(a261.s1));
clang_analyzer_eval(a261.s1[0] == 1); clang_analyzer_eval(a261.s1[1] == 1); clang_analyzer_eval(a261.s1[2] == 1); clang_analyzer_eval(a261.s1[3] == 1); return 0;
}
int f262(void) {
struct aa a262 = {{1, 2, 3, 4}, 0};
a262.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(a262.s1, input, -1); clang_analyzer_eval(a262.s1[0] == 1); clang_analyzer_eval(a262.s1[1] == 1); clang_analyzer_eval(a262.s1[2] == 1); clang_analyzer_eval(a262.s1[3] == 1); return 0;
}
struct xx {
char s1[4];
char * s2;
};
int f263(int n, char * len) {
struct xx x263 = {0};
x263.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(x263.s1, input, *(len + n));
clang_analyzer_eval(x263.s1[0] == 0); clang_analyzer_eval(x263.s1[1] == 0); clang_analyzer_eval(x263.s1[2] == 0); clang_analyzer_eval(x263.s1[3] == 0); clang_analyzer_eval(x263.s2 == 0); return 0; }
int f27(int i) {
struct mm m27 = {{1, 2, 3, 4}, 0};
m27.s4 = strdup("hello");
m27.s3[i] = 5;
char input[] = {'a', 'b', 'c', 'd'};
memcpy(((struct ll*)(&m27))->s1, input, 4);
clang_analyzer_eval(m27.s3[0] == 1); clang_analyzer_eval(m27.s3[1] == 1); clang_analyzer_eval(m27.s3[2] == 1); clang_analyzer_eval(m27.s3[3] == 1); clang_analyzer_eval(m27.s3[i] == 1); return 0;
}
int f28(int i, int j, int k, int l) {
struct mm m28[2];
m28[i].s4 = strdup("hello");
m28[j].s3[k] = 1;
struct ll * l28 = (struct ll*)(&m28[1]);
l28->s1[l] = 2;
char input[] = {'a', 'b', 'c', 'd'}; memcpy(l28->s1, input, 4);
clang_analyzer_eval(m28[0].s3[0] == 1); clang_analyzer_eval(m28[0].s3[1] == 1); clang_analyzer_eval(m28[0].s3[2] == 1); clang_analyzer_eval(m28[0].s3[3] == 1); clang_analyzer_eval(m28[1].s3[0] == 1); clang_analyzer_eval(m28[1].s3[1] == 1); clang_analyzer_eval(m28[1].s3[2] == 1); clang_analyzer_eval(m28[1].s3[3] == 1); clang_analyzer_eval(m28[i].s3[0] == 1); clang_analyzer_eval(m28[i].s3[1] == 1); clang_analyzer_eval(m28[i].s3[2] == 1); clang_analyzer_eval(m28[i].s3[3] == 1); clang_analyzer_eval(m28[j].s3[k] == 1); clang_analyzer_eval(l28->s1[l] == 2); return 0;
}
int f29(int i, int j, int k, int l, int m) {
struct mm m29[2];
m29[i].s4 = strdup("hello");
m29[j].s3[k] = 1;
struct ll * l29 = (struct ll*)(&m29[l]);
l29->s1[m] = 2;
char input[] = {'a', 'b', 'c', 'd'};
memcpy(l29->s1, input, 4);
clang_analyzer_eval(m29[0].s3[0] == 1); clang_analyzer_eval(m29[0].s3[1] == 1); clang_analyzer_eval(m29[0].s3[2] == 1); clang_analyzer_eval(m29[0].s3[3] == 1); clang_analyzer_eval(m29[1].s3[0] == 1); clang_analyzer_eval(m29[1].s3[1] == 1); clang_analyzer_eval(m29[1].s3[2] == 1); clang_analyzer_eval(m29[1].s3[3] == 1); clang_analyzer_eval(m29[i].s3[0] == 1); clang_analyzer_eval(m29[i].s3[1] == 1); clang_analyzer_eval(m29[i].s3[2] == 1); clang_analyzer_eval(m29[i].s3[3] == 1); clang_analyzer_eval(m29[j].s3[k] == 1); clang_analyzer_eval(l29->s1[m] == 2); return 0;
}
union uu {
char x;
char s1[4];
};
int f30(void) {
union uu u30 = { .s1 = {1, 2, 3, 4}};
char input[] = {1, 2, 3, 4};
memcpy(u30.s1, input, 4);
clang_analyzer_eval(u30.s1[0] == 1); clang_analyzer_eval(u30.s1[1] == 1); clang_analyzer_eval(u30.s1[2] == 1); clang_analyzer_eval(u30.s1[3] == 1); clang_analyzer_eval(u30.x == 1); return 0;
}
struct kk {
union uu u;
char * s2;
};
int f31(void) {
struct kk k31;
k31.s2 = strdup("hello");
k31.u.x = 1;
char input[] = {'a', 'b', 'c', 'd'};
memcpy(k31.u.s1, input, 4);
clang_analyzer_eval(k31.u.s1[0] == 1); clang_analyzer_eval(k31.u.s1[1] == 1); clang_analyzer_eval(k31.u.s1[2] == 1); clang_analyzer_eval(k31.u.s1[3] == 1); clang_analyzer_eval(k31.u.x == 1); return 0;
}
union vv {
int x;
char * s2;
};
int f32(void) {
union vv v32;
v32.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(v32.s2, input, 4);
clang_analyzer_eval(v32.s2[0] == 1); clang_analyzer_eval(v32.s2[1] == 1); clang_analyzer_eval(v32.s2[2] == 1); clang_analyzer_eval(v32.s2[3] == 1); return 0;
}
struct nn {
int s1;
int i;
int j;
int k;
char * s2;
};
int f33(void) {
struct nn n33 = {1, 2, 3, 4, 0};
n33.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(n33.s1, input, 4); clang_analyzer_eval(n33.i == 2); clang_analyzer_eval(n33.j == 3); clang_analyzer_eval(n33.k == 4); clang_analyzer_eval(((char*)(n33.s1))[0] == 1); clang_analyzer_eval(((char*)(n33.s1))[1] == 1); clang_analyzer_eval(((char*)(n33.s1))[2] == 1); clang_analyzer_eval(((char*)(n33.s1))[3] == 1); clang_analyzer_eval(n33.s2 == 0); return 0; }
struct ww {
int s1[4];
char s2;
};
int f34(struct ww * w34, int n) {
w34->s2 = 3;
char input[] = {'a', 'b', 'c', 'd'};
memcpy(w34->s1 + n, input , 4);
clang_analyzer_eval(w34->s1[0] == 0); clang_analyzer_eval(w34->s1[1] == 0); clang_analyzer_eval(w34->s1[2] == 0); clang_analyzer_eval(w34->s1[3] == 0); clang_analyzer_eval(w34->s1[n] == 0); clang_analyzer_eval(w34->s2 == 3); return 0;
}
struct yy {
char s1[4];
char * s2;
};
int f35(int i, int n) {
struct yy y35 = {{1, 2, 3, 4}, 0};
y35.s2 = strdup("hello");
char input[] = {'a', 'b', 'c', 'd'};
memcpy(&(y35.s1[i]), input, n);
clang_analyzer_eval(y35.s1[0] == 0); clang_analyzer_eval(y35.s1[1] == 0); clang_analyzer_eval(y35.s1[2] == 0); clang_analyzer_eval(y35.s1[3] == 0); clang_analyzer_eval(y35.s1[i] == 0); clang_analyzer_eval(y35.s2 == 0); return 0; }
struct zz {
char s1[4];
int s2;
};
int f36(struct zz * z36) {
char input[] = {'a', 'b', 'c', 'd'};
z36->s1[0] = 0;
z36->s1[1] = 1;
z36->s1[2] = 2;
z36->s1[3] = 3;
z36->s2 = 10;
z36 = z36 - 1;
z36->s1[0] = 4;
z36->s1[1] = 5;
z36->s1[2] = 6;
z36->s1[3] = 7;
z36->s2 = 11;
memcpy(z36->s1, input, 4);
clang_analyzer_eval(z36->s1[0] == 1); clang_analyzer_eval(z36->s1[1] == 1); clang_analyzer_eval(z36->s1[2] == 1); clang_analyzer_eval(z36->s1[3] == 1); clang_analyzer_eval(z36->s2 == 11);
z36 = z36 + 1;
clang_analyzer_eval(z36->s1[0] == 0); clang_analyzer_eval(z36->s1[1] == 1); clang_analyzer_eval(z36->s1[2] == 2); clang_analyzer_eval(z36->s1[3] == 3); clang_analyzer_eval(z36->s2 == 10);
return 0;
}
int f37(struct zz * z37) {
char input[] = {'a', 'b', 'c', 'd'};
z37->s1[0] = 0;
z37->s1[1] = 1;
z37->s1[2] = 2;
z37->s1[3] = 3;
z37->s2 = 10;
z37 = (struct zz *)((char*)(z37) - 4);
z37->s1[0] = 4;
z37->s1[1] = 5;
z37->s1[2] = 6;
z37->s1[3] = 7;
z37->s2 = 11;
memcpy(z37->s1, input, 4);
clang_analyzer_eval(z37->s1[0] == 1); clang_analyzer_eval(z37->s1[1] == 1); clang_analyzer_eval(z37->s1[2] == 1); clang_analyzer_eval(z37->s1[3] == 1); clang_analyzer_eval(z37->s2 == 11);
z37 = (struct zz *)((char*)(z37) + 4);
clang_analyzer_eval(z37->s1[0] == 11); clang_analyzer_eval(z37->s1[1] == 1); clang_analyzer_eval(z37->s1[2] == 1); clang_analyzer_eval(z37->s1[3] == 1); clang_analyzer_eval(z37->s2 == 10);
return 0;
}
int f38(struct zz * z38) {
char input[] = {'a', 'b', 'c', 'd'};
z38->s1[0] = 0;
z38->s1[1] = 1;
z38->s1[2] = 2;
z38->s1[3] = 3;
z38->s2 = 10;
z38 = (struct zz *)((char*)(z38) - 2);
z38->s1[0] = 4;
z38->s1[1] = 5;
z38->s1[2] = 6;
z38->s1[3] = 7;
z38->s2 = 11;
memcpy(z38->s1, input, 4);
clang_analyzer_eval(z38->s1[0] == 1); clang_analyzer_eval(z38->s1[1] == 1); clang_analyzer_eval(z38->s1[2] == 1); clang_analyzer_eval(z38->s1[3] == 1); clang_analyzer_eval(z38->s2 == 11);
z38 = (struct zz *)((char*)(z38) + 2);
clang_analyzer_eval(z38->s1[0] == 1); clang_analyzer_eval(z38->s1[1] == 1); clang_analyzer_eval(z38->s1[2] == 11); clang_analyzer_eval(z38->s1[3] == 1); clang_analyzer_eval(z38->s2 == 10);
return 0;
}
struct z0 {
int s2;
char s1[4];
};
int f39(struct z0 * d39) {
char input[] = {'a', 'b', 'c', 'd'};
d39->s1[0] = 0;
d39->s1[1] = 1;
d39->s1[2] = 2;
d39->s1[3] = 3;
d39->s2 = 10;
d39 = (struct z0 *)((char*)(d39) - 2);
d39->s1[0] = 4;
d39->s1[1] = 5;
d39->s1[2] = 6;
d39->s1[3] = 7;
d39->s2 = 11;
memcpy(d39->s1, input, 4);
clang_analyzer_eval(d39->s1[0] == 1); clang_analyzer_eval(d39->s1[1] == 1); clang_analyzer_eval(d39->s1[2] == 1); clang_analyzer_eval(d39->s1[3] == 1); clang_analyzer_eval(d39->s2 == 11);
d39 = (struct z0 *)((char*)(d39) + 2);
clang_analyzer_eval(d39->s1[0] == 1); clang_analyzer_eval(d39->s1[1] == 1); clang_analyzer_eval(d39->s1[2] == 2); clang_analyzer_eval(d39->s1[3] == 3); clang_analyzer_eval(d39->s2 == 10);
return 0;
}