java.lang.Object | ||
↳ | com.pnfsoftware.jeb.core.units.code.asm.cfg.CFGFormatter<InsnType extends com.pnfsoftware.jeb.core.units.code.IInstruction> | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.ECFGFormatter |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ECFGFormatter(CFG<IEStatement> cfg) | |||||||||||
ECFGFormatter(CFG<IEStatement> cfg, IVariableProvider varprv, boolean formatFineGrained) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
format(boolean formatAddresses, boolean formatChains, boolean formatInOut, IDFA<IEStatement> dfa, IFormattingContextFactory<IEStatement> fcf)
Format the CFG into a printable string, with optional data chains.
| ||||||||||
void | setContext(IERoutineContext ectx) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
genAddress(StringBuilder sb, long address, IEStatement insn)
The default implementation generates
ADDRESS/SIZE . | ||||||||||
void |
genEOL(StringBuilder sb, long address, IEStatement insn)
The default implementation appends a New Line (
\n ) character. | ||||||||||
void |
genPostAddress(StringBuilder sb, long address, IEStatement insn)
The default implementation appends 2 spaces.
| ||||||||||
void |
genPostInstruction(StringBuilder sb, long address, IEStatement insn)
The default implementation appends spaces to pad the current line to 120 characters (or
more).
| ||||||||||
void |
genPreAddress(StringBuilder sb, long address, IEStatement insn)
The default implementation does nothing.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Format the CFG into a printable string, with optional data chains.
formatAddresses | true to prepend instructions by their address |
---|---|
formatChains | true to format data chains |
formatInOut | true to format the input and output chains |
dfa | DFA object |
fcf | optional context generator for instructions |
The default implementation generates ADDRESS/SIZE
.
The default implementation appends a New Line (\n
) character.
The default implementation appends 2 spaces.
The default implementation appends spaces to pad the current line to 120 characters (or more).
The default implementation does nothing.