Package com.ibm.wala.ssa
Class DefaultIRFactory
- java.lang.Object
-
- com.ibm.wala.ssa.DefaultIRFactory
-
- Direct Known Subclasses:
AstIRFactory.AstDefaultIRFactory
,DexIRFactory
public class DefaultIRFactory extends Object implements IRFactory<IMethod>
-
-
Constructor Summary
Constructors Constructor Description DefaultIRFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contextIsIrrelevant(IMethod method)
ControlFlowGraph
makeCFG(IMethod method, Context c)
IR
makeIR(IMethod method, Context c, SSAOptions options)
Build an SSAIR
for a method in a particular context
-
-
-
Method Detail
-
makeCFG
public ControlFlowGraph makeCFG(IMethod method, Context c) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
makeIR
public IR makeIR(IMethod method, Context c, SSAOptions options) throws IllegalArgumentException
Description copied from interface:IRFactory
Build an SSAIR
for a method in a particular context- Specified by:
makeIR
in interfaceIRFactory<IMethod>
- Throws:
IllegalArgumentException
-
contextIsIrrelevant
public boolean contextIsIrrelevant(IMethod method)
- Specified by:
contextIsIrrelevant
in interfaceIRFactory<IMethod>
-
-