here This class is the main interface to inspect Objective-C metadata. It can be instantiated using the function LIEF::MachO::Binary::objc_metadata Public Types Public Functions Return an iterator over the different Objective-C classes ( Return an iterator over the Objective-C protocols declared in this binary ( Try to find the Objective-C class with the given mangled name. Try to find the Objective-C protocol with the given mangled name. Generate a header-like of all the Objective-C metadata identified in the binary. The generated output can be configured with the DeclOpt.Metadata¶
@interface
)@protocol
).
This class represents an Objective-C class (@interface
)
Public Types
Iterator for the class’s method.
Iterator for the protocols implemented by this class.
Iterator for the properties declared by this class.
Iterator for the instance variables defined by this class.
Public Functions
Name of the class.
Demangled name of the class.
Iterator over the different protocols implemented by this class.
Iterator over the properties of this class.
Generate a header-like string for this specific class.
The generated output can be configured with DeclOpt
Public Types
Public Functions
Friends
This class represents an Objective-C @protocol
Public Types
Public Functions
Mangled name of the protocol.
Iterator over the methods that could be overridden.
Iterator over the methods of this protocol that must be implemented.
Iterator over the properties defined in this protocol.
Generate a header-like string for this specific protocol.
The generated output can be configured with DeclOpt
Public Types
Public Functions
Friends
This class represents an instance variable (ivar)
Public Functions
Name of the instance variable.
Type of the instance var in its mangled representation ([29i]
)
Public Types
Public Functions
Friends
This class represents an Objective-C Method.
Public Functions
Name of the method.
Prototype of the method in its mangled representation (e.g. @16@0:8
)
Virtual address where this method is implemented in the binary.
Whether it’s an instance method.
Public Types
Public Functions
Friends
This class represents a @property
in Objective-C.
Public Functions
Name of the property.
(raw) property’s attributes (e.g. T@"NSString",C,D,N
)
Public Types
Public Functions
Friends
This structure wraps options to tweak the generated output of functions like LIEF::objc::Metadata::to_decl.
Public Members
Whether annotations like method’s address should be printed.