IOMobileFramebufferGetLayerDefaultSurface not working on iOS 9

前端 未结 4 1119
难免孤独
难免孤独 2020-12-23 12:50

My main question is, how can I reverse engineer a private API function that already exists, but has been modified in a new version of iOS?

I have created an iOS app

4条回答
  •  没有蜡笔的小新
    2020-12-23 13:17

    Not entirely correct - it's just a matter of an entitlement, as you can see if you dump the kext:

    $ jtool -d __TEXT.__cstring 97.IOMobileGraphicsFamily.kext | grep com.apple
    0xffffff80220c91a2: com.apple.private.allow-explicit-graphics-priority
    

    If you self sign (jtool --sign --ent) with this , everything works well.

    This does mean that on non-JB devices you can't use it. But with a jailbreak the immense power is in your hands once more.

提交回复
热议问题