This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] Multiarch hooks for memcpy variants


On Monday 14 August 2017 07:22 PM, Szabolcs Nagy wrote:
> it seems the firefox on my system is compiled with
> _FORTIFY_SOURCE, so i checked libxul.so:
> 
> memcpy calls: 2570 (95.5%)
> __memcpy_chk calls: 122 (4.5%)
> 
> it seems it's rare that the destination is an array
> with known size, so _chk is rarely used, to me it
> makes more sense to add static inline __memcpy_chk
> to string.h than fiddle with asm and ifunc.

See my response to Wilco about static inlines - it requires a full
distro rebuild to have any effect and that's a pointless option to have
if we have to backport these routines to stable distributions.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]