Class GlobalTaintManager

java.lang.Object
soot.jimple.infoflow.globalTaints.GlobalTaintManager

public class GlobalTaintManager extends Object
Manager class for storing and processing global taints, i.e., taints that shall be valid regardless of context and statement. This class is useful for handling field-based taints outside of IFDS.
Author:
Steven Arzt
  • Constructor Details

  • Method Details

    • addToGlobalTaintState

      public boolean addToGlobalTaintState(Abstraction abs)
      Adds an abstraction to the global taint state. The global taint models taint abstractions that shall be valid regardless of context and statement. This feature can be used to handle, e.g., field-based data flow analyses for static fields.
      Parameters:
      abs - The abstraction to add to the global taint state
      Returns:
      True if the abstraction was added, false if an equal abstraction has been recorded before