Check for Overflow of Pointer Arithmetic
A Boolean value that enables checking pointers for arithmetic overflow.
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.
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.