Class DefaultNativeCallHandler
java.lang.Object
soot.jimple.infoflow.nativeCallHandler.AbstractNativeCallHandler
soot.jimple.infoflow.nativeCallHandler.DefaultNativeCallHandler
- All Implemented Interfaces:
INativeCallHandler
-
Field Summary
Fields inherited from class soot.jimple.infoflow.nativeCallHandler.AbstractNativeCallHandler
manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTaintedValues(soot.jimple.Stmt call, Abstraction source, soot.Value[] params) Returns the set of tainted values for a given call to native code, a given tainted value and the list of passed argumentsbooleansupportsCall(soot.jimple.Stmt call) Checks whether this handler is able to handle the given call, i.e., has an explicit model for itMethods inherited from class soot.jimple.infoflow.nativeCallHandler.AbstractNativeCallHandler
initialize, shutdown
-
Constructor Details
-
DefaultNativeCallHandler
public DefaultNativeCallHandler()
-
-
Method Details
-
getTaintedValues
public Set<Abstraction> getTaintedValues(soot.jimple.Stmt call, Abstraction source, soot.Value[] params) Description copied from interface:INativeCallHandlerReturns the set of tainted values for a given call to native code, a given tainted value and the list of passed arguments- Parameters:
call- the statement which contains the call to the native codesource- the incoming taint valueparams- list of arguments- Returns:
- the resulting set of taints
-
supportsCall
public boolean supportsCall(soot.jimple.Stmt call) Description copied from interface:INativeCallHandlerChecks whether this handler is able to handle the given call, i.e., has an explicit model for it- Parameters:
call- The call site to check- Returns:
- True if this native call handler has an explicit model for the given call site, otherwise false
-