soot.jimple.toolkits.pointer.nativemethods
Class JavaLangThrowableNative

java.lang.Object
  |
  +--soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
        |
        +--soot.jimple.toolkits.pointer.nativemethods.JavaLangThrowableNative

public class JavaLangThrowableNative
extends NativeMethodClass


Constructor Summary
JavaLangThrowableNative(Singletons.Global g)
           
 
Method Summary
static void java_lang_Throwable_fillInStackTrace(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          NOTE: this method just fills in the stack state in this throwable object content.
 void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          Implements the abstract method simulateMethod.
static JavaLangThrowableNative v()
           
 
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

JavaLangThrowableNative

public JavaLangThrowableNative(Singletons.Global g)
Method Detail

v

public static JavaLangThrowableNative v()

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.
Overrides:
simulateMethod in class NativeMethodClass

java_lang_Throwable_fillInStackTrace

public static void java_lang_Throwable_fillInStackTrace(SootMethod method,
                                                        ReferenceVariable thisVar,
                                                        ReferenceVariable returnVar,
                                                        ReferenceVariable[] params)
NOTE: this method just fills in the stack state in this throwable object content. public native java.lang.Throwable fillInStackTrace();