Contents

com.apple.security.hardened-process.checked-allocations

A Boolean value that enables tagging of pointers and memory allocations.

Discussion

To enable this entitlement for your app or extension in Xcode, first add the Enhanced Security capability. Then, under Memory Safety, select Enable Hardware Memory Tagging.

If your code uses pointer arithmetic, mask out bits 56–59 of pointers, which contain the tag.

If your code stores data in those bits of pointers, store than data elsewhere to avoid interfering with the tag.

For more information, see Enabling enhanced security for your app.

Hardware memory tagging and other memory-related features have dependencies on specific keys. If you are manually adding entitlements, be sure to add all necessary keys.

See Also

Hardware memory tagging