soot.jimple.toolkits.pointer.nativemethods
Class JavaIoObjectOutputStreamNative

java.lang.Object
  extended by soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
      extended by soot.jimple.toolkits.pointer.nativemethods.JavaIoObjectOutputStreamNative

public class JavaIoObjectOutputStreamNative
extends NativeMethodClass


Field Summary
 
Fields inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
helper
 
Constructor Summary
JavaIoObjectOutputStreamNative(NativeHelper helper)
           
 
Method Summary
 void java_io_ObjectOutputStream_getObjectFieldValue(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          The object in field is retrieved out by field ID.
 void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          Implements the abstract method simulateMethod.
 
Methods inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
defaultMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaIoObjectOutputStreamNative

public JavaIoObjectOutputStreamNative(NativeHelper helper)
Method Detail

simulateMethod

public void simulateMethod(SootMethod method,
                           ReferenceVariable thisVar,
                           ReferenceVariable returnVar,
                           ReferenceVariable[] params)
Implements the abstract method simulateMethod. It distributes the request to the corresponding methods by signatures.

Specified by:
simulateMethod in class NativeMethodClass

java_io_ObjectOutputStream_getObjectFieldValue

public void java_io_ObjectOutputStream_getObjectFieldValue(SootMethod method,
                                                           ReferenceVariable thisVar,
                                                           ReferenceVariable returnVar,
                                                           ReferenceVariable[] params)
The object in field is retrieved out by field ID. private static native java.lang.Object getObjectFieldValue(java.lang.Object, long);