On Sep 18, 2014, at 11:33 AM, Reid Kleckner <[email protected]> wrote:
> Cool! Do these warnings fire on plain memcpy if the system headers don't > arrange for memcpy to route to __builtin__memcpy_chk? If so, can you add > tests for plain prototyped memcpy as you did for strlcpy in the previous test? > No they don’t. Note that __builtin__memcpy_chk, etc. will have an added argument, __builtin_object_size, which will have the size of destination buffer and is needed to do the checking. - Fariborz _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
