class DoPrivilegedMethodAnalysis extends TACAIBasedAPIBasedAnalysis with TypeConsumerAnalysis
Models the behavior for java.security.AccessController.doPrivileged*
.
On each call of the concrete doPrivilegedMethod method it will call the declaredRunMethod upon its first parameter and returns the result of this call.
For each such call, the analysis will add an indirect call to the call graph.
TODO: The current implementation won't work if the JDK is not included. In order to perform the analysis even if the method is a org.opalj.br.VirtualDeclaredMethod, the org.opalj.br.analyses.VirtualFormalParameters must also be present for those methods.
- Alphabetic
- By Inheritance
- DoPrivilegedMethodAnalysis
- TypeConsumerAnalysis
- TACAIBasedAPIBasedAnalysis
- APIBasedAnalysis
- ContextualAnalysis
- FPCFAnalysis
- ProjectBasedAnalysis
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ContextType = TypeIterator.ContextType
- Definition Classes
- TypeConsumerAnalysis
- type PropertyType = TypeIterator.PropertyType
- Definition Classes
- TypeConsumerAnalysis
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val apiMethod: DeclaredMethod
- Definition Classes
- DoPrivilegedMethodAnalysis → APIBasedAnalysis
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def c(state: CGState[ContextType], thisVar: V, thisActual: Some[(ValueInformation, IntTrieSet)])(eps: SomeEPS): ProperPropertyComputationResult
- final def ch: ClassHierarchy
- Definition Classes
- ProjectBasedAnalysis
- implicit final def classHierarchy: ClassHierarchy
- Definition Classes
- ProjectBasedAnalysis
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- implicit val declaredMethods: DeclaredMethods
- Definition Classes
- APIBasedAnalysis
- final val declaredRunMethod: DeclaredMethod
- final val doPrivilegedMethod: DeclaredMethod
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def handleNewCaller(calleeContext: ContextType, callerContext: ContextType, pc: Int, isDirect: Boolean): ProperPropertyComputationResult
- Definition Classes
- TACAIBasedAPIBasedAnalysis → APIBasedAnalysis
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit final def logContext: LogContext
- Definition Classes
- ProjectBasedAnalysis
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- implicit final def p: SomeProject
- Definition Classes
- ProjectBasedAnalysis
- def processNewCaller(calleeContext: ContextType, callerContext: ContextType, callPC: Int, tac: TACode[TACMethodParameter, V], receiverOption: Option[Expr[V]], params: Seq[Option[Expr[V]]], targetVarOption: Option[V], isDirect: Boolean): ProperPropertyComputationResult
- Definition Classes
- DoPrivilegedMethodAnalysis → TACAIBasedAPIBasedAnalysis
- val project: SomeProject
- Definition Classes
- DoPrivilegedMethodAnalysis → ProjectBasedAnalysis
- implicit final val propertyStore: PropertyStore
- Definition Classes
- FPCFAnalysis
- final def ps: PropertyStore
- Definition Classes
- FPCFAnalysis
- final def registerAPIMethod(): ProperPropertyComputationResult
- Definition Classes
- APIBasedAnalysis
- def returnResult(thisVar: V, thisActual: Some[(ValueInformation, IntTrieSet)], calls: IndirectCalls)(implicit state: CGState[ContextType]): ProperPropertyComputationResult
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val typeIterator: TypeIterator
- Definition Classes
- TypeConsumerAnalysis
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated