Is your feature request related to a problem? Please describe.
I'm currently trying to get the objective-c class information of an apps binary into a parse able format.
There are 2 functions that I know of which output these information, which are macho info --objc and class-dump, but they output it as just a string. (seems also to be the exact same info)
macho info has a json flag, but that is not working in combination with the objc flag.
Describe the solution you'd like
Would it be possible to implement a working json flag in combination with one of those functions?
Something that makes the objective c output at least a little better parse able.
I'm not sure how much effort that is, and how the data is gathered by ipsw initially, so feel free to squander my hopes to not write endless regex expressions.
And if there is already a way to get these objective-c class information through some other methods, I'm all ears. But going through the wiki, and asking multiple chat AIs (including the on from deepwiki), made it clear that there is no way currently to do that.
Describe alternatives you've considered
I also tried to use class-dump --headers and reading these header files with (lib)clang, but that tool has some issues with swift variables I could not resolve.
Search
Code of Conduct
Additional context
No response
Is your feature request related to a problem? Please describe.
I'm currently trying to get the objective-c class information of an apps binary into a parse able format.
There are 2 functions that I know of which output these information, which are
macho info --objcandclass-dump, but they output it as just a string. (seems also to be the exact same info)macho infohas ajsonflag, but that is not working in combination with theobjcflag.Describe the solution you'd like
Would it be possible to implement a working
jsonflag in combination with one of those functions?Something that makes the objective c output at least a little better parse able.
I'm not sure how much effort that is, and how the data is gathered by ipsw initially, so feel free to squander my hopes to not write endless regex expressions.
And if there is already a way to get these objective-c class information through some other methods, I'm all ears. But going through the wiki, and asking multiple chat AIs (including the on from deepwiki), made it clear that there is no way currently to do that.
Describe alternatives you've considered
I also tried to use
class-dump --headersand reading these header files with (lib)clang, but that tool has some issues with swift variables I could not resolve.Search
Code of Conduct
Additional context
No response