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

Method cdecl_calling_convention

python/architecture.py:2019–2032  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

2017
2018 @property
2019 def cdecl_calling_convention(self):
2020 """
2021 Cdecl calling convention.
2022
2023 .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`.
2024
2025 :getter: returns a CallingConvention object for the cdecl calling convention, if one exists.
2026 :setter: sets the cdecl calling convention
2027 :type: Optional['callingconvention.CallingConvention']
2028 """
2029 cc_handle = core.BNGetArchitectureCdeclCallingConvention(self.handle)
2030 if cc_handle is None:
2031 return None
2032 return callingconvention.CallingConvention(handle=cc_handle)
2033
2034 @cdecl_calling_convention.setter
2035 def cdecl_calling_convention(self, cc: 'callingconvention.CallingConvention'):

Callers

nothing calls this directly

Calls 1

CallingConventionMethod · 0.80

Tested by

no test coverage detected