Package com.ibm.wala.classLoader
Class ShrikeIRFactory
- java.lang.Object
-
- com.ibm.wala.classLoader.ShrikeIRFactory
-
- All Implemented Interfaces:
IRFactory<IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction>>
public class ShrikeIRFactory extends java.lang.Object implements IRFactory<IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction>>
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<com.ibm.wala.shrike.shrikeBT.IInstruction> method)
Does this factory always return the same IR for a method, regardless of context?ShrikeCFG
makeCFG(IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction> method)
IR
makeIR(IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction> 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 ShrikeCFG makeCFG(IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction> method)
-
makeIR
public IR makeIR(IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction> method, Context C, SSAOptions options) throws java.lang.IllegalArgumentException
Description copied from interface:IRFactory
Build an SSAIR
for a method in a particular context- Specified by:
makeIR
in interfaceIRFactory<IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction>>
- Throws:
java.lang.IllegalArgumentException
-
contextIsIrrelevant
public boolean contextIsIrrelevant(IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction> 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<com.ibm.wala.shrike.shrikeBT.IInstruction>>
-
-