soot.jimple.toolkits.pointer.nativemethods
Class JavaSecurityAccessControllerNative

java.lang.Object
  extended by soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
      extended by soot.jimple.toolkits.pointer.nativemethods.JavaSecurityAccessControllerNative

public class JavaSecurityAccessControllerNative
extends NativeMethodClass


Field Summary
 
Fields inherited from class soot.jimple.toolkits.pointer.nativemethods.NativeMethodClass
helper
 
Constructor Summary
JavaSecurityAccessControllerNative(NativeHelper helper)
           
 
Method Summary
 void java_security_AccessController_doPrivileged(SootMethod method, ReferenceVariable thisVar, ReferenceVariable returnVar, ReferenceVariable[] params)
          java.security.AccessController
 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();
 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.
 
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(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:
simulateMethod in class NativeMethodClass

java_security_AccessController_doPrivileged

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


java_security_AccessController_getStackAccessControlContext

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