---
title: Check for Overflow of Pointer Arithmetic
framework: Bundle Resources
role: symbol
role_heading: Property List Key
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, watchOS 27.0+]
path: bundleresources/entitlements/com.apple.security.hardened-process.checked-allocations.enforce-checked-pointer-arithmetic-overflow
---

# Check for Overflow of Pointer Arithmetic

A Boolean value that enables checking pointers for arithmetic overflow.

## Discussion

Discussion To enable this entitlement for your app or extension in Xcode, navigate to the Signing and Capabilities editor for your Xcode target and add the Enhanced Security capability. Then, under Memory Safety, select Enable Hardware Memory Tagging and  Enforce Checking for Overflow Pointer Arithmetic. Next, in your app’s build settings, in the Security section, add a new setting for Hardware-Checked Pointer Arithmetic Slice and set its value to  to Yes. You can also enable this capability through your app’s Project Build Settings in the Enhanced Security pane. note: The Xcode build system surfaces a build configuration warning if the com.apple.security.hardened-process.checked-allocations.enforce-checked-pointer-arithmetic-overflow entitlement is present but a target dependency for the project doesn’t enable HARDWARE_CHECKED_POINTER_ARITHMETIC_SLICE. For more information, see Enabling enhanced security for your app. Hardware pointer arithmetic checking 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: com.apple.security.hardened-process com.apple.security.hardened-process.enhanced-security-version-string

## See Also

### Hardware memory tagging

- [com.apple.security.hardened-process.checked-allocations](bundleresources/entitlements/com.apple.security.hardened-process.checked-allocations.md)
- [com.apple.security.hardened-process.checked-allocations.soft-mode](bundleresources/entitlements/com.apple.security.hardened-process.checked-allocations.soft-mode.md)
- [com.apple.security.hardened-process.checked-allocations.enable-pure-data](bundleresources/entitlements/com.apple.security.hardened-process.checked-allocations.enable-pure-data.md)
- [com.apple.security.hardened-process.checked-allocations.no-tagged-receive](bundleresources/entitlements/com.apple.security.hardened-process.checked-allocations.no-tagged-receive.md)
