On 07/23/2016 06:33 AM, Aldy Hernandez wrote:
If the REGEX_MALLOC mode in regex.c is unused, can I rip it out? I'd
like to replace it all with alloca with a malloc fallback.
And yes, I realize regex.c already does this most of the time:
if (size1 > MAX_ALLOCA_SIZE)
{
Hi guys!
I'm looking at libiberty's use of alloca() and trying to place some
bounded checks at alloca() call points.
Silly question, do we have any users of regex.c with REGEX_MALLOC set?
I don't see any #define for REGEX_MALLOC anywhere in binutils or gcc,
and it doesn't look like autoconf
On Mon, 11 Jul 2016, Ian Lance Taylor wrote:
> > AFAICT, the only "utilities" found in libiberty not appropriate for
> > gnulib is the demangler. That would be more appropriate for a
> > libdemangler library shared among all gnutools.
>
> Does gnulib have a functional equivalent to the pex and si