Package soot.toolkits.scalar
Class ForwardFlowAnalysis<N,A>
- java.lang.Object
-
- soot.toolkits.scalar.AbstractFlowAnalysis<N,A>
-
- soot.toolkits.scalar.FlowAnalysis<N,A>
-
- soot.toolkits.scalar.ForwardFlowAnalysis<N,A>
-
- Direct Known Subclasses:
ClinitElimAnalysis,ConstantArrayAnalysis,DelayabilityAnalysis,DominatorAnalysis,EqualLocalsAnalysis,EqualUsesAnalysis,FastAvailableExpressionsAnalysis,FlowSensitiveConstantPropagator.BetterConstantPropagator,InitAnalysis,LocalMayAliasAnalysis,LocalMustAliasAnalysis,LocalMustNotAliasAnalysis,MonitorAnalysis,MultiRunStatementsFinder,ParityAnalysis,PurityIntraproceduralAnalysis,SimpleLocalDefs.FlowAssignment,SimpleMethodInfoFlowAnalysis,SlowAvailableExpressionsAnalysis,StartJoinAnalysis,SynchronizedRegionFinder,UpSafetyAnalysis
public abstract class ForwardFlowAnalysis<N,A> extends FlowAnalysis<N,A>
Abstract class that provides the fixed point iteration functionality required by all ForwardFlowAnalyses.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class soot.toolkits.scalar.FlowAnalysis
FlowAnalysis.Flow
-
-
Field Summary
-
Fields inherited from class soot.toolkits.scalar.FlowAnalysis
filterUnitToAfterFlow, unitToAfterFlow
-
Fields inherited from class soot.toolkits.scalar.AbstractFlowAnalysis
filterUnitToBeforeFlow, graph, unitToBeforeFlow
-
-
Constructor Summary
Constructors Constructor Description ForwardFlowAnalysis(DirectedGraph<N> graph)Construct the analysis from a DirectedGraph representation of a Body.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoAnalysis()Carries out the actual flow analysis.protected booleanisForward()Returns true if this analysis is forwards.-
Methods inherited from class soot.toolkits.scalar.FlowAnalysis
copyFreshToExisting, flowThrough, getFlow, getFlowAfter, getFlowBefore, omissible
-
Methods inherited from class soot.toolkits.scalar.AbstractFlowAnalysis
copy, entryInitialFlow, merge, merge, mergeInto, newInitialFlow, treatTrapHandlersAsEntries
-
-
-
-
Constructor Detail
-
ForwardFlowAnalysis
public ForwardFlowAnalysis(DirectedGraph<N> graph)
Construct the analysis from a DirectedGraph representation of a Body.
-
-
Method Detail
-
isForward
protected boolean isForward()
Description copied from class:AbstractFlowAnalysisReturns true if this analysis is forwards.- Specified by:
isForwardin classAbstractFlowAnalysis<N,A>
-
doAnalysis
protected void doAnalysis()
Description copied from class:AbstractFlowAnalysisCarries out the actual flow analysis. Typically called from a concrete FlowAnalysis's constructor.- Specified by:
doAnalysisin classAbstractFlowAnalysis<N,A>
-
-