Class DefaultNativeCallHandler

java.lang.Object
soot.jimple.infoflow.nativeCallHandler.AbstractNativeCallHandler
soot.jimple.infoflow.nativeCallHandler.DefaultNativeCallHandler
All Implemented Interfaces:
INativeCallHandler

public class DefaultNativeCallHandler extends AbstractNativeCallHandler
  • 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: INativeCallHandler
      Returns 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 code
      source - the incoming taint value
      params - list of arguments
      Returns:
      the resulting set of taints
    • supportsCall

      public boolean supportsCall(soot.jimple.Stmt call)
      Description copied from interface: INativeCallHandler
      Checks 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