Re:Apple announces changes to iOS, Safari, and the App Store...
by kevincox on Thursday January 25, 2024 @02:10PM
(#39133638)
How can the OS tell the difference between downloading JavaScript and JITing it vs downloading compiled code and running it?
[ Parent
| on HN ]
Re:Apple announces changes to iOS, Safari, and the App Store...
by kaba0 on Thursday January 25, 2024 @04:56PM
(#39135927)
An App is not just code, it is an entity within the OS with permission system, metadata etc all attached to it.
A JIT compiler is not above the App’s sandbox permissions.
Re:Apple announces changes to iOS, Safari, and the App Store...
by post_break on Thursday January 25, 2024 @02:18PM
(#39133771)
They look into the app as a human vs looking at the code. iDOS 2 is a great example. Banned for doing that exact thing.
Re:Apple announces changes to iOS, Safari, and the App Store...
by riscy on Thursday January 25, 2024 @05:59PM
(#39136627)
Whether runtime generated or downloaded from the internet, you cannot run instructions directly on the processor without requesting executable virtual pages in memory from the OS. Executable pages are also a major security vulnerability: https://en.wikipedia.org/wiki/JIT_spraying