Class GoUncommonType

java.lang.Object
ghidra.app.util.bin.format.golang.rtti.types.GoUncommonType

public class GoUncommonType extends Object
Structure found immediately after a GoType structure, if it has the uncommon flag set.
  • Constructor Details

    • GoUncommonType

      public GoUncommonType()
  • Method Details

    • getPkgPath

      public GoName getPkgPath() throws IOException
      Returns the package path of the type.
      Returns:
      package path of the type
      Throws:
      IOException - if error reading data
    • getPackagePathString

      public String getPackagePathString() throws IOException
      Returns the package path of the type.
      Returns:
      package path of the type, as a string
      Throws:
      IOException - if error reading data
    • getMethodsSlice

      public GoSlice getMethodsSlice()
      Returns a slice containing the methods defined by the type.
      Returns:
      slice containing the methods defined by the type
    • getMethods

      public List<GoMethod> getMethods() throws IOException
      Returns a list of the methods defined by the type.
      Returns:
      list of the methods defined by the type
      Throws:
      IOException - if error reading data
    • getEndOfTypeInfo

      public long getEndOfTypeInfo()
      Returns the location of where this object, and any known associated optional structures ends.
      Returns:
      index location of end of this type object