On Mar 30, 2016 6:22 PM, "Yichao Yu" <yyc1...@gmail.com> wrote:
>
>
> On Mar 30, 2016 6:21 PM, "Laurent Bartholdi" <laurent.bartho...@gmail.com>
wrote:
> >
> > Hi,
> > Is there a way to obtain the address of the current stack frame (the
ebp register on x86 processors)?
> >
> > In GCC, there's the bultin primitive __builtin_frame_address() that
does precisely that.
>
> Why do you want this?
>

It's possible but should not be done in general.

> >
> > Many thanks in advance, Laurent

Reply via email to