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

Method stdcall_calling_convention

python/architecture.py:2039–2052  ·  view source on GitHub ↗

Stdcall calling convention. .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. :getter: returns a CallingConvention object for the stdcall calling convention, if one exists. :setter: sets the stdcall calling convention :type:

(self)

Source from the content-addressed store, hash-verified

2037
2038 @property
2039 def stdcall_calling_convention(self):
2040 """
2041 Stdcall calling convention.
2042
2043 .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`.
2044
2045 :getter: returns a CallingConvention object for the stdcall calling convention, if one exists.
2046 :setter: sets the stdcall calling convention
2047 :type: Optional['callingconvention.CallingConvention']
2048 """
2049 cc_handle = core.BNGetArchitectureStdcallCallingConvention(self.handle)
2050 if cc_handle is None:
2051 return None
2052 return callingconvention.CallingConvention(handle=cc_handle)
2053
2054 @stdcall_calling_convention.setter
2055 def stdcall_calling_convention(self, cc: 'callingconvention.CallingConvention'):

Callers

nothing calls this directly

Calls 1

CallingConventionMethod · 0.80

Tested by

no test coverage detected