Package soot.jimple.infoflow.rifl
Class RIFLDocument.JavaParameterSpec
java.lang.Object
soot.jimple.infoflow.rifl.RIFLDocument.SourceSinkSpec
soot.jimple.infoflow.rifl.RIFLDocument.JavaSourceSinkSpec
soot.jimple.infoflow.rifl.RIFLDocument.JavaMethodSourceSinkSpec
soot.jimple.infoflow.rifl.RIFLDocument.JavaParameterSpec
- Enclosing class:
- RIFLDocument
Class that models a method parameter in Java specified as a source or
sink in RIFL
-
Field Summary
Fields inherited from class soot.jimple.infoflow.rifl.RIFLDocument.SourceSinkSpec
type -
Constructor Summary
ConstructorsConstructorDescriptionJavaParameterSpec(RIFLDocument.SourceSinkType type, String className, String halfSignature, int paramIdx) Creates a new instance of theRIFLDocument.JavaParameterSpecclass -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGets the index of the parameter to be defined as a source or sink. 0 refers to the return value, so the list is 1-based.inthashCode()Methods inherited from class soot.jimple.infoflow.rifl.RIFLDocument.JavaMethodSourceSinkSpec
getHalfSignatureMethods inherited from class soot.jimple.infoflow.rifl.RIFLDocument.JavaSourceSinkSpec
getClassNameMethods inherited from class soot.jimple.infoflow.rifl.RIFLDocument.SourceSinkSpec
getType
-
Constructor Details
-
JavaParameterSpec
public JavaParameterSpec(RIFLDocument.SourceSinkType type, String className, String halfSignature, int paramIdx) Creates a new instance of theRIFLDocument.JavaParameterSpecclass- Parameters:
type- Specifies whether this element is a source or a sinkclassName- The name of the class containing the parameter to be defined as a source or sink.halfSignature- The method name and the formal parameters with fully-qualified names in brackets. This is like a Soot subsignature, except for the return type which is omitted.paramIdx- The index of the parameter to be defined as a source or sink. 0 refers to the return value, so the list is 1-based.
-
-
Method Details
-
getParamIdx
public int getParamIdx()Gets the index of the parameter to be defined as a source or sink. 0 refers to the return value, so the list is 1-based.- Returns:
- The parameter index of the tainted parameter
-
hashCode
public int hashCode()- Overrides:
hashCodein classRIFLDocument.JavaMethodSourceSinkSpec
-
equals
- Overrides:
equalsin classRIFLDocument.JavaMethodSourceSinkSpec
-