public class EmptyPathBuilder extends Object implements IAbstractionPathBuilder
IAbstractionPathBuilder that always
returns the empty set. For internal use only.IAbstractionPathBuilder.OnPathBuilderResultAvailableIMemoryBoundedSolver.IMemoryBoundedSolverStatusNotification| 构造器和说明 |
|---|
EmptyPathBuilder() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addResultAvailableHandler(IAbstractionPathBuilder.OnPathBuilderResultAvailable handler)
Adds a handler that gets called when the path reconstructor has
found a new source-to-sink connection
|
void |
addStatusListener(IMemoryBoundedSolver.IMemoryBoundedSolverStatusNotification listener)
Adds a new listener that will be notified of status changes in the solver
|
void |
computeTaintPaths(Set<AbstractionAtSink> res)
Computes the path of tainted data between the source and the sink
|
void |
forceTerminate(ISolverTerminationReason reason)
Forces the solver to terminate its tasks and stop processing new tasks.
|
InfoflowResults |
getResults()
Gets the constructed result paths
|
ISolverTerminationReason |
getTerminationReason()
In case this solver was killed before it could complete its task, this
method returns the reason for the abortion.
|
boolean |
isKilled()
Checks whether this solver was killed before it could complete its tasks
|
boolean |
isTerminated()
Checks whether this solver is terminated, either by forced termination,
or because it has finished all of its work.
|
void |
reset()
Resets the solver to its initial state after it has been forcefully
terminated.
|
void |
runIncrementalPathCompuation()
Incrementally runs the path builder after some paths have already been
computed.
|
public void computeTaintPaths(Set<AbstractionAtSink> res)
IAbstractionPathBuildercomputeTaintPaths 在接口中 IAbstractionPathBuilderres - The data flow tracker resultspublic InfoflowResults getResults()
IAbstractionPathBuildergetResults 在接口中 IAbstractionPathBuilderpublic void addResultAvailableHandler(IAbstractionPathBuilder.OnPathBuilderResultAvailable handler)
IAbstractionPathBuilderaddResultAvailableHandler 在接口中 IAbstractionPathBuilderhandler - The handler to addpublic void runIncrementalPathCompuation()
IAbstractionPathBuilderpublic boolean isTerminated()
IMemoryBoundedSolverisTerminated 在接口中 IMemoryBoundedSolverpublic boolean isKilled()
IMemoryBoundedSolverisKilled 在接口中 IMemoryBoundedSolverpublic void reset()
IMemoryBoundedSolverreset 在接口中 IMemoryBoundedSolverpublic void addStatusListener(IMemoryBoundedSolver.IMemoryBoundedSolverStatusNotification listener)
IMemoryBoundedSolveraddStatusListener 在接口中 IMemoryBoundedSolverlistener - The listener that will be notified when the status of the
solver changespublic void forceTerminate(ISolverTerminationReason reason)
IMemoryBoundedSolverforceTerminate 在接口中 IMemoryBoundedSolverreason - The reason why the solver is terminatedpublic ISolverTerminationReason getTerminationReason()
IMemoryBoundedSolvergetTerminationReason 在接口中 IMemoryBoundedSolverCopyright © 2022 Fraunhofer SIT. All rights reserved.