Interface IReversibleSourceSinkManager

All Superinterfaces:
ISourceSinkManager
All Known Implementing Classes:
BaseSourceSinkManager, ConditionalFlowSourceSinkManagerWrapper, DefaultSourceSinkManager

public interface IReversibleSourceSinkManager extends ISourceSinkManager
A source sink manager which also allows to treat sinks as sources and vice versa. Backwards search uses this type of SourceSinkManager
Author:
Tim Lange
  • Method Details

    • getInverseSourceInfo

      SinkInfo getInverseSourceInfo(soot.jimple.Stmt sCallSite, InfoflowManager manager, AccessPath ap)
      Determines whether this is a source resulting in a leak for backwards search. Creating a SinkInfo using source signatures.
      Parameters:
      sCallSite - a Stmt which should include an invokeExrp calling a method
      manager - The manager object for interacting with the solver
      ap - The access path to check. Pass null to check whether the given statement can be a sink for any given access path.
      Returns:
      A SourceInfo object containing additional information if this call is a source, otherwise null
    • getInverseSinkInfo

      SourceInfo getInverseSinkInfo(soot.jimple.Stmt sCallSite, InfoflowManager manager)
      Determines if a method called by the Stmt is a sink method or not. If so, additional information is returned to introduce a taint. Creating a SourceInfo using sink signatures
      Parameters:
      sCallSite - The call site to check
      manager - The manager object for interacting with the solver
      Returns:
      A SinkInfo object containing additional information if this call is a sink, otherwise null