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 booleancontextIsIrrelevant(IMethod method)ControlFlowGraphmakeCFG(IMethod method, Context c)IRmakeIR(IMethod method, Context c, SSAOptions options)Build an SSAIRfor 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:IRFactoryBuild an SSAIRfor a method in a particular context- Specified by:
makeIRin interfaceIRFactory<IMethod>- Throws:
IllegalArgumentException
-
contextIsIrrelevant
public boolean contextIsIrrelevant(IMethod method)
- Specified by:
contextIsIrrelevantin interfaceIRFactory<IMethod>
-
-