How do I enable the XCode compiler to generate NX bit protected code?
A client has requested that I re-compile their app with this protection enabled. However, after reading the Security Document:
https://www.apple.com/business/site/docs/iOS_Security_Guide.pdf (section: "Runtime process security" starting on page 26)
I was under the impression that the NX bit security is enabled by default.
Is it possible to optionallly compile with NX bit security enabled? if so, how?
thanks,
|K<
iOS never allows an app to execute from writeable memory. You do not need to specifically enable the ‘NX bit’ because it’s always enabled for all third-party code.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"