3 ms·
> Windows 10 apparently allows universal Windows apps to call VirtualAlloc() and VirtualProtect(). Yes, but they're useless for this purpose. VirtualAlloc is m
by vardump 11y ago
> Windows 10 apparently allows universal Windows apps to call VirtualAlloc() and VirtualProtect().
Yes, but they're useless for this purpose. VirtualAlloc is mapped to VirtualAllocFromApp. Which means you can't allocate executable pages.
You can't make a page executable. Nor can you make executable pages writable.
So you can't run dynamically generated code at all in a Windows 10 universal app.
- kayamon 11y agoIt's hard to tell if that's the case or not - the documentation seems to contradict itself on that point.