Class JavaLangSecurityManagerNative

    • Constructor Detail

      • JavaLangSecurityManagerNative

        public JavaLangSecurityManagerNative​(NativeHelper helper)
    • Method Detail

      • 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();