class CallGraphAnalysis extends ReachableMethodAnalysis with TypeConsumerAnalysis
Generates call graphs based on the used TypeIterator.
It uses the AI information of the three-address code to get the most precise information for
virtual calls.
handleImpreciseCall
will be invoked for each virtual call, that could not be resolved
precisely.
- Source
- CallGraphAnalysis.scala
- Alphabetic
- By Inheritance
- CallGraphAnalysis
- ReachableMethodAnalysis
- TypeConsumerAnalysis
- FPCFAnalysis
- ProjectBasedAnalysis
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ContextType = TypeIterator.ContextType
- Definition Classes
- TypeConsumerAnalysis
- abstract type LocalTypeInformation
- 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
- final def analyze(declaredMethod: DeclaredMethod): PropertyComputationResult
- Definition Classes
- ReachableMethodAnalysis
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def c(state: CGState[ContextType])(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()
- def continuationForTAC(declaredMethod: DeclaredMethod)(someEPS: SomeEPS): ProperPropertyComputationResult
- Attributes
- protected
- Definition Classes
- ReachableMethodAnalysis
- implicit val declaredMethods: DeclaredMethods
- Attributes
- protected
- Definition Classes
- ReachableMethodAnalysis
- def doHandleVirtualCall(callContext: ContextType, call: Call[V] with VirtualCall[V], pc: Int, specializedDeclaringClassType: ReferenceType, isPrecise: Boolean, calleesAndCallers: DirectCalls)(implicit state: CGState[ContextType]): Unit
- Attributes
- protected[this]
- 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 handleCall(callContext: ContextType, callName: String, callDescriptor: MethodDescriptor, callDeclaringClass: ReferenceType, isStatic: Boolean, receiverType: ReferenceType, pc: Int, target: Result[Method], calleesAndCallers: DirectCalls): Unit
- Attributes
- protected
- def handlePreciseCall(calleeType: ObjectType, callContext: ContextType, call: Call[V] with VirtualCall[V], pc: Int, calleesAndCallers: DirectCalls)(implicit state: CGState[ContextType]): Unit
- Attributes
- protected[this]
- 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
- final def processMethod(state: CGState[ContextType], calls: DirectCalls): ProperPropertyComputationResult
- Attributes
- protected
- final def processMethod(callContext: ContextType, tacEP: EPS[Method, properties.TACAI]): ProperPropertyComputationResult
- Definition Classes
- CallGraphAnalysis → ReachableMethodAnalysis
- def processMethodWithoutBody(eOptP: EOptionP[DeclaredMethod, Callers]): PropertyComputationResult
- Attributes
- protected
- Definition Classes
- ReachableMethodAnalysis
- final val processesMethodsWithoutBody: Boolean(true)
- Definition Classes
- CallGraphAnalysis → ReachableMethodAnalysis
- val project: SomeProject
- Definition Classes
- CallGraphAnalysis → ProjectBasedAnalysis
- implicit final val propertyStore: PropertyStore
- Definition Classes
- FPCFAnalysis
- final def ps: PropertyStore
- Definition Classes
- FPCFAnalysis
- def returnResult(calleesAndCallers: DirectCalls, enforceCalleesResult: Boolean = false)(implicit state: CGState[ContextType]): ProperPropertyComputationResult
- Attributes
- protected[this]
- 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 unknownLibraryCall(callContext: ContextType, callName: String, callDescriptor: MethodDescriptor, callDeclaringClass: ReferenceType, isStatic: Boolean, runtimeReceiverType: ReferenceType, packageName: String, pc: Int, calleesAndCallers: DirectCalls): Unit
- Attributes
- protected
- 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