Class 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>>
    An IRFactory that for methods that originate from Shrike.
    • Constructor Detail

      • ShrikeIRFactory

        public ShrikeIRFactory()
    • Method Detail

      • 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 SSA IR for a method in a particular context
        Specified by:
        makeIR in interface IRFactory<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 interface IRFactory<IBytecodeMethod<com.ibm.wala.shrike.shrikeBT.IInstruction>>