Class CFGUtil.DotFileGenerator
java.lang.Object
com.pnfsoftware.jeb.core.units.code.CFGUtil.DotFileGenerator
- Enclosing class:
- CFGUtil
GraphViz generator for CFG objects. The edge labels are customizable via protected methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate()
protected String
generateEdgeLabel
(IBasicBlock<? extends IInstruction> src, int outEdgeIndex) protected String
generateIrregularEdgeLabel
(IBasicBlock<? extends IInstruction> src, int outEdgeIndex) protected String
generateNodeBackgroundColor
(IBasicBlock<? extends IInstruction> blk) protected String
generateNodeTextColor
(IBasicBlock<? extends IInstruction> blk) void
setBlockHeaders
(Map<Long, String> blockHeaders) void
setGenerateBlockIndices
(int nodeIndexingStartValue) void
setLineLimit
(int lineLimit) void
-
Constructor Details
-
DotFileGenerator
-
-
Method Details
-
setTitle
-
setBlockHeaders
-
setLineLimit
public void setLineLimit(int lineLimit) -
setGenerateBlockIndices
public void setGenerateBlockIndices(int nodeIndexingStartValue) -
generate
-
generateEdgeLabel
-
generateIrregularEdgeLabel
protected String generateIrregularEdgeLabel(IBasicBlock<? extends IInstruction> src, int outEdgeIndex) -
generateNodeBackgroundColor
-
generateNodeTextColor
-