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

Refine heap_5 heap protector #1146

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Commits on Sep 19, 2024

  1. Add configVALIDATE_HEAP_BLOCK_POINTER on heap_5

    heap_5 is used for multiple separated memory spaces. In the
    previous implementation, it only verifies the highest and
    lowest addresses. A pointer may not be within heap regions,
    but is still located between the highest and lowest addressed.
    
    Add maco configVALIDATE_HEAP_BLOCK_POINTER to provide customized
    heap block pointers detection based on the settings of heap
    regions.
    
    Signed-off-by: wangfei_chen <[email protected]>
    wangfei_chen committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    23d9210 View commit details
    Browse the repository at this point in the history
  2. Code review suggestions

    Signed-off-by: Gaurav Aggarwal <[email protected]>
    aggarg committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    16faee7 View commit details
    Browse the repository at this point in the history