Class ShrikeIRFactory
java.lang.Object
com.ibm.wala.classLoader.ShrikeIRFactory
- All Implemented Interfaces:
IRFactory<IBytecodeMethod<IInstruction>>
An
IRFactory
that for methods that originate from Shrike.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Does this factory always return the same IR for a method, regardless of context?makeCFG
(IBytecodeMethod<IInstruction> method) makeIR
(IBytecodeMethod<IInstruction> method, Context C, SSAOptions options) Build an SSAIR
for a method in a particular context
-
Field Details
-
buildLocalMap
public static final boolean buildLocalMap- See Also:
-
-
Constructor Details
-
ShrikeIRFactory
public ShrikeIRFactory()
-
-
Method Details
-
makeCFG
-
makeIR
public IR makeIR(IBytecodeMethod<IInstruction> 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<IInstruction>>
- Throws:
IllegalArgumentException
-
contextIsIrrelevant
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<IInstruction>>
-