I checked Malloc stack logging for both the containing app and app extension, malloc stack of the containing app shows normally, while malloc stack of extension app does not. Anybody knows how to enable malloc stack logging for PacketTunnel process?
how to enable malloc stack logging for PacketTunnel process?
You can do this via the
MallocStackLogging environment variable. Setting an environment variable in a packet tunnel provider is a bit tricky because you control neither the code that launches you nor the
main function. Someone open a DTS tech support incident about this a while back and I found a solution that works for me. See
this post for the details.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"