Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move metadata off the executable heaps #52912

Merged
merged 4 commits into from
May 20, 2021

Commits on May 18, 2021

  1. Move metadata off the executable heaps

    This change moves metadata structures that manage blocks of heap memory
    out of the heaps in preparation for the W^X changes that will make the
    heap memory read-execute only and modifying the metadata would require
    unnecessary mappings and unmappings of the memory as read-write.
    
    The structures moved in this change are the following:
    * LoaderHeapBlock
    * FreeBlock
    * HeapList
    janvorli committed May 18, 2021
    Configuration menu
    Copy the full SHA
    a8b8e5d View commit details
    Browse the repository at this point in the history
  2. Reflect PR feedback

    * Replace malloc with new (nothrow) and add explicit contract violation
    marker
    * Remove unnecessary m_pCurBlock from the UnlockedLoaderHeap
    janvorli committed May 18, 2021
    Configuration menu
    Copy the full SHA
    5be46cb View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. Configuration menu
    Copy the full SHA
    5e4ae7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e40910 View commit details
    Browse the repository at this point in the history