Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Adopt Apple Memory Integrity Enforcement (MIE) for macOS builds #48637

@hazcod

Description

@hazcod

Preflight Checklist

Problem Description

Apple shipped a new feature in Tahoe called Memory Integrity Enforcement (MIE).
This (much) better protects against buffer overflow attacks.
For any non-Apple applications, this should be enabled during compilation time. (opt-in)
I think this would be an amazing benefit for all electron users if those applications (Slack, ...) could benefit from the same protections.

How to enable: Xcode -> Enhanced Security -> Enable Hardware Memory Tagging

Proposed Solution

Add to Clang for macOS arm64 builds: -fsanitize=memtag

Alternatives Considered

N/A

Additional Information

More information: https://security.apple.com/blog/memory-integrity-enforcement/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions