ICallResolver

io.shiftleft.semanticcpg.language.ICallResolver

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NoResolve.type

Members list

Concise view

Value members

Abstract methods

def getResolvedCalledMethods(callsite: CallRepr): Iterable[Method]

Retrieve results of triggerCallsiteResolution.

Retrieve results of triggerCallsiteResolution.

Attributes

def getResolvedMethodCallsites(method: Method): Iterable[CallRepr]

Retrieve results of triggerMethodResolution.

Retrieve results of triggerMethodResolution.

Attributes

def getUnresolvedMethodFullNamesInternal(callsite: CallRepr): Iterable[String]
def triggerCallsiteResolution(callsite: CallRepr): Unit

Starts data flow tracking to find all method which could be called at the given callsite. The result is stored in the resolver internal cache.

Starts data flow tracking to find all method which could be called at the given callsite. The result is stored in the resolver internal cache.

Attributes

def triggerMethodCallsiteResolution(method: Method): Unit

Starts data flow tracking to find all callsites which could call the given method. The result is stored in the resolver internal cache.

Starts data flow tracking to find all callsites which could call the given method. The result is stored in the resolver internal cache.

Attributes

Concrete methods

def getCalledMethods(callsite: CallRepr): Iterable[Method]

Get methods called at the given callsite. This internally calls triggerCallsiteResolution.

Get methods called at the given callsite. This internally calls triggerCallsiteResolution.

Attributes

def getCalledMethodsAsTraversal(callsite: CallRepr): Traversal[Method]

Same as getCalledMethods but with traversal return type.

Same as getCalledMethods but with traversal return type.

Attributes

def getMethodCallsites(method: Method): Iterable[CallRepr]

Get callsites of the given method. This internally calls triggerMethodResolution.

Get callsites of the given method. This internally calls triggerMethodResolution.

Attributes

def getMethodCallsitesAsTraversal(method: Method): Traversal[CallRepr]

Same as getMethodCallsites but with traversal return type.

Same as getMethodCallsites but with traversal return type.

Attributes

def getUnresolvedMethodFullNames(callsite: CallRepr): Iterable[String]