soot.jimple.toolkits.pointer.nativemethods
Class JavaLangRuntimeNative
java.lang.Object
soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
soot.jimple.toolkits.pointer.nativemethods.JavaLangRuntimeNative
public class JavaLangRuntimeNative
- extends NativeMethodClass
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaLangRuntimeNative
public JavaLangRuntimeNative(NativeHelper helper)
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_lang_Runtime_execInternal
public void java_lang_Runtime_execInternal(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
- execInternal is called by all exec method.
It return a Process object.
NOTE: creates a Process object.
private native
java.lang.Process execInternal(java.lang.String[],
java.lang.String[],
java.lang.String)
throws java.io.IOException;