public class JavaLangReflectFieldNative extends NativeMethodClass
helper
Constructor and Description |
---|
JavaLangReflectFieldNative(NativeHelper helper) |
Modifier and Type | Method and Description |
---|---|
void |
java_lang_reflect_Field_get(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Returns the value of the field represented by this Field, on the
specified object.
|
void |
java_lang_reflect_Field_set(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
NOTE: make all fields pointing to @param1
public native void set(java.lang.Object, java.lang.Object)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException;
|
void |
simulateMethod(SootMethod method,
ReferenceVariable thisVar,
ReferenceVariable returnVar,
ReferenceVariable[] params)
Implements the abstract method simulateMethod.
|
defaultMethod
public JavaLangReflectFieldNative(NativeHelper helper)
public void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
simulateMethod
in class NativeMethodClass
public void java_lang_reflect_Field_set(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
public void java_lang_reflect_Field_get(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)