dk.brics.string
Class MethodNameTaintAnalysisStrategy
java.lang.Object
  
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.
 
| 
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 | 
 
MethodNameTaintAnalysisStrategy
public MethodNameTaintAnalysisStrategy(List<String> taintMethods)
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.