Interface IPathBuilderFactory

All Known Implementing Classes:
DefaultPathBuilderFactory

public interface IPathBuilderFactory
Common interface for all path builder factories
Author:
Steven Arzt
  • Method Details

    • createPathBuilder

      IAbstractionPathBuilder createPathBuilder(InfoflowManager manager, int maxThreadNum)
      Creates a new path builder. Use this overload to have the path builder manage its own executors.
      Parameters:
      manager - The data flow manager that gives access to the icfg and other objects
      maxThreadNum - The maximum number of threads to use * @return The newly created path builder
    • createPathBuilder

      IAbstractionPathBuilder createPathBuilder(InfoflowManager manager, InterruptableExecutor executor)
      Creates a new path builder. Use this overload if you want the path builder to submit its tasks to an existing executor.
      Parameters:
      manager - The data flow manager that gives access to the icfg and other objects
      executor - The executor in which to run the path reconstruction tasks. * @return The newly created path builder
    • supportsPathReconstruction

      boolean supportsPathReconstruction()
      Gets whether the IAbstractionPathBuilder object created by this factory supports the reconstruction of the exact paths between source and sink.
      Returns:
      True if the IAbstractionPathBuilder object constructed by this factory gives the exact propagation path between source and sink, false if it only reports source-to-sink connections without paths.
    • isContextSensitive

      boolean isContextSensitive()
      Gets whether the IAbstractionPathBuilder object created by this factory supports context-sensitive path reconstruction.
      Returns:
      True if the IAbstractionPathBuilder object created by this factory supports context-sensitive path reconstruction, otherwise false.