objc¤
Objective-C Support
This command is composed of a number of subcommands providing support for inspecting and interacting with the Objective-C ABI in Darwin-based systems.
Positional arguments¤
| Positional Argument | Help |
|---|---|
| command |
Optional arguments¤
| Short | Long | Help |
|---|---|---|
| -h | --help | show this help message and exit |
objc show-class¤
Show information about a given Objective-C class
The information is presented in a pseudo-Objective-C syntax, that displays the value string for properties and the addresses of IMP pointers and selectors for methods, but omits type information.
It is given in the form:
@implementation <ClassName> : <SuperName>
@property <PropertyName> = <PropertyValue>
- <ClassMethodSelector> (<SelectorAddress>) @ <IMP>
+ <InstanceMethodSelector> (<SelectorAddress>) @ <IMP>
@end
Optional arguments¤
| Short | Long | Help |
|---|---|---|
| -h | --help | show this help message and exit |
| -m | --module | Name of the module from which the class is going to be looked up. By default this is the main module. |
| -a | --address | Address at which the class metadata starts |
| -n | --name | Name of the class to display |
objc list-classes¤
Lists Objective-C classes present in the process
Optional arguments¤
| Short | Long | Help |
|---|---|---|
| -h | --help | show this help message and exit |
| -f | --full | Display full information for each class in the manner of objc-show-class, rather than just their names. |
| -A | --all-with-shared-cache | List classes from all modules in the process, including those in the shared cache. |
| -m | --module | Name of the module from which the classes are going to be listed. By default this is the main module. |
| -a | --all | List classes from all modules in the process, except those in the shared cache. |