public class JavaLangObjectNative extends NativeMethodClass
helper
Constructor and Description |
---|
JavaLangObjectNative(NativeHelper helper) |
Modifier and Type | Method and Description |
---|---|
void |
java_lang_Object_clone(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Creates and returns a copy of this object.
|
void |
java_lang_Object_getClass(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
The return variable is assigned an abstract object representing
all classes (UnknowClassObject) from environment.
|
void |
simulateMethod(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Implements the abstract method simulateMethod.
|
defaultMethod
public JavaLangObjectNative(NativeHelper helper)
public void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
simulateMethod
in class NativeMethodClass
public void java_lang_Object_getClass(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_Object_clone(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)