Dumping IA64 function pointers (was Re: Nuking unexec)

Olivier Galibert galibert at pobox.com
Wed Feb 2 12:56:21 EST 2005


On Wed, Feb 02, 2005 at 09:11:07AM -0600, Jerry James wrote:
> What we really need to do is to find all the places where function
> pointers are being dumped and make them be XD_OPAQUE_PTR_CONVERTIBLE
> instead of whatever they are now.

They're not tagged at that point.  Not a problem to add a tag for them
though, that will be happily ignored on sane cpus.

I am a tad afraid of the address randomazing craze that's currently
going on though.


> We would also have to write the
> encoding and decoding functions, but from what I've read so far, that
> would not be exceptionally difficult.

There is a way to convert a function pointer from the pre-dump value
to the post-load one?


> I'm willing to help with this, but I have no access to an IA64 box.
> I'll commit OG's stuff later today so everybody can see it.

Remember that, unless you did it, half of it is untested.

  OG.




More information about the XEmacs-Beta mailing list