dk.brics.string
Class MethodNameTaintAnalysisStrategy

java.lang.Object
  extended by dk.brics.string.MethodNameTaintAnalysisStrategy
All Implemented Interfaces:
TaintAnalysisStrategy

public class MethodNameTaintAnalysisStrategy
extends Object
implements TaintAnalysisStrategy

A taint analysis strategy that decides whether a result is taint based on the method called.


Constructor Summary
MethodNameTaintAnalysisStrategy(List<String> taintMethods)
           
 
Method Summary
 boolean isTaint(InvokeExpr s)
          Returns true if the given invoke statement is taint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodNameTaintAnalysisStrategy

public MethodNameTaintAnalysisStrategy(List<String> taintMethods)
Method Detail

isTaint

public boolean isTaint(InvokeExpr s)
Description copied from interface: TaintAnalysisStrategy
Returns true if the given invoke statement is taint

Specified by:
isTaint in interface TaintAnalysisStrategy


Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.