Re: [HACKERS] Self-modifying code

2005-12-16 Thread Alvaro Herrera
Tom Lane wrote: Alvaro Herrera [EMAIL PROTECTED] writes: I just read an article on LWN.net about the usage of self-modifying code for selecting the optimum code for a given operation at run time. That went out with hula hoops, I think. For sure the security implications of making your

[HACKERS] Self-modifying code

2005-12-14 Thread Alvaro Herrera
I just read an article on LWN.net about the usage of self-modifying code for selecting the optimum code for a given operation at run time. This is probably not a highly portable technique, but Linux has definitions for i386 and the amd64 archs, so that would cover the most common scenarios. This

Re: [HACKERS] Self-modifying code

2005-12-14 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: I just read an article on LWN.net about the usage of self-modifying code for selecting the optimum code for a given operation at run time. That went out with hula hoops, I think. For sure the security implications of making your code segment writable