MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / callers

Method callers

python/function.py:3106–3118  ·  view source on GitHub ↗

``callers`` returns a list of functions that call this function Does not point to the actual address where the call occurs, just the start of the function that contains the call. :return: List of Functions that call this function :rtype: list(Function)

(self)

Source from the content-addressed store, hash-verified

3104
3105 @property
3106 def callers(self) -> List['Function']:
3107 """
3108 ``callers`` returns a list of functions that call this function
3109 Does not point to the actual address where the call occurs, just the start of the function that contains the call.
3110
3111 :return: List of Functions that call this function
3112 :rtype: list(Function)
3113 """
3114 functions = []
3115 for ref in self.view.get_code_refs(self.start):
3116 if ref.function is not None:
3117 functions.append(ref.function)
3118 return functions
3119
3120 @property
3121 def caller_sites(self) -> Generator['binaryview.ReferenceSource', None, None]:

Callers

nothing calls this directly

Calls 2

get_code_refsMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected