Ruby and Python
Philip 'Yes, that's my address' Newton
nospam.newton at gmx.li
Tue Nov 21 15:07:54 EST 2000
On 21 Nov 2000 08:03:51 +0200, Erno Kuusela <erno-news at erno.iki.fi> wrote:
> >>>>> "Hrvoje" == Hrvoje Niksic <hniksic at arsdigita.com> writes:
>
> Hrvoje> You might have a hard time doing that on today's Unix
> Hrvoje> systems. By default, your code will be placed to the text
> Hrvoje> segment, and attempts to modify it will fail with a
> Hrvoje> SIGSEGV.
>
> you can always copy the code you want to modify to the heap or
> the stack.
Those segments are often (sometimes?) marked "read/write, no execute", so you
may not be able to branch to the code and have it executed.
Cheers,
Philip
--
Philip Newton <nospam.newton at gmx.li>
If you're not part of the solution, you're part of the precipitate.
More information about the Python-list
mailing list