[Mono-dev] [PATCH] Use trampolines for vtable fixups (Windows) (updated)
kornelpal at gmail.com
Sun Nov 1 12:27:16 EST 2009
I found out that reference counting in mono_image_close_except_pools was
broken so I fixed that as well.
Double freeing was possible with mono_close_exe_image and I fixed that
I can submit these two separately, but the first one is required by
mono_vtfixup_trampoline to function correctly.
Kornél Pál wrote:
> Please see the attached patch that is a separated and improved version
> of the prevously submitted patch.
> ChangeLog draft:
> mono_image_fixup_vtable is now called only when the image is loaded and
> creates trampolines rather than pointers to wrapper functions.
> A new trampoline type MONO_TRAMPOLINE_VTFIXUP is added that is created
> by mono_image_fixup_vtable, and is replacing the pointer to the
> trampoline with the result mono_marshal_get_vtfixup_ftnptr.
> Please review and if you like it, approve the patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Mono-devel-list