Address Sanitizer not functional with VPN extension

Attempting to enable Scheme | Diagnostics | Address Sanitizer on an app with a VPN extension blows the memory limit of 15M and causes the extension to immediately crash.


Anyone know of a way to exceed this limit on a debug build so address sanitizer can run?


Code level support suggested I file this as a bug, so no luck there.


Best,


--Gary

Replies

One possibility is to port your provider code to the Mac, where you’re not going to hit this limit.

Beyond that, you should definitely file a bug requesting that Xcode / iOS support this for debugging purpose. Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"