Class Objc2ImageInfo
java.lang.Object
ghidra.app.util.bin.format.objc.ObjcTypeMetadataStructure
ghidra.app.util.bin.format.objc.objc2.Objc2ImageInfo
- All Implemented Interfaces:
StructConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields 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 programintgetFlags()intbooleanbooleanbooleanReturns 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
-
Field Details
-
OBJC_IMAGE_IS_REPLACEMENT
public static final int OBJC_IMAGE_IS_REPLACEMENT- See Also:
-
OBJC_IMAGE_SUPPORTS_GC
public static final int OBJC_IMAGE_SUPPORTS_GC- See Also:
-
OBJC_IMAGE_REQUIRES_GC
public static final int OBJC_IMAGE_REQUIRES_GC- See Also:
-
-
Constructor Details
-
Objc2ImageInfo
- Throws:
IOException
-
-
Method Details
-
getVersion
public int getVersion() -
getFlags
public int getFlags() -
isReplacement
public boolean isReplacement() -
isSupportsGarbageCollection
public boolean isSupportsGarbageCollection() -
isRequiresGarbageCollection
public boolean isRequiresGarbageCollection() -
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:
-
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
-