Interface IPathBuilderFactory
- All Known Implementing Classes:
DefaultPathBuilderFactory
public interface IPathBuilderFactory
Common interface for all path builder factories
- Author:
- Steven Arzt
-
Method Summary
Modifier and TypeMethodDescriptioncreatePathBuilder(InfoflowManager manager, int maxThreadNum) Creates a new path builder.createPathBuilder(InfoflowManager manager, InterruptableExecutor executor) Creates a new path builder.booleanGets whether theIAbstractionPathBuilderobject created by this factory supports context-sensitive path reconstruction.booleanGets whether theIAbstractionPathBuilderobject created by this factory supports the reconstruction of the exact paths between source and sink.
-
Method Details
-
createPathBuilder
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 objectsmaxThreadNum- The maximum number of threads to use * @return The newly created path builder
-
createPathBuilder
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 objectsexecutor- The executor in which to run the path reconstruction tasks. * @return The newly created path builder
-
supportsPathReconstruction
boolean supportsPathReconstruction()Gets whether theIAbstractionPathBuilderobject created by this factory supports the reconstruction of the exact paths between source and sink.- Returns:
- True if the
IAbstractionPathBuilderobject 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 theIAbstractionPathBuilderobject created by this factory supports context-sensitive path reconstruction.- Returns:
- True if the
IAbstractionPathBuilderobject created by this factory supports context-sensitive path reconstruction, otherwise false.
-