[PATCH] Make analyzer correctly calculate return value of mempcpy

Daniel Fahlgren daniel at fahlgren.se
Thu Oct 2 02:15:38 PDT 2014


On Fri, 2014-09-12 at 01:01 +0200, Daniel Fahlgren wrote:
> Hi,
> 
> the return value of mempcpy is only correct when the destination type is
> one byte in size. This patch casts the argument to a char* so the
> calculation is also correct for structs, ints etc. Comments?

Ping?

Cheers,
Daniel Fahlgren




More information about the cfe-commits mailing list