How do you extract header files from a private structure in OS X?

I tried class-dump and class-dump -x but it does not work on CoreSymbolication.framework on Snow Leopard (OS X 10.6.2)

/System/Library/PrivateFrameworks/CoreSymbolication.framework

Are there other ways to get headers for this structure?

+4
source share
1 answer

CoreSymbolication is not written in Objective-C, but in C ++. This is why the dump class does not work. you can use

 nm /System/Library/PrivateFrameworks/CoreSymbolication.framework/CoreSymbolication | c++filt 

to look at the characters defined in CoreSymbolication. They are difficult to read due to the use of heavy patterns.

Alas, for C ++ it is not possible to generate full header information from an executable file.

+5
source

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


All Articles