alloca is bad?
Nick Duffek
nsd@redhat.com
Mon Nov 13 13:24:00 GMT 2000
On 13-Nov-2000, Michael Meissner wrote:
>That won't work, since alloca is a builtin provided by GCC.
That can be disabled by compiling with -fno-builtin.
>If GCC is detected as the compiler at configuration time, then alloca is
>not even built into libiberty.
True, but that's easy to circumvent.
Using -lefence or other debugging mallocs to debug alloca overruns isn't
as easy as a simple relink, but it doesn't seem fundamentally difficult.
Nick
More information about the Gdb
mailing list