Package ghidra.app.util.bin.format.objc
Class ObjcTypeMetadataStructure
java.lang.Object
ghidra.app.util.bin.format.objc.ObjcTypeMetadataStructure
- All Implemented Interfaces:
StructConverter
- Direct Known Subclasses:
Objc1Category,Objc1Class,Objc1InstanceVariable,Objc1InstanceVariableList,Objc1MetaClass,Objc1Module,Objc1Protocol,Objc1ProtocolList,Objc1ProtocolMethod,Objc1ProtocolMethodList,Objc1SymbolTable,Objc2Cache,Objc2Category,Objc2Class,Objc2ClassRW,Objc2ImageInfo,Objc2Implementation,Objc2InstanceVariable,Objc2InstanceVariableList,Objc2MessageReference,Objc2Property,Objc2PropertyList,Objc2Protocol,Objc2ProtocolList,ObjcMethod,ObjcMethodList
Implemented by all Objective-C type metadata structures
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidapplyTo(Namespace namespace, TaskMonitor monitor) Applies thisObjcTypeMetadataStructureto the programlonggetBase()Returns the base "address" of thisObjcTypeMetadataStructure.intReturns the generic pointer size used by thisObjcTypeMetadataStructure.Returns theProgramassociated with thisObjcTypeMetadataStructure.getState()Returns thestateof thisObjcTypeMetadataStructure.booleanis32bit()Returns whether or not the pointer size is 32-bit.booleanisArm()Returns whether or not thisObjcTypeMetadataStructureis for the ARM-processor.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.util.bin.StructConverter
toDataType
-
Field Details
-
DATA_TYPE_CATEGORY
- See Also:
-
program
-
state
-
base
protected long base -
pointerSize
protected int pointerSize -
is32bit
protected boolean is32bit -
isArm
protected boolean isArm
-
-
Constructor Details
-
ObjcTypeMetadataStructure
-
-
Method Details
-
getProgram
Returns theProgramassociated with thisObjcTypeMetadataStructure.- Returns:
- the
Programassociated with thisObjcTypeMetadataStructure
-
getBase
public long getBase()Returns the base "address" of thisObjcTypeMetadataStructure.- Returns:
- the base "address" of this
ObjcTypeMetadataStructure
-
getState
Returns thestateof thisObjcTypeMetadataStructure.- Returns:
- the
stateof thisObjcTypeMetadataStructure
-
getPointerSize
public int getPointerSize()Returns the generic pointer size used by thisObjcTypeMetadataStructure.- Returns:
- the generic pointer size used by this
ObjcTypeMetadataStructure
-
is32bit
public boolean is32bit()Returns whether or not the pointer size is 32-bit.- Returns:
- whether or not the pointer size is 32-bit
-
isArm
public boolean isArm()Returns whether or not thisObjcTypeMetadataStructureis for the ARM-processor.- Returns:
- whether or not this
ObjcTypeMetadataStructureis for the ARM-processor
-
applyTo
Applies thisObjcTypeMetadataStructureto the program
-