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(Singletons.Global g)
v
public static JavaLangRuntimeNative 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_Runtime_execInternal
public static 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;