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? > > Many thanks in advance, Laurent