IOS app - find (unknown) private api calls

We have an application that is on iTunes, and it received a warning in iTunes that it is using undocumented api calls:

reateScreenIOSurface
IOSurfaceAcceleratorCreate
IOSurfaceAcceleratorTransferSurface
IOServiceGetMatchingService
IOMobileFramebufferOpen
IOMobileFramebufferGetLayerDefaultSurface
kIOMasterPortDefault
IOServiceMatching
IOObjectRelease
IOServiceClose

All this is from the IOSurface api , which is for Mac OSX, however, I can not find any of these cals in our application. I assume that one of the third-party frameworks we use is a problem. The application has 3 frameworks that these apis can use: Aviary, Sincerely and Pritnzel.

Anyway, my question is: how can I find where (and if) are these apis really used ? I used nm -uboth otool -Lin the binary application, as well as in the three frameworks (and any other third-party frameworks that the application uses), with no luck.

Many thanks

+4
source share
1 answer

I believe that you do not even need to use nm or a tool for this. Just use grep to search for references to these APIs in the frameworks directory.

However, what is strange is that you cannot find the use of nm and the tool, especially in your binary.

BTW. grep "IOSurface". , .

+1

Source: https://habr.com/ru/post/1523412/


All Articles