Class RedirectionSource

    • Constructor Detail

      • RedirectionSource

        public RedirectionSource()
    • Method Detail

      • getInjectableParameters

        public InjectionPoint getInjectableParameters​(org.apache.bcel.generic.InvokeInstruction ins,
                                                      org.apache.bcel.generic.ConstantPoolGen cpg,
                                                      org.apache.bcel.generic.InstructionHandle insHandle)
        Description copied from interface: InjectionSource
        The implementation should identify method that are susceptible to injection and return parameters index that can injected.
        Specified by:
        getInjectableParameters in interface InjectionSource
        Parameters:
        ins - Instruction visit
        cpg - ConstantPool (needed to find the class name and method name associate to instruction)
        insHandle - instruction handle (needed to look at the instruction around the current instruction)
        Returns:
        Precision about the parameter at risk for the current instruction visit. (InjectionPoint.NONE when the method is safe)