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

Method calling_conventions

python/architecture.py:552–564  ·  view source on GitHub ↗

Dict of CallingConvention objects (read-only)

(self)

Source from the content-addressed store, hash-verified

550
551 @property
552 def calling_conventions(self) -> Mapping[str, 'callingconvention.CallingConvention']:
553 """Dict of CallingConvention objects (read-only)"""
554 count = ctypes.c_ulonglong()
555 cc = core.BNGetArchitectureCallingConventions(self.handle, count)
556 assert cc is not None, "core.BNGetArchitectureCallingConventions returned None"
557 result = {}
558 try:
559 for i in range(0, count.value):
560 obj = callingconvention.CallingConvention(handle=core.BNNewCallingConventionReference(cc[i]))
561 result[obj.name] = obj
562 finally:
563 core.BNFreeCallingConventionList(cc, count.value)
564 return result
565
566 @property
567 def standalone_platform(self) -> 'platform.Platform':

Callers

nothing calls this directly

Calls 1

CallingConventionMethod · 0.80

Tested by

no test coverage detected