|Keep It Simple, Stupid|
How to get the (CPU) stack address ?by arhuman (Vicar)
|on Jan 15, 2002 at 13:15 UTC||Need Help??|
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 ?
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)