Class VarnodeTemplate

  • All Implemented Interfaces:
    java.io.Serializable

    public class VarnodeTemplate
    extends java.lang.Object
    implements java.io.Serializable
    To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
    See Also:
    Serialized Form
    • Method Detail

      • setDef

        public void setDef​(OpTemplate opTemplate)
        Method setDef.
        Parameters:
        opTemplate -
      • resolve

        public Varnode resolve​(java.util.HashMap<java.lang.Object,​Handle> handles,
                               Position position,
                               int bufoff)
                        throws java.lang.Exception
        Method resolve.
        Parameters:
        handles -
        Returns:
        Varnode
        Throws:
        java.lang.Exception
      • resolve

        public Varnode resolve​(Position position,
                               int bufoff)
                        throws java.lang.Exception
        Resolves a varnode at the given position and buffer offset
        Parameters:
        position - the position
        bufoff - the buffer offset
        Returns:
        the resolved raw varnode. (Only contains an address and size)
        Throws:
        java.lang.Exception - if an error occurs resolving the varnode
      • oneuse

        public boolean oneuse()
      • setReplace

        public void setReplace​(Operand op,
                               boolean load)
      • loadomit

        public boolean loadomit()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object