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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSecurityAccessControllerNative
public JavaSecurityAccessControllerNative(NativeHelper helper)
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();