java.lang.Object |
↳ |
com.pnfsoftware.jeb.core.units.code.DFAUtil |
Class Overview
Utility routines for Data Flow Analysis
objects (see IDFA
and its implementation
DFA4
).
Summary
Public Methods |
static
<T extends Number>
String
|
formatChain(IDFA<?> dfa, Map<Integer, Collection<T>> chain)
Format a data chain as: (regId)={pos0, pos1, ...} ...
|
static
<T extends Number>
String
|
formatVars(IDFA<?> dfa, Collection<Integer> vars, boolean reorder)
|
static
<T extends Number>
String
|
formatVars(IDFA<?> dfa, Collection<Integer> vars)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
static
String
formatChain
(IDFA<?> dfa, Map<Integer, Collection<T>> chain)
Format a data chain as: (regId)={pos0, pos1, ...} ...
. The ids are naturally
ordered. Positions for each id are also naturally ordered. Consequently, performing chain
comparison using string comparison on the rendered chain is a viable solution.
public
static
String
formatVars
(IDFA<?> dfa, Collection<Integer> vars, boolean reorder)
public
static
String
formatVars
(IDFA<?> dfa, Collection<Integer> vars)