Class BackwardDataflowAnalysis<Fact>
java.lang.Object
edu.umd.cs.findbugs.ba.BasicAbstractDataflowAnalysis<Fact>
edu.umd.cs.findbugs.ba.AbstractDataflowAnalysis<Fact>
edu.umd.cs.findbugs.ba.BackwardDataflowAnalysis<Fact>
- All Implemented Interfaces:
DataflowAnalysis<Fact>
- Direct Known Subclasses:
LiveLocalStoreAnalysis, UnconditionalValueDerefAnalysis
Abstract base class for backward dataflow analyses. Provides convenient
implementations for isForwards() and getBlockOrder() methods.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DepthFirstSearchprivate final ReverseDepthFirstSearch -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptiongetBlockOrder(CFG cfg) Return the BlockOrder specifying the order in which BasicBlocks should be visited in the main dataflow loop.protected ReverseDepthFirstSearchbooleanReturns true if the analysis is forwards, false if backwards.Methods inherited from class AbstractDataflowAnalysis
getFactAfterLocation, getFactAtLocation, isFactValid, transfer, transferInstructionMethods inherited from class BasicAbstractDataflowAnalysis
edgeTransfer, factToString, finishIteration, getFactOnEdge, getLastUpdateTimestamp, getResultFact, getStartFact, resultFactIterator, setLastUpdateTimestamp, startIterationMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataflowAnalysis
copy, createFact, initEntryFact, isTop, makeFactTop, meetInto, same
-
Field Details
-
rdfs
-
dfs
-
-
Constructor Details
-
BackwardDataflowAnalysis
-
-
Method Details
-
getReverseDepthFirstSearch
-
isForwards
public boolean isForwards()Description copied from interface:DataflowAnalysisReturns true if the analysis is forwards, false if backwards. -
getBlockOrder
Description copied from interface:DataflowAnalysisReturn the BlockOrder specifying the order in which BasicBlocks should be visited in the main dataflow loop.- Parameters:
cfg- the CFG upon which we're performing dataflow analysis
-