Class JavaLangSecurityManagerNative
- java.lang.Object
-
- soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
-
- soot.jimple.toolkits.pointer.nativemethods.JavaLangSecurityManagerNative
-
public class JavaLangSecurityManagerNative extends NativeMethodClass
-
-
Field Summary
-
Fields inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
helper
-
-
Constructor Summary
Constructors Constructor Description JavaLangSecurityManagerNative(NativeHelper helper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidjava_lang_SecurityManager_currentClassLoader0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)Returns the class loader of the most recently executing method from a class defined using a non-system class loader.voidjava_lang_SecurityManager_currentLoadedClass0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)Returns a variable pointing to all class objects.voidjava_lang_SecurityManager_getClassContext(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)Returns the current execution stack as an array of classes.voidsimulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)Implements the abstract method simulateMethod.-
Methods inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
defaultMethod
-
-
-
-
Constructor Detail
-
JavaLangSecurityManagerNative
public JavaLangSecurityManagerNative(NativeHelper helper)
-
-
Method Detail
-
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:
simulateMethodin classNativeMethodClass
-
java_lang_SecurityManager_getClassContext
public void java_lang_SecurityManager_getClassContext(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
Returns the current execution stack as an array of classes. NOTE: an array of object may be created. protected native java.lang.Class getClassContext()[];
-
java_lang_SecurityManager_currentClassLoader0
public void java_lang_SecurityManager_currentClassLoader0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
Returns the class loader of the most recently executing method from a class defined using a non-system class loader. A non-system class loader is defined as being a class loader that is not equal to the system class loader (as returned by ClassLoader.getSystemClassLoader()) or one of its ancestors. NOTE: returns a variable pointing to the only class loader object. private native java.lang.ClassLoader currentClassLoader0();
-
java_lang_SecurityManager_currentLoadedClass0
public void java_lang_SecurityManager_currentLoadedClass0(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
Returns a variable pointing to all class objects. private native java.lang.Class currentLoadedClass0();
-
-