<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Entitlements/com.apple.security.hardened-process.checked-allocations",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "entitlements:Entitlements.com.apple.security.hardened-process.checked-allocations"
  },
  "title" : "com.apple.security.hardened-process.checked-allocations"
}
-->

# 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 <doc://com.apple.documentation/documentation/Xcode/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.

> Note: This entitlement requires the following entitlements:
> 
> - ``doc://com.apple.bundleresources/documentation/BundleResources/Entitlements/com.apple.security.hardened-process``
> - ``doc://com.apple.bundleresources/documentation/BundleResources/Entitlements/com.apple.security.hardened-process.enhanced-security-version-string``

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)