Interface TaintFrameAdditionalVisitor
-
- All Known Implementing Classes:
AbstractHardcodedPasswordEqualsDetector,HardcodedPasswordEqualsDetector,HashUnsafeEqualsDetector,JstlExpressionWhiteLister,KotlinHardcodedPasswordEqualsDetector,PotentialValueTracker,XmlInjectionDetector
public interface TaintFrameAdditionalVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvisitField(org.apache.bcel.generic.FieldInstruction put, org.apache.bcel.generic.MethodGen methodGen, TaintFrame frameType, Taint taintFrame, int numProduced, org.apache.bcel.generic.ConstantPoolGen cpg)voidvisitInvoke(org.apache.bcel.generic.InvokeInstruction invoke, org.apache.bcel.generic.MethodGen methodGen, TaintFrame frameType, List<Taint> parameters, org.apache.bcel.generic.ConstantPoolGen cpg)This method will be triggered for every method invocation (static, interface, special and virtual).voidvisitLoad(org.apache.bcel.generic.LoadInstruction load, org.apache.bcel.generic.MethodGen methodGen, TaintFrame frameType, int numProduced, org.apache.bcel.generic.ConstantPoolGen cpg)voidvisitReturn(org.apache.bcel.generic.MethodGen methodGen, Taint returnValue, org.apache.bcel.generic.ConstantPoolGen cpg)
-
-
-
Method Detail
-
visitInvoke
void visitInvoke(org.apache.bcel.generic.InvokeInstruction invoke, org.apache.bcel.generic.MethodGen methodGen, TaintFrame frameType, List<Taint> parameters, org.apache.bcel.generic.ConstantPoolGen cpg) throws ExceptionThis method will be triggered for every method invocation (static, interface, special and virtual). The constant pool allowed the resolution of method name, field name, constant strings, etc. The taintframe- Parameters:
invoke-methodGen- MethodframeType- Frame representation after the invoke (results)parameters- Stack representation just before the invokecpg-- Throws:
Exception
-
visitReturn
void visitReturn(org.apache.bcel.generic.MethodGen methodGen, Taint returnValue, org.apache.bcel.generic.ConstantPoolGen cpg) throws Exception- Parameters:
methodGen- MethodreturnValue- State of the returned value.cpg-- Throws:
Exception
-
visitLoad
void visitLoad(org.apache.bcel.generic.LoadInstruction load, org.apache.bcel.generic.MethodGen methodGen, TaintFrame frameType, int numProduced, org.apache.bcel.generic.ConstantPoolGen cpg) throws Exception- Parameters:
load-methodGen-frameType-numProduced-cpg-- Throws:
Exception
-
visitField
void visitField(org.apache.bcel.generic.FieldInstruction put, org.apache.bcel.generic.MethodGen methodGen, TaintFrame frameType, Taint taintFrame, int numProduced, org.apache.bcel.generic.ConstantPoolGen cpg) throws Exception- Parameters:
put-methodGen-frameType-taintFrame-numProduced-cpg-- Throws:
Exception
-
-