forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow execution of R2R code in singlefile app on windows. (dotnet#40104)
* Keep executable PE sections executable in LayoutILOnly. * Install unwind handlers if present * do not do RtlAddFunctionTable on x86 * Check for Cor header before checking for R2R header. * Delete function table in image dtor * Avoid PAGE_EXECUTE_READWRITE, we should not need writeable for R2R * Do relocations in ConvertedImageLayout only if the file is in a bundle. (otherwise R2R stays disabled)
- Loading branch information
Showing
3 changed files
with
97 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters