public class JavaLangSystemNative extends NativeMethodClass
helper
Constructor and Description |
---|
JavaLangSystemNative(NativeHelper helper) |
Modifier and Type | Method and Description |
---|---|
void |
java_lang_System_arraycopy(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination
array.
|
void |
java_lang_System_getCallerClass(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Undocumented, used by class loading.
|
void |
java_lang_System_initProperties(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
NOTE: this method is not documented, it should do following:
|
void |
java_lang_System_mapLibraryName(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
NOTE: it is platform-dependent, create a new string, needs to be verified.
|
void |
java_lang_System_setErr0(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
NOTE: the same explanation as setIn0:
System.err = parameter
private static native void setErr0(java.io.PrintStream);
|
void |
java_lang_System_setIn0(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
NOTE: this native method is not documented in JDK API.
|
void |
java_lang_System_setOut0(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
NOTE: the same explanation as setIn0:
G.v().out = parameter
private static native void setOut0(java.io.PrintStream);
|
void |
simulateMethod(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Implements the abstract method simulateMethod.
|
defaultMethod
public JavaLangSystemNative(NativeHelper helper)
public void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
simulateMethod
in class NativeMethodClass
public void java_lang_System_arraycopy(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_System_setIn0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_System_setOut0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_System_setErr0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_System_initProperties(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_System_mapLibraryName(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_System_getCallerClass(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)