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: RFC: Automatically test IFUNC implementations


On 09/26/2012 10:11 AM, H.J. Lu wrote:
> It is hard to avoid malloc since __libc_func is called from test_init.
> I will first convert it to this.

Statically allocated array (or even statically sized malloc) in test_init?
If __libc_func indicates overflow, print an error?  It should be fairly
easy to set this at, say, 32 and have that suffice for all calls.


r~


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