public class DefaultIRFactory extends Object implements IRFactory<IMethod>
Constructor and Description |
---|
DefaultIRFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
contextIsIrrelevant(IMethod method)
|
ControlFlowGraph |
makeCFG(IMethod method,
Context c) |
IR |
makeIR(IMethod method,
Context c,
SSAOptions options)
Build an SSA
IR for a method in a particular context |
public ControlFlowGraph makeCFG(IMethod method, Context c) throws IllegalArgumentException
IllegalArgumentException
public IR makeIR(IMethod method, Context c, SSAOptions options) throws IllegalArgumentException
IRFactory
IR
for a method in a particular contextmakeIR
in interface IRFactory<IMethod>
IllegalArgumentException
public boolean contextIsIrrelevant(IMethod method)
contextIsIrrelevant
in interface IRFactory<IMethod>