Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_ImageInfo
- java.lang.Object
 - 
- ghidra.app.util.bin.format.objc2.ObjectiveC2_ImageInfo
 
 
- 
- All Implemented Interfaces:
 StructConverter
public class ObjectiveC2_ImageInfo extends java.lang.Object implements StructConverter
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intOBJC_IMAGE_IS_REPLACEMENTstatic intOBJC_IMAGE_REQUIRES_GCstatic intOBJC_IMAGE_SUPPORTS_GC 
- 
Constructor Summary
Constructors Constructor Description ObjectiveC2_ImageInfo(ObjectiveC2_State state, BinaryReader reader) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo()intgetFlags()longgetIndex()intgetVersion()booleanisReplacement()booleanisRequiresGarbageCollection()booleanisSupportsGarbageCollection()DataTypetoDataType()Returns a structure datatype representing the contents of the implementor of this interface. 
 - 
 
- 
- 
Field Detail
- 
OBJC_IMAGE_IS_REPLACEMENT
public static final int OBJC_IMAGE_IS_REPLACEMENT
- See Also:
 - Constant Field Values
 
 
- 
OBJC_IMAGE_SUPPORTS_GC
public static final int OBJC_IMAGE_SUPPORTS_GC
- See Also:
 - Constant Field Values
 
 
- 
OBJC_IMAGE_REQUIRES_GC
public static final int OBJC_IMAGE_REQUIRES_GC
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
ObjectiveC2_ImageInfo
public ObjectiveC2_ImageInfo(ObjectiveC2_State state, BinaryReader reader) throws java.io.IOException
- Throws:
 java.io.IOException
 
 - 
 
- 
Method Detail
- 
getVersion
public int getVersion()
 
- 
getFlags
public int getFlags()
 
- 
isReplacement
public boolean isReplacement()
 
- 
isSupportsGarbageCollection
public boolean isSupportsGarbageCollection()
 
- 
isRequiresGarbageCollection
public boolean isRequiresGarbageCollection()
 
- 
getIndex
public long getIndex()
 
- 
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
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.
- Specified by:
 toDataTypein interfaceStructConverter- Returns:
 - returns a structure datatype representing the implementor of this interface
 - Throws:
 DuplicateNameException- when a datatype of the same name already existsjava.io.IOException- See Also:
 StructureDataType
 
- 
applyTo
public void applyTo() throws java.lang.Exception- Throws:
 java.lang.Exception
 
 - 
 
 -