Class AbstractNativeCallHandler
java.lang.Object
soot.jimple.infoflow.nativeCallHandler.AbstractNativeCallHandler
- All Implemented Interfaces:
INativeCallHandler
- Direct Known Subclasses:
BackwardNativeCallHandler,DefaultNativeCallHandler
Abstract base class for all native call handlers
- Author:
- Steven Arzt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InfoflowManagerData flow manager that gives access to internal solver objects -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(InfoflowManager manager) 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.voidshutdown()Tells the native call handler that it can free all resources it has allocated at initialization timeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface soot.jimple.infoflow.nativeCallHandler.INativeCallHandler
getTaintedValues, supportsCall
-
Field Details
-
manager
Data flow manager that gives access to internal solver objects
-
-
Constructor Details
-
AbstractNativeCallHandler
public AbstractNativeCallHandler()
-
-
Method Details
-
initialize
Description copied from interface:INativeCallHandlerThis 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:
initializein interfaceINativeCallHandler- 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:INativeCallHandlerTells the native call handler that it can free all resources it has allocated at initialization time- Specified by:
shutdownin interfaceINativeCallHandler
-