RE: Is there a way to use __builtin___memcpy_chk() for compiler-generated memcpy calls?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Florian Weimer <fweimer@xxxxxxxxxx> wrote:

> > a) Struct copying, with memcpy calls inserted by the compiler.
> GCC will also optimize __memcpy_chk calls to memcpy if it knows that 
> the bounds cannot be wrong.

Is there a way to stop it doing that? Yes, I am anticipating a high level of paranoia on the part of my customers. 

With best regards,

-- 
John Dallman




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux