Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_Implementation
java.lang.Object
ghidra.app.util.bin.format.objc2.ObjectiveC2_Implementation
- All Implemented Interfaces:
StructConverter
-
Field Summary
-
Constructor Summary
ConstructorDescriptionObjectiveC2_Implementation
(ObjectiveC2_State state, BinaryReader reader) ObjectiveC2_Implementation
(ObjectiveC2_State state, BinaryReader reader, boolean isSmall) -
Method Summary
-
Constructor Details
-
ObjectiveC2_Implementation
public ObjectiveC2_Implementation(ObjectiveC2_State state, BinaryReader reader, boolean isSmall) throws IOException - Throws:
IOException
-
ObjectiveC2_Implementation
- Throws:
IOException
-
-
Method Details
-
getImplementation
public long getImplementation() -
getIndex
public long getIndex() -
toDataType
Description copied from interface:StructConverter
Returns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }
The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataType
in interfaceStructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsIOException
- if an IO-related error occurs- See Also:
-
applyTo
- Throws:
Exception
-