public static class

CFGUtil.DotFileGenerator

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.CFGUtil.DotFileGenerator

Class Overview

GraphViz generator for CFG objects. The edge labels are customizable via protected methods.

Summary

Public Constructors
DotFileGenerator(IControlFlowGraph<?, ?> cfg)
Public Methods
String generate()
void setBlockHeaders(Map<Long, String> blockHeaders)
void setGenerateBlockIndices(int nodeIndexingStartValue)
void setLineLimit(int lineLimit)
void setTitle(String title)
Protected Methods
String generateEdgeLabel(IBasicBlock<? extends IInstruction> src, int outEdgeIndex)
String generateIrregularEdgeLabel(IBasicBlock<? extends IInstruction> src, int outEdgeIndex)
String generateNodeBackgroundColor(IBasicBlock<? extends IInstruction> blk)
String generateNodeTextColor(IBasicBlock<? extends IInstruction> blk)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DotFileGenerator (IControlFlowGraph<?, ?> cfg)

Public Methods

public String generate ()

public void setBlockHeaders (Map<Long, String> blockHeaders)

public void setGenerateBlockIndices (int nodeIndexingStartValue)

public void setLineLimit (int lineLimit)

public void setTitle (String title)

Protected Methods

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)