JIT services: Difference between revisions

No edit summary
Line 25: Line 25:
The first handle is a Process handle, the rest are CodeMemory handles.
The first handle is a Process handle, the rest are CodeMemory handles.


This essentially does state/object init and maps the CodeMemory regions in the user-process.
This essentially does state/object init and maps the CodeMemory regions in the user-process. The permissions for the first CodeMemory is R-X, for the second CodeMemory it's R--.
 
Initialization for each CodeMemory is only done if the associated size is not zero.


= IJitEnvironment =
= IJitEnvironment =