Class Operand

  • All Implemented Interfaces:
    java.io.Serializable

    public class Operand
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • toString

        public java.lang.String toString​(MemBuffer buf,
                                         int off)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • length

        public int length​(MemBuffer buf,
                          int off)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getInfo

        public ConstructorInfo getInfo​(MemBuffer buf,
                                       int off)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • name

        public java.lang.String name()
      • linkRelativeOffsets

        public void linkRelativeOffsets​(java.util.Hashtable<java.lang.String,​Operand> opHash)
      • getHandle

        public Handle getHandle​(java.util.ArrayList<PcodeOp> pcode,
                                Position position,
                                int off)
                         throws java.lang.Exception
        Method getHandle.
        Parameters:
        pcode -
        position -
        off -
        Returns:
        Handle
        Throws:
        java.lang.Exception
      • getHandle

        public Handle getHandle()
        Returns previously computed handle for this operand. Should not be called before the full version of getHandle, where Position and and offset are specified.
        Returns:
        Handle
      • getHandle

        public Handle getHandle​(Position position,
                                int off)
                         throws java.lang.Exception
        Returns a handle for this operand *without* generating any pcode
        Parameters:
        position -
        off -
        Returns:
        Throws:
        java.lang.Exception
      • getAllHandles

        public void getAllHandles​(java.util.ArrayList<Handle> handles,
                                  Position position,
                                  int off)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPcode

        public PcodeOp[] getPcode​(Position position)
                           throws java.lang.Exception
        Method getPcode
        Parameters:
        position -
        Returns:
        array of pcode ops for this operand
        Throws:
        java.lang.Exception
      • dynamic

        public boolean dynamic()
      • toList

        public void toList​(java.util.ArrayList<Handle> list,
                           Position position,
                           int off)
                    throws java.lang.Exception
        Return l
        Parameters:
        list -
        buf -
        i -
        Throws:
        java.lang.Exception
      • getSize

        public int getSize()
        Returns: