• 0 Posts
  • 33 Comments
Joined 7 months ago
cake
Cake day: February 21st, 2024

help-circle












  • iOS natively supports JIT (by which we mean writable and executable memory) but Apple locks it down to only two use cases:

    1. The JavaScript engine in Safari
    2. Support for running a debugger

    AltStore launches a debugger and connects it to your phone. Even though it’s not actually doing anything with a debugger, that’s enough to convince iOS to let your app use memory that’s both writable and executable (the key feature needed for JIT).

    Without JIT you need to either resort to a slower form of emulation or do something creative.



  • The way you recover data from a totally dead drive is use a program that scans every byte and looks for structures in the data that look like files e.g. a jpeg will have a header followed by some blocks of content. In an encrypted drive everything looks like random data.

    Even if you have the key, you can’t begin searching through the data until it’s decrypted, and the kind of error that makes it so your drive won’t mount normally is likely to get in the way of decrypting normally as well.