Messages in this thread | | | Date | Tue, 4 Mar 2003 09:03:04 +0200 | From | Muli Ben-Yehuda <> | Subject | Re: [PATCH] add checkstack Makefile target |
| |
On Mon, Mar 03, 2003 at 10:16:47PM +0100, J?rn Engel wrote: > On Thu, 20 February 2003 08:54:55 -0800, Linus Torvalds wrote: > > > > A sorted list of bad stack users (more than 256 bytes) in my default build > > follows. Anybody can create their own with something like > > > > objdump -d linux/vmlinux | > > grep 'sub.*$0x...,.*esp' | > > awk '{ print $9,$1 }' | > > sort > bigstack > > > > and a script to look up the addresses. > > Since Linus didn't give us the script, I had to try it myself. The > result is likely ugly and inefficient, but it works for i386 and ppc > (actually crosscompiling for ppc).
Keith Owens has such a script, and even posted it here a time or three. You can find it (and various other near scripts) at http://www.kernelnewbies.org/scripts/. As for making a Makefile target, nice idea, but probably 2.5 material. -- Muli Ben-Yehuda http://www.mulix.org
[unhandled content-type:application/pgp-signature] | |