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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
-
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
-
ObjectiveC2_ImageInfo
- Throws:
IOException
-
-
Method Details
-
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
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 existsIOException- if an IO-related error occurs- See Also:
-
applyTo
- Throws:
Exception
-