Class AbstractNativeCallHandler

java.lang.Object
soot.jimple.infoflow.nativeCallHandler.AbstractNativeCallHandler
All Implemented Interfaces:
INativeCallHandler
Direct Known Subclasses:
BackwardNativeCallHandler, DefaultNativeCallHandler

public abstract class AbstractNativeCallHandler extends Object implements INativeCallHandler
Abstract base class for all native call handlers
Author:
Steven Arzt
  • Field Details

    • manager

      protected InfoflowManager manager
      Data flow manager that gives access to internal solver objects
  • Constructor Details

    • AbstractNativeCallHandler

      public AbstractNativeCallHandler()
  • Method Details

    • initialize

      public void initialize(InfoflowManager manager)
      Description copied from interface: INativeCallHandler
      This method is called before the taint propagation is started to give the native call handler the chance to initialize required components once Soot is running, but before it is queried for the first time. Note that this method is guaranteed to be called only once and only by a single thread.
      Specified by:
      initialize in interface INativeCallHandler
      Parameters:
      manager - The manager object providing access to the data flow solver processing the IFDS edges and the interprocedural control flow graph
    • shutdown

      public void shutdown()
      Description copied from interface: INativeCallHandler
      Tells the native call handler that it can free all resources it has allocated at initialization time
      Specified by:
      shutdown in interface INativeCallHandler