public class DataflowCFGPrinter<Fact,AnalysisType extends DataflowAnalysis<Fact>> extends CFGPrinter
| Constructor and Description |
|---|
DataflowCFGPrinter(Dataflow<Fact,AnalysisType> dataflow)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
blockAnnotate(BasicBlock bb) |
String |
blockStartAnnotate(BasicBlock bb) |
String |
edgeAnnotate(Edge edge) |
String |
instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle,
BasicBlock bb) |
static <Fact,AnalysisType extends BasicAbstractDataflowAnalysis<Fact>> |
printCFG(Dataflow<Fact,AnalysisType> dataflow,
PrintStream out)
Print CFG annotated with results from given dataflow analysis.
|
instructionIterator, isForwards, print, setIsForwardspublic DataflowCFGPrinter(Dataflow<Fact,AnalysisType> dataflow)
dataflow - the Dataflow object whose values should be used to annotate
the printed CFGpublic String edgeAnnotate(Edge edge)
edgeAnnotate in class CFGPrinterpublic String blockStartAnnotate(BasicBlock bb)
blockStartAnnotate in class CFGPrinterpublic String blockAnnotate(BasicBlock bb)
blockAnnotate in class CFGPrinterpublic String instructionAnnotate(org.apache.bcel.generic.InstructionHandle handle, BasicBlock bb)
instructionAnnotate in class CFGPrinterpublic static <Fact,AnalysisType extends BasicAbstractDataflowAnalysis<Fact>> void printCFG(Dataflow<Fact,AnalysisType> dataflow, PrintStream out)
Fact - Dataflow fact typeAnalysisType - Dataflow analysis typedataflow - dataflow driverout - PrintStream to useCopyright © 2003–2015. All rights reserved.