Class ObjectiveC2_ImageInfo

java.lang.Object
ghidra.app.util.bin.format.objc2.ObjectiveC2_ImageInfo
All Implemented Interfaces:
StructConverter

public class ObjectiveC2_ImageInfo extends Object implements StructConverter
  • 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

  • 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

      public DataType toDataType() throws DuplicateNameException, IOException
      Description copied from interface: StructConverter
      Returns 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:
      toDataType in interface StructConverter
      Returns:
      returns a structure datatype representing the implementor of this interface
      Throws:
      DuplicateNameException - when a datatype of the same name already exists
      IOException
      See Also:
    • applyTo

      public void applyTo() throws Exception
      Throws:
      Exception