[0x03] Reversing Shorts :: Out of Memory - Working around JetSam Memory Limits on iOS
Channel: jiska
Date: 2022-09-24

When injecting Frida into a process, it might crash due to memory limits. The iOS memory manager JetSam kills any process that exceeds such limits. In this video, I show how to adjust these limits with jetsamctl. As example application, we're using the Microsoft SwiftKey keyboard.

Full playlist of reversing shorts: https://www.youtube.com/playlist?list=PLkOopkYm0fCV45i_n8z5LSUL3QBXNAP2G

jetsamctl: https://github.com/conradev/jetsamctl

Chapters:
00:00 - SwiftKey Analysis
01:30 - Out of Memory Crash due to JetSam
02:54 - Why JetSam is triggered
03:25 - JetSam configuration with plists
04:01 - jetsamctl
05:30 - We can now use frida-trace