Class ObjectiveC2_ClassRW

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

public class ObjectiveC2_ClassRW extends Object implements StructConverter
  • Field Details

  • Constructor Details

  • Method Details

    • getIndex

      public long getIndex()
    • getName

      public String getName()
    • getFlags

      public long getFlags()
    • getInstanceStart

      public long getInstanceStart()
    • getInstanceSize

      public long getInstanceSize()
    • getReserved

      public long getReserved()
    • getWeakIvarLayout

      public long getWeakIvarLayout()
    • getBaseMethods

      public ObjectiveC2_MethodList getBaseMethods()
    • getBaseProtocols

      public ObjectiveC2_ProtocolList getBaseProtocols()
    • getInstanceVariables

      public ObjectiveC2_InstanceVariableList getInstanceVariables()
    • getBaseProperties

      public ObjectiveC2_PropertyList getBaseProperties()
    • 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