This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Prevent unbounded stack usage in libraries
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 27 May 2015 23:14:19 +0200
- Subject: Re: Prevent unbounded stack usage in libraries
On Sat, May 23, 2015 at 11:10:13PM +0200, Mark Wielaard wrote:
> The following patches makes sure we can use gcc -Wstack-usage
> to check there is no unbounded stack usage. This is mostly done by
> changing unbounded alloca or dynamic stack arrays into a fixed bounded
> stack array or just calling malloc and free directly.
I pushed this patch series, with the changes suggested by Roland,
to master now.