lkml.org 
[lkml]   [2003]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.037 / U:36.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site