Re: kernel: use VirtualAlloc in GlobalAlloc16 to make such memory executable
11 Jul
2007
11 Jul
'07
9:31 a.m.
MikoĊaj Zalewski <mikolaj(a)zalewski.pl> writes:
This patch is not enough to run Win16 programs on NX protected systems as there is also some code placed in the UMB by winedos/himem.c. I have a patch that makes the DOS area executable (see bug #8744) but I will have to look if that's what Windows does. In the mean time I'd like to know if there are some comments about this patch.
It's extremely wasteful, most GlobalAlloc blocks are fairly small. What you should do is allocate them from an executable heap instead of the default process heap. -- Alexandre Julliard julliard(a)winehq.org
6734
Age (days ago)
6734
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard