Class AbstractSparsePropagation.SCFGNode

java.lang.Object
soot.jimple.infoflow.solver.sparseSolver.propagation.AbstractSparsePropagation.SCFGNode
Direct Known Subclasses:
AbstractSparsePropagation.SCFGExceptionNode
Enclosing class:
AbstractSparsePropagation

protected abstract class AbstractSparsePropagation.SCFGNode extends Object
Key for lookup in the sparse control flow graph
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final soot.Unit
     
    protected final soot.SootField
     
    protected final soot.Local
     
    protected final soot.Unit
     
    protected final soot.Unit
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    SCFGNode(soot.Unit unit, soot.Local local, soot.SootField field, soot.Unit activationUnit, soot.Unit turnUnit)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    boolean
    isAffectedBy(soot.Unit unit)
    Checks whether the unit affects the value
    protected abstract boolean
    isAffectedByInternal(soot.Unit unit)
    Checks whether the unit affects the value.
    protected boolean
    Checks whether the current unit is needed to keep flow sensitivity
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • unit

      protected final soot.Unit unit
    • local

      protected final soot.Local local
    • field

      protected final soot.SootField field
    • activationUnit

      protected final soot.Unit activationUnit
    • turnUnit

      protected final soot.Unit turnUnit
  • Constructor Details

    • SCFGNode

      protected SCFGNode(soot.Unit unit, soot.Local local, soot.SootField field, soot.Unit activationUnit, soot.Unit turnUnit)
  • Method Details

    • isAffectedBy

      public boolean isAffectedBy(soot.Unit unit)
      Checks whether the unit affects the value
      Parameters:
      unit - current unit
      Returns:
      true if this node is used at unit
    • isAffectedByInternal

      protected abstract boolean isAffectedByInternal(soot.Unit unit)
      Checks whether the unit affects the value. Does not need to handle flow sensitivity and exits.
      Parameters:
      unit - current unit
      Returns:
      true if this node is used at unit
    • requiredForFlowSensitivity

      protected boolean requiredForFlowSensitivity(soot.Unit unit)
      Checks whether the current unit is needed to keep flow sensitivity
      Parameters:
      unit - current unit
      Returns:
      true if unit should be visited regardless of the values
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object