public class

CFGFormatter

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.cfg.CFGFormatter<InsnType extends com.pnfsoftware.jeb.core.units.code.IInstruction>

Summary

Public Constructors
CFGFormatter(CFG<InsnType> cfg)
Public Methods
String format(boolean formatAddresses, int formatChains, boolean formatInOut, IFormattingContextFactory<InsnType> fcf)
Format the CFG into a printable string, with optional data chains.
String formatSimple()
String formatWithSimpleChains()
CFG<InsnType> getCfg()
Protected Methods
String extraInstructionDetails(long address, InsnType insn)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CFGFormatter (CFG<InsnType> cfg)

Public Methods

public String format (boolean formatAddresses, int formatChains, boolean formatInOut, IFormattingContextFactory<InsnType> fcf)

Format the CFG into a printable string, with optional data chains.

Parameters
formatAddresses true to prepend instructions by their address
formatChains 0=no, 1=simple chains, 2=full chains
formatInOut true to format the input(live) and output(reaching) registers
Returns
  • the formatted CFG

public String formatSimple ()

public String formatWithSimpleChains ()

public CFG<InsnType> getCfg ()

Protected Methods

protected String extraInstructionDetails (long address, InsnType insn)