0cyn / ktool

pip install k2l | Mach-O + Obj-C analysis TUI / CLI kit and library. Zero compiled deps, runs anywhere with a python interpreter.
MIT License
485 stars 24 forks source link

Decoding exception when using load_image_from_dsc on < iOS 16 #45

Closed glen-mac closed 1 year ago

glen-mac commented 2 years ago

Don't have trace on-hand atm, but using ktool as a lib I'm getting:

utf-8 can't decode byte 0xc0 in position 2: invalid start byte

from read_node in ktool/loader.py in the image.get_cstr_at(cursor) call.

Let me know if you need the full trace

0cyn commented 1 year ago

I've made the decision to drop dsc support as it was a nightmare to work on and maintain within the scope of this project. See issue #54

For future stuff regarding development efforts, https://github.com/arandomdev/dyldextractor should be used.