TaintedParam

java.lang.Object
  extended by com.ibm.appscan.frameworks.highlevelapi.TaintedParam

public class TaintedParam
extends java.lang.Object

A type used to represented how some method parameter may reference tainted data.

Constructor Detail

public TaintedParam(int paramPos,
                    java.lang.String accessPath)

Creates a new TaintedParam object for a particular parameter position and access path.

Parameters:

  • paramPos - the position of the tainted parameter, numbered starting from 0 (where the this parameter of an instance method is parameter 0)
  • accessPath - access path of fields from the parameter that should be tainted, e.g., "f.g". Use "" to indicate the parameter itself should be tainted.

getParamPos

public int getParamPos()

getAccessPath

public java.lang.String getAccessPath()

hashCode

public int hashCode()

Overrides:

  • hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:

  • equals in class java.lang.Object

toString

public java.lang.String toString()

Overrides:

  • toString in class java.lang.Object