public class DefaultPathBuilderFactory extends Object implements IPathBuilderFactory
| 构造器和说明 |
|---|
DefaultPathBuilderFactory(InfoflowConfiguration.PathConfiguration config)
Creates a new instance of the
DefaultPathBuilderFactory class |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 在接口中 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 在接口中 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 在接口中 IPathBuilderFactoryIAbstractionPathBuilder object created by
this factory supports context-sensitive path reconstruction,
otherwise false.Copyright © 2022 Fraunhofer SIT. All rights reserved.