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

Method calling_convention

python/function.py:1377–1382  ·  view source on GitHub ↗

Calling convention used by the function

(self)

Source from the content-addressed store, hash-verified

1375
1376 @property
1377 def calling_convention(self) -> Optional['callingconvention.CallingConvention']:
1378 """Calling convention used by the function"""
1379 result = core.BNGetFunctionCallingConvention(self.handle)
1380 if not result.convention:
1381 return None
1382 return callingconvention.CallingConvention(None, handle=result.convention, confidence=result.confidence)
1383
1384 @calling_convention.setter
1385 def calling_convention(self, value: Optional['callingconvention.CallingConvention']) -> None:

Callers 4

handle_procedure_typeMethod · 0.45
lookup_localsMethod · 0.45
from_bn_type_internalFunction · 0.45

Calls 1

CallingConventionMethod · 0.80

Tested by

no test coverage detected