سؤال

Just wondering. Or is it even technically impossible to write me, e.g. because iOS may prevent jumps to the area where the unpacked code resides?

هل كانت مفيدة؟

المحلول

You can't use it, iOS doesn't allow you to create executable pages or to run custom binaries from a file.

نصائح أخرى

Unpackers such as UPX need to place the unpacked image somewhere. If it is placed in memory, the CPU needs to start executing the instructions in the image, which was heretofore treated as data. IIRC, executing data isn't allowed by iOS.

As far as i know, the compiled executable binary cannot be packed because it must be signed with Xcode and tools. After the deployment of signed code to a iOS device it cannot be modified in any way (only the OS can load it different to the RAM).

You can try to pack your resource files and load them in a different way.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top