Home | History | Annotate | Download | only in Analysis

Lines Matching refs:buf

7   char buf[2];
8 buf[0] = 'a';
9 return buf[1]; // expected-warning{{Undefined}}
13 char buf[2];
14 buf[1] = 'a';
15 return buf[0]; // expected-warning{{Undefined}}
20 char buf[2];
22 buf[0] = 'a';
24 return buf[1]; // expected-warning{{Undefined}}
26 return buf[0];
30 char *buf = malloc(2);
31 buf[0] = 'a';
32 char result = buf[1]; // expected-warning{{undefined}}
33 free(buf);
38 char *buf = malloc(2);
39 buf[1] = 'a';
40 char result = buf[0]; // expected-warning{{undefined}}
41 free(buf);