Home | History | Annotate | Download | only in Sema

Lines Matching full:destination

220         strlcpy(buf, b, sizeof(b)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} \\
221 // expected-note {{change size argument to be the size of the destination}}
222 __builtin___strlcpy_chk(buf, b, sizeof(b), __builtin_object_size(buf, 0)); // expected-warning {{size argument in '__builtin___strlcpy_chk' call appears to be size of the source; expected the size of the destination}} \
223 // expected-note {{change size argument to be the size of the destination}} \
224 // expected-warning {{'__builtin___strlcpy_chk' will always overflow destination buffer}}
226 strlcat(buf, b, sizeof(b)); // expected-warning {{size argument in 'strlcat' call appears to be size of the source; expected the size of the destination}} \
227 // expected-note {{change size argument to be the size of the destination}}
229 __builtin___strlcat_chk(buf, b, sizeof(b), __builtin_object_size(buf, 0)); // expected-warning {{size argument in '__builtin___strlcat_chk' call appears to be size of the source; expected the size of the destination}} \
230 // expected-note {{change size argument to be the size of the destination}} \
231 // expected-warning {{'__builtin___strlcat_chk' will always overflow destination buffer}}
239 __builtin___memcpy_chk (&buf[6], in, 5, __builtin_object_size (&buf[6], 0)); // expected-warning {{'__builtin___memcpy_chk' will always overflow destination buffer}}
247 __builtin___memcpy_chk (&buf[6], "abcde", 5, __builtin_object_size (&buf[6], 0)); // expected-warning {{'__builtin___memcpy_chk' will always overflow destination buffer}}