|
From: Oswald B. <os...@kd...> - 2004-08-27 08:31:02
|
On Fri, Aug 27, 2004 at 08:17:47AM +1000, Paul Mackerras wrote: > Nicholas Nethercote writes: > > One possibility is to look at the address of a stack variable, and > > round up a bit. This is really simple but assumes that the stack is > > at the top of the user-space. > > That is always true on Linux on all the architectures that Valgrind > has been ported to. :) Well, it's almost true, since we might have a > VDSO just above the stack, but it's true to say that we can't mmap > anything at any higher address than the stack. > it's been at least discussed to move the stack down; i think ingo (?) even had some patches in/for redhat already. -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Chaos, panic, and disorder - my work here is done. |