http://qs321.pair.com?node_id=138857

arhuman has asked for the wisdom of the Perl Monks concerning the following question:

Despite my searchs on the monastery, I didn't manage to find a precise answer.

So I turn to you enlighten monks :
How could I retrieve the cpu stack address ?
(In last resort, I think I could use INLINE::Asm to do the trick,
but I'd prefer pure Perl or standard module based solutions)

Any (clever) Idea ?
TIA

NOTE : For those of you, who may wonder why I'd need such info, I'd just say that I'm "working" on buffer overflows ;-)


"Only Bad Coders Code Badly In Perl" (OBC2BIP)