soot.jimple.toolkits.pointer.nativemethods
Class JavaSecurityAccessControllerNative

java.lang.Object
  |
  +--soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
        |
        +--soot.jimple.toolkits.pointer.nativemethods.JavaSecurityAccessControllerNative

public class JavaSecurityAccessControllerNative
extends NativeMethodClass


Constructor Summary
JavaSecurityAccessControllerNative(Singletons.Global g)
           
 
Method Summary
static void java_security_AccessController_doPrivileged(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          java.security.AccessController
static void java_security_AccessController_getInheritedAccessControlContext(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          NOTE: not documented and not called by anyone static native java.security.AccessControlContext getInheritedAccessControlContext();
static void java_security_AccessController_getStackAccessControlContext(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          Creates an access control context object.
 void simulateMethod(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          Implements the abstract method simulateMethod.
static JavaSecurityAccessControllerNative v()
           
 
Methods inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
defaultMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSecurityAccessControllerNative

public JavaSecurityAccessControllerNative(Singletons.Global g)
Method Detail

v

public static JavaSecurityAccessControllerNative v()

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.
Overrides:
simulateMethod in class NativeMethodClass

java_security_AccessController_doPrivileged

public static void java_security_AccessController_doPrivileged(SootMethod method,
                                                               ReferenceVariable thisVar,
                                                               ReferenceVariable returnVar,
                                                               ReferenceVariable[] params)
java.security.AccessController

java_security_AccessController_getStackAccessControlContext

public static void java_security_AccessController_getStackAccessControlContext(SootMethod method,
                                                                               ReferenceVariable thisVar,
                                                                               ReferenceVariable returnVar,
                                                                               ReferenceVariable[] params)
Creates an access control context object. private static native java.security.AccessControlContext getStackAccessControlContext();

java_security_AccessController_getInheritedAccessControlContext

public static void java_security_AccessController_getInheritedAccessControlContext(SootMethod method,
                                                                                   ReferenceVariable thisVar,
                                                                                   ReferenceVariable returnVar,
                                                                                   ReferenceVariable[] params)
NOTE: not documented and not called by anyone static native java.security.AccessControlContext getInheritedAccessControlContext();