2 ms·
Care to show how to do this or even an example of this being done? Extraordinary claims require proof.
by jsjohnst 8y ago
Care to show how to do this or even an example of this being done?
Extraordinary claims require proof.
- saagarjha 8y agoSure. If you have an Xcode and an iOS device on hand, make a new project and cast “\x00\x00\x80\x52\xc0\x03\x5f\xd6” (or your own assembly) to an int (*)(), and check to see if the return value is 42 in the debugger.
- jsjohnst 8y agoThat’s not getting the JIT entitlement as your prior comment claimed. ;)
- saagarjha 8y agoIt is, the entitlement is called “get-task-allow” and is usually used for saying that it’s ok to be attached to in the debugger, but serves a useful double life in making it possible to JIT. Xcode injects this entitlement for you when you create a debug build.