Package com.ibm.wala.classLoader
Class ShrikeIRFactory
- java.lang.Object
-
- com.ibm.wala.classLoader.ShrikeIRFactory
-
- All Implemented Interfaces:
IRFactory<IBytecodeMethod>
public class ShrikeIRFactory extends Object implements IRFactory<IBytecodeMethod>
AnIRFactory
that for methods that originate from Shrike.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
buildLocalMap
-
Constructor Summary
Constructors Constructor Description ShrikeIRFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contextIsIrrelevant(IBytecodeMethod method)
Does this factory always return the same IR for a method, regardless of context?ControlFlowGraph
makeCFG(IBytecodeMethod method, Context C)
IR
makeIR(IBytecodeMethod method, Context C, SSAOptions options)
Build an SSAIR
for a method in a particular context
-
-
-
Field Detail
-
buildLocalMap
public static final boolean buildLocalMap
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeCFG
public ControlFlowGraph makeCFG(IBytecodeMethod method, Context C)
-
makeIR
public IR makeIR(IBytecodeMethod 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<IBytecodeMethod>
- Throws:
IllegalArgumentException
-
contextIsIrrelevant
public boolean contextIsIrrelevant(IBytecodeMethod method)
Description copied from interface:IRFactory
Does this factory always return the same IR for a method, regardless of context?- Specified by:
contextIsIrrelevant
in interfaceIRFactory<IBytecodeMethod>
-
-