public class DefaultPathBuilderFactory extends Object implements IPathBuilderFactory
| Constructor and Description |
|---|
DefaultPathBuilderFactory(InfoflowConfiguration.PathConfiguration config)
Creates a new instance of the
DefaultPathBuilderFactory class |
| Modifier and Type | Method and Description |
|---|---|
IAbstractionPathBuilder |
createPathBuilder(InfoflowManager manager,
int maxThreadNum)
Creates a new path builder.
|
IAbstractionPathBuilder |
createPathBuilder(InfoflowManager manager,
InterruptableExecutor executor)
Creates a new path builder.
|
boolean |
isContextSensitive()
Gets whether the
IAbstractionPathBuilder object created by this
factory supports context-sensitive path reconstruction. |
boolean |
supportsPathReconstruction()
Gets whether the
IAbstractionPathBuilder object created by this
factory supports the reconstruction of the exact paths between source and
sink. |
public DefaultPathBuilderFactory(InfoflowConfiguration.PathConfiguration config)
DefaultPathBuilderFactory classconfig - The configuration for reconstructing data flow pathspublic IAbstractionPathBuilder createPathBuilder(InfoflowManager manager, int maxThreadNum)
IPathBuilderFactorycreatePathBuilder in interface IPathBuilderFactorymanager - 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 builderpublic IAbstractionPathBuilder createPathBuilder(InfoflowManager manager, InterruptableExecutor executor)
IPathBuilderFactorycreatePathBuilder in interface IPathBuilderFactorymanager - 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 builderpublic boolean supportsPathReconstruction()
IPathBuilderFactoryIAbstractionPathBuilder object created by this
factory supports the reconstruction of the exact paths between source and
sink.supportsPathReconstruction in interface IPathBuilderFactoryIAbstractionPathBuilder 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.public boolean isContextSensitive()
IPathBuilderFactoryIAbstractionPathBuilder object created by this
factory supports context-sensitive path reconstruction.isContextSensitive in interface IPathBuilderFactoryIAbstractionPathBuilder object created by
this factory supports context-sensitive path reconstruction,
otherwise false.Copyright © 2021 Fraunhofer SIT. All rights reserved.