Class ThunkReference

  • All Implemented Interfaces:
    DynamicReference, Reference, java.lang.Comparable<Reference>

    public class ThunkReference
    extends java.lang.Object
    implements DynamicReference
    Implementation for a Thunk Function reference. These references are dynamic in nature and may not be explicitly added, removed or altered. There presence is inferred by the existence of a thunk function.
    • Constructor Summary

      Constructors 
      Constructor Description
      ThunkReference​(Address thunkAddr, Address thunkedAddr)
      Thunk reference constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(Reference ref)  
      boolean equals​(java.lang.Object obj)  
      Address getFromAddress()
      Get the address of the codeunit that is making the reference.
      int getOperandIndex()
      Get the operand index of where this reference was placed.
      RefType getReferenceType()
      Get the type of reference being made.
      SourceType getSource()
      Gets the source of this reference.
      long getSymbolID()
      Get the symbol ID associated with this reference.
      Address getToAddress()
      Get the "to" address for this reference.
      boolean isEntryPointReference()
      Returns true if this reference is an instance of EntryReference.
      boolean isExternalReference()
      Returns true if this reference is an instance of ExternalReference.
      boolean isMemoryReference()
      Returns true if this reference to an address in the programs memory space.
      boolean isMnemonicReference()
      Return true if this reference is on the Mnemonic and not on an operand
      boolean isOffsetReference()
      Returns true if this reference is an instance of OffsetReference.
      boolean isOperandReference()
      Return true if this reference is on an operand and not on the Mnemonic.
      boolean isPrimary()
      Return whether this reference is marked as primary.
      boolean isRegisterReference()
      Returns true if this reference to an address in the programs register space.
      boolean isShiftedReference()
      Returns true if this reference is an instance of ShiftedReference.
      boolean isStackReference()
      Returns true if this reference is an instance of StackReference and refers to a stack location.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait