Class MemoryAccess

java.lang.Object
com.ibm.wala.demandpa.util.MemoryAccess

public class MemoryAccess extends Object
* represents a single static occurrence of a memory access (i.e., an access to a field or to the contents of an array) in the code
Author:
sfink
  • Constructor Details

    • MemoryAccess

      public MemoryAccess(int index, CGNode node)
  • Method Details

    • getInstructionIndex

      public int getInstructionIndex()
      Returns:
      Returns the instructionIndex.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getNode

      public CGNode getNode()
      Returns:
      Returns the node.
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object