in reply to Finding stack addresses
In C/XS extensions, there is just as much possibility for buffer overflows as in pure C, because they are basically written in C (give or take a few hundred macros and some other preprocessing).
In other words, it seems to me you're asking for the impossible or the obvious. See perlxs for the obvious answer.
update: to find the top of the perl stack (which is not really where the environment variables are kept) see caller
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding stack addresses
by perianmellon (Initiate) on Sep 18, 2006 at 20:56 UTC | |
by Joost (Canon) on Sep 18, 2006 at 21:07 UTC | |
by skx (Parson) on Sep 18, 2006 at 21:14 UTC | |
by Joost (Canon) on Sep 18, 2006 at 21:24 UTC |