Class Objc1Module
java.lang.Object
ghidra.app.util.bin.format.objc.ObjcTypeMetadataStructure
ghidra.app.util.bin.format.objc.objc1.Objc1Module
- All Implemented Interfaces:
StructConverter
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.objc.ObjcTypeMetadataStructure
base, DATA_TYPE_CATEGORY, is32bit, isArm, pointerSize, program, state -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(Namespace namespace, TaskMonitor monitor) Applies thisObjcTypeMetadataStructureto the programgetName()intgetSize()intReturns a structure datatype representing the contents of the implementor of this interface.Methods inherited from class ghidra.app.util.bin.format.objc.ObjcTypeMetadataStructure
getBase, getPointerSize, getProgram, getState, is32bit, isArm, toString
-
Constructor Details
-
Objc1Module
- Throws:
IOException
-
-
Method Details
-
getVersion
public int getVersion() -
getSize
public int getSize() -
getName
-
getSymbolTable
-
applyTo
Description copied from class:ObjcTypeMetadataStructureApplies thisObjcTypeMetadataStructureto the program- Specified by:
applyToin classObjcTypeMetadataStructure- Parameters:
namespace- An optionalNamespaceto apply tomonitor- A cancellable monitor- Throws:
Exception- if an error occurred
-
toDataType
Description copied from interface:StructConverterReturns 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.
- 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:
-