lkml.org 
[lkml]   [1999]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: enable_irq() unbalanced from 00000005

On Wed, 3 Feb 1999, Andrea Arcangeli wrote:

> > which breaks __builtin_return_address(0).
>
> Here __builtin_return_address(0) doesn't use the frame-pointer (%ebp) at
> all. It gets the address of the caller from %esp that obviously has to
> remain valid since first or before you have to run `ret`. So as you are
> able to run `ret` you are able to grab the return address of the function
> at any time even without a frame pointer.

oops, then it was higher-order (eg. __builtin_return_address(1)) that
works only with a valid %ebp frame pointer. anyway, a show() function
probably shows us more about the call path of the process.

-- mingo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.059 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site