public class LazyAliasingStrategy extends AbstractInteractiveAliasStrategy
manager| Constructor and Description |
|---|
LazyAliasingStrategy(InfoflowManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Performs a clean up, i.e., removes all generated data from memory
|
IInfoflowSolver |
getSolver()
If this aliasing strategy uses an additional IFDS solver, it is returned
by this method.
|
boolean |
hasProcessedMethod(soot.SootMethod method)
Checks whether this aliasing strategy has already computed aliases in the
given method or not.
|
void |
injectCallingContext(Abstraction abs,
IInfoflowSolver fSolver,
soot.SootMethod callee,
soot.Unit callSite,
Abstraction source,
Abstraction d1)
Notifies the aliasing strategy that a method has been called in the
taint analysis.
|
boolean |
isFlowSensitive()
Gets whether this aliasing strategy is flow sensitive
|
boolean |
isInteractive()
Gets whether this aliasing strategy is interactive, i.e.
|
boolean |
isLazyAnalysis()
Gets whether this analysis is lazy, i.e., needs all taints to be
propagated into all methods, even if the respective access path is not
even visible inside the callee (but an alias may be visible).
|
boolean |
mayAlias(AccessPath ap1,
AccessPath ap2)
Gets whether the two given access path may alias
|
boolean |
requiresAnalysisOnReturn()
Gets whether this algorithm requires the analysis to be triggered again
when returning from a callee.
|
computeAliasTaintspublic LazyAliasingStrategy(InfoflowManager manager)
public boolean isInteractive()
IAliasingStrategypublic boolean mayAlias(AccessPath ap1, AccessPath ap2)
IAliasingStrategyap1 - The first access pathap2 - The second access pathpublic void injectCallingContext(Abstraction abs, IInfoflowSolver fSolver, soot.SootMethod callee, soot.Unit callSite, Abstraction source, Abstraction d1)
IAliasingStrategyabs - The abstraction on the callee's start unitfSolver - The forward solver propagating the taintscallee - The calleecallSite - The call sitesource - The abstraction at the call sited1 - The abstraction at the caller method's entry pointpublic boolean isFlowSensitive()
IAliasingStrategypublic boolean requiresAnalysisOnReturn()
IAliasingStrategypublic boolean hasProcessedMethod(soot.SootMethod method)
IAliasingStrategyhasProcessedMethod in interface IAliasingStrategyhasProcessedMethod in class AbstractAliasStrategymethod - The method to checkpublic boolean isLazyAnalysis()
IAliasingStrategypublic IInfoflowSolver getSolver()
IAliasingStrategypublic void cleanup()
IAliasingStrategyCopyright © 2021 Fraunhofer SIT. All rights reserved.